Randy Webb wrote on 15 feb 2007 in comp.lang.javascript
:
jodleren said the following on 2/15/2007 7:31 AM:
>Hi all
I have a file I open in a smaller window, like this:
<a href="#" onclick="window.open....
but it also causes the main window to jump to the top. What have
people done to avoid that?
onclick="window.open('.....');return false"
.... unless the modern IE/FF browser is set to always tab.
===============
What about gracefull
retardation/recreation/retalliation/what-was-that-d'mn-word-again?
<a
href='http://cnn.com/' target='_blank'
onclick='window.open(this.href);return false'
>
CNN
</a>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)