Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

How to break out of iframe?

Options
  • 28-07-2010 7: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 Posts: 609 ✭✭✭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