www.webdeveloper.com
Results 1 to 2 of 2

Thread: How do I open an iFrame link in a parent window?

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    Rochester, NY
    Posts
    364

    How do I open an iFrame link in a parent window?

    I have an iFrame with a JS link using window.location. I would like this link to replace the parent page instead of changing the window inside the iFrame.

    How do I do this? I've been looking all over Google and haven't found a solution.

    Thanks.

  2. #2
    Join Date
    Nov 2002
    Posts
    4,473
    Code:
    window.top.location

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles