Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

How to break out of iframe?

  • 28-07-2010 07:01PM
    #1
    Closed Accounts Posts: 121 ✭✭


    I have a dialog that contains an iframe which shows a list of usernames. When any of these names are clicked I want to close the iframe and open the users profile page. So how do I break out of the iframe and redirect the main page to the user profile?


Comments

  • Registered Users, Registered Users 2 Posts: 615 ✭✭✭jumbone


    [HTML]<a href="profile path" target="_top">username</a>[/HTML]you need to put a target in your links. to break out of a frame the target is "_top", "_blank" is for a new window and so on


Advertisement
Advertisement