[thelist] Speaking of detecting: howto detect Javascript on/off?

Tab Alleman talleman at autobex.com
Wed Mar 14 11:20:10 CST 2001


What about good ol' <noscript>?  isn't that good for stuff like that?

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Martin Kuplens-Ewart
Sent: Wednesday, March 14, 2001 12:03 PM
To: thelist at lists.evolt.org
Subject: Re: [thelist] Speaking of detecting: howto detect Javascript
on/off?


Umm, that sounds like the only feasible way to do so... unless you can
get your site design to work so that it doesn't really matter if you
have javascript on or not... then you wouldn't need to. :P

If you were using a scripting language/parser, you could theoretically
set a variable, then use javascript afterward to set it as something
else, so for example you could start with $js=0; then have the
javascript set $js as 1... then use that... or summat

-m

----- Original Message -----
From: "Scott Dexter" <sgd at ti3.com>
To: <thelist at lists.evolt.org>
Sent: Wednesday, March 14, 2001 11:52 AM
Subject: [thelist] Speaking of detecting: howto detect Javascript
on/off?


> That's the basics. I know there's a way to detect if java is turned
on, what
> about javascript? Is it possible to determine if it is on?
>
> The only way I can think of is having a page with an onLoad() send
the
> browser to the javascript pages, and a META refresh tag that would
fire and
> send them to non-jaascript pages in the event the onLoad() doesn't
happen
> (they have javascript turned off). Is this the accepted way of doing
it? Are
> there alternatives?
>
> sgd


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 





More information about the thelist mailing list