dynamic frames

A

Anonymous

Guest
Lets say I have a frameset. Is there a way to load a certain page into the mainframe based on the URL?

i.e. http://www.mywebsite.com/index.html?loadServices

then the services page will load into the mainframe :?:

instead of putting http://www.mywebsite.com/services.html..

hope someone knows the answer..

thanks
 
http://www.mywebsite.com/index.html?frame=loadServices

<frameset rows="81,410" cols="*" >
<frame src="Untitled-1.htm" MARGINWIDTH="2" MARGINHEIGHT="1" FRAMEBORDER="no" BORDER="0" SCROLLING="no" NORESIZE>
<frame src="<?php echo $_GET['frame'].'.php';?>" MARGINWIDTH="2" MARGINHEIGHT="1" FRAMEBORDER="no" BORDER="0" NORESIZE>
</frameset>
<noframes><body>

</body></noframes>
 
thanks redcircle. do you think you could explain that a little more?

thanks again! :D
 
nevermind... i figured it out! :)

it works excellent..

thanks :D
 
Back
Top