This:
<a href="link.html" onClick="popupwindow(this.href); return false;">link</a>
will work correctly whether js is on or off (even if the user loads the
page, and THEN turns js off). The "return false" prevents browsers with js
on from loading the page (since it was already opened in a new window).
this also in use at
http://www.blankbox.com/cvs/freetrade/htdocs/index.php3
- Isaac =)
On Sat, 29 Jan 2000, Leon and Vicky Atkinson wrote:
> > Absolutely. Hmm.. I just noticed that the Help link only works with js
> > turned on.
>
> Yeah...because the code that wraps it is just switching on the browser
> capability. You know, we ought to write a bit of code that tests whether
> JavaScript is on. I was thinking about this recently. We would do it when
> the user first hits the site...before we know whether they have cookies on.
> ScreenURL would send a variable signalling that JavaScript is off, but we'd
> also put a block of JavaScript that would activate whenever a user clicks a
> link and tweak the URL before activating it. I'm not 100% sure it can be
> done. If anyone has an idea for making this work, let me know.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]