PDA

View Full Version : popup


Goldilocks
02-05-2003, 09:46 AM
I am using the following bit of code to open a popup window with specified dimensions. It works fine in that the popup opens but the original page behind it goes blank with [object] written in it. How do I get it to stay as it was?

<a href="javascript:window.open('mypage.html','','width=100,height=100')">Link</a>

Thanks in advance.

scoutt
02-05-2003, 10:36 AM
hey Goldi, so you are saying that when you click that ink it loads and tehn the page that has the link in it say object?

try this

<a href="#" onclick="window.open('mypage.html','','width=100,height=100')">Link</a>

Goldilocks
02-05-2003, 10:46 AM
Thanks scoutt, that worked a treat! ;)

scoutt
02-05-2003, 10:49 AM
sure thing :rocker: