Results 1 to 2 of 2

Thread: Forcing a page to display in Frames

  1. #1
    Join Date
    Dec 2005
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool Forcing a page to display in Frames

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    See:

    http://www.dynamicdrive.com/forums/s...36&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:

    HTML Code:
    <a href="frameset.htm?var1=somepage.htm">Link Text</a>
    The code on the framset page could be as outlined.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •