[Javascript] Detect if JS enabled

Tripp, Candace L TrippCL at state.gov
Wed Nov 13 07:23:46 CST 2002


Much grass. 

-----Original Message-----
From: Peter-Paul Koch [mailto:gassinaumasis at hotmail.com]
Sent: Friday, November 08, 2002 4:35 PM
To: javascript at LaTech.edu
Subject: RE: [Javascript] Detect if JS enabled




>I want to redirect users with disabled JS to a statically laid out version 
>of the site.

Always do it the other way around. Your index page is the noscript page and 
in the HEAD you simply do

<script>
location.href = 'index_with_script.html'
</script>

No problems, always works.

--------------------------------------------------
ppk, freelance web developer
Interaction, copywriting, JavaScript, integration
http://www.xs4all.nl/~ppk/
Column "Keep it Simple": http://www.digital-web.com/columns/keepitsimple/
New: CSS Bugs in Internet Explorer 5 on Mac
http://developer.apple.com/internet/css/ie5cssbugs.html
--------------------------------------------------


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2346 bytes
Desc: not available
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20021113/a4351116/attachment.bin>


More information about the Javascript mailing list