Results 1 to 2 of 2

Thread: JumpMenuGo to open in iFrame help!

  1. #1
    Join Date
    May 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default JumpMenuGo to open in iFrame help!

    I have a site design that includes an iFrame. The iFrame is titled "mainwindow".

    One one of the pages that I have set to target in the iFrame there is a JumpMenu of the names of all 50 states, and a Go button.

    What I need to do is set the JumpMenuGo so when the Go button is clicked after selecting a state from the JumpMenu, the selected state page opens in the same iFrame.

    Can anyone help?

  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

    If the page loading the pages is already in the iframe. Simply having a link:
    HTML Code:
    <a href="somepage.htm">Somepage</a>
    or, if using javascript:
    Code:
    location.href="somepage.htm"
    will load the new page in the same iframe. Don't use a target= with a link or, if using javascript, a window.open
    - 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
  •