SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru ripcurlksm's Avatar
    Join Date
    Aug 2004
    Location
    San Clemente, CA
    Posts
    857
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    iframe control parent window

    Ok.... so i have to use an iFrame to pull in a php page and I cant find a solution.

    I have created a mock up of what i want to do, it should be fairly simple. When a link is clicked in the iframe on the right, it loads the link into the main (parent) window, changing the entire page.

    SEE HERE:
    http://psylicyde.com/iframe.htm

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    add
    Code:
    target="_top"
    to the links in the iframe and that should do it.

  3. #3
    SitePoint Guru ripcurlksm's Avatar
    Join Date
    Aug 2004
    Location
    San Clemente, CA
    Posts
    857
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow, that was retarted of me. I tried everything but _top. Thanks


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
  •