Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Viewing an HTML file inside a table cell!! 1

Status
Not open for further replies.

MrProgrammer

Programmer
Joined
Feb 1, 2002
Messages
41
Location
TR
Hi everyone,
I want to learn something. I'm preparing the main page of my site with ASP. There is a vertical menu at left side of the page written in javascript. There is a 3-level menu tree. That means there are two at most sub menus of any main item at the main menu. When we click an item, I want the correcponding html file opened in the same window. But the menu must remain there. The html file must be shown in just right side of the menu. I'm thinking such a thing : At the clik events of each menu item I put links like "?menu=somestring". and below I tried to use

<%if Request.QueryString(&quot;menu&quot;)=&quot;somestring&quot; then%>
<!--#INCLUDE VIRTUAL=&quot;somelink&quot;-->
<%end if%>

but it did't work. I thougt about using frames (putting the menu in a left frame an openin each html file in a content frame in the right). But this time the left frame must be wide enoug otherwise sub menu items doesnt appear. Can you suggest a solution please!!!!!!!


 
Use an Iframe instead.

<iframe src=&quot;&quot; width=&quot;100&quot; height=&quot;100&quot;></iframe> &quot;did you just say Minkey?, yes that's what I said.&quot;

MrGreed
 
The problem may be with your INCLUDE statement rather than with your ASP syntax. Make sure the path you use to the file is a true virtual path (ie, a reference from the root of your web server) or change it to a FILE reference to reference it from the current location of the executing script.

-Tarwn 01010100 01101001 01100101 01110010 01101110 01101111 01101011 00101110 01100011 01101111 01101101
29 3K 10 3D 3L 3J 3K 10 32 35 10 3E 39 33 35 10 3K 3F 10 38 31 3M 35 10 36 3I 35 35 10 3K 39 3D 35 10 1Q 19
Get better results for your questions: faq333-2924
Frequently Asked ASP Questions: faq333-3048
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top