simple popup window query

liunx

Guest
Hi,<br />
I have a link that usines some popup window code:<br />
<br />
function open_popup(page) {<br />
window.open(page);<br />
return false;<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:open_popup('rates.htm')">RATES</a><br />
<br />
the popup works fine, but the main page also changes and displays 'false' why is this,<br />
thanks<!--content-->That's what browsers are supposed to do with that piece of script. Use instead...<br />
<br />
<a href=http://www.webdeveloper.com/forum/archive/index.php/"rates.htm" onclick="window.open(this.href); return false" style="text-transform:uppercase">Rates</a><!--content-->
 
Back
Top