PDA

View Full Version : Need help with pop up windows


jasmine
05-31-2006, 05:06 PM
I have some links on my page that open up in a second browser window. Unfortunately, the link also opens in the main window. This is very confusing for the users. How can I fix this problem?

fodder
05-31-2006, 09:36 PM
if i understand this correctly....

you just need to put a "#" in the link and then add the pop up window to the text...... when you click on the link the original page should stay the same but the pop-up window should then open in a separate page

jasmine
05-31-2006, 10:33 PM
Ooooh! I never thought of that! Thanks! I'll give it a whirl...

chriskq
06-01-2006, 03:19 AM
the code for <a href > link to open in a new window is:

onclick="window.open(this.href,'newwin'); return false;"


dont use _open... bad practice

jasmine
06-01-2006, 02:37 PM
so use .open instead of _open? I'll give that a try too!