Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

Feedback on: irt.org FAQ Knowledge Base Q407, August 10, 1999 at 04:44:28:

You are here: irt.org | About | Feedback | 359 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q407

Sent by
michel on August 10, 1999 at 04:44:28:

Netscape 4+ will kill all animations and other stuff on a javascript link.

the following should be changed from

<A href="javascript:window.open('test.html','windowName','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=500,height=300')">test</A>


<A HREF="javascript:;" onClick="window.open('test.html','windowName','scrollbars,resizable,width=500,height=300'); return false">test</A>

It is the return false that does the trick...

Since if you specify one parameter, the rest are off and yes is default, the above is also shorter.

If you do not want the statusline to show javascript:;

<A HREF="javascript:;"
onClick="window.open('test.html','windowName','scrollbars,resizable,width=500,height=300'); return false"
onMouseOver="status='Popup test.html'; return true"
onMouseOut="status=''; return true"

The return true is needed to tell the browser we handled the status line...


Other feedback on 'irt.org FAQ Knowledge Base Q407' - show all

©2018 Martin Webb