PDA

View Full Version : Forcing a page to display in Frames



techsol
04-02-2006, 09:15 PM
Is there any code available to put in the frames page HTML (of a two frame side by side page) that when accessed using a code in a url (i.e.?keyword) will force a page to display on the right (main) side of the frames page? This forced page is different than the one normally called up by the frames page. Thanks

jscheuer1
04-02-2006, 09:28 PM
See:

http://www.dynamicdrive.com/forums/showpost.php?p=28736&postcount=4

In that post I outline a method that forces 'orphan' pages into their frames. It can also be used to load a frameset using a different default page. In your situation you need nothing on the page in the frame as outlined in the above post, but your link to the frameset could look something like so:


<a href="frameset.htm?var1=somepage.htm">Link Text</a>

The code on the framset page could be as outlined.