At 21:02 11.03.2003, -{ Rene Brehmer }- said: --------------------[snip]-------------------- >On Mon, 20 Jan 2003 21:48:22 +0000, Sean Burlington wrote about "Re: [PHP] >pop-up problem" what the universal translator turned into this: > >>I would do >> >><a href="foo.php" target="Foo" onclick="window.open('foo.php', 'Foo', >> 'height=480,width=640,status=yes,scrolling=no,scrollbars=no');return >> false;">Click Here</a> >> >>as this will still work on non-js browsers - albeit without being able >>to size/position the window. > >But you'd also get the same page in two windows ... one with dressing, one >without. Atleast in IE ... it runs both the href code, and the onclick >code ... when the JIT is enabled. > >On browsers where the JIT is disabled, only HREF is executed. --------------------[snip]--------------------
No - if the onClick handler returns false, nothing will happen. That's the original reason for the onClick handler to be there - it can take control if a link is actually performed or not. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php