PDA

View Full Version : make link popup in regular window


alrukus
09-17-2003, 09:58 PM
hey i have a popup on my site and the contents of the popup is a page right, and on that page i have a button when clicked it goes to a url. how can i make it go to a regular old window? cuz right now it loads in the popup window. heres the code for the button:

<input type="button" value="JOIN NOW" name="B1"
onclick="location.href='this is where i have my url'"

how do i make that open in a new, regular window. thanks :)

requestcode
09-18-2003, 01:39 PM
Try this:
onclick="opener.location.href='this is where i have my url'"

The term "opener" refers to the window that the popup was opened from.