Aleks
asked on
Use div or includes on ASP classic instead of a frameset
I currently use a framset for my website. (Code below)
<frameset rows="80,*,20" cols="*" framespacing="0" frameborder="no" border="0">
<frame src="topframe.asp" name="top" scrolling="no" noresize="noresize" id="top" />
<frame src="index.asp" name="Body" id="Body" />
<frame src="UntitledFrame-6"></fr ameset>
in this particular case a top frame and the main frame just below.
I want to get rid of the frames and include 'topframe.asp' at the top of the page on every page of my website. How can I do this ?
I am using classic ASP. I am able to do this using PHP but my whole system is Classic ASP at this point. Frames are very limiting so I want to try and use some sort of code to include the file at the top. If it changes the change should reflect system wide. As it does when I change the top frame.
So .. the bottom frame (index.asp) should include 'topframe.asp' . Once I figure out how to do this in this specific page I can add the include code to all the pages in my system that need to display the top frame. :)
<frameset rows="80,*,20" cols="*" framespacing="0" frameborder="no" border="0">
<frame src="topframe.asp" name="top" scrolling="no" noresize="noresize" id="top" />
<frame src="index.asp" name="Body" id="Body" />
<frame src="UntitledFrame-6"></fr
in this particular case a top frame and the main frame just below.
I want to get rid of the frames and include 'topframe.asp' at the top of the page on every page of my website. How can I do this ?
I am using classic ASP. I am able to do this using PHP but my whole system is Classic ASP at this point. Frames are very limiting so I want to try and use some sort of code to include the file at the top. If it changes the change should reflect system wide. As it does when I change the top frame.
So .. the bottom frame (index.asp) should include 'topframe.asp' . Once I figure out how to do this in this specific page I can add the include code to all the pages in my system that need to display the top frame. :)
ASKER
How will the page know where to put the page and how much space to take ?
ASKER
Thanks !
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yep, I noticed. Works like a charm, thank you !
ASKER
:)
You are welcome.
<!-- #include file = "topframe.asp" -->