This will not work. Keep in mind that ColdFusion will not do
conditional processing based upon <noscript> - this is client side. In
other words, it will automatically set js = "off".
---
Billy Cravens
HR Systems, Sabre
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of [EMAIL PROTECTED]
Sent: Friday, May 18, 2001 2:41 PM
To: [EMAIL PROTECTED]
Subject: Re: Detecting JavaScript
How about just doing something like:
<noscript>
<cfset js = "off">
</noscript>
then...
<cfif isdefined('js') and js eq "off">
etc...
I haven't tested this, but all js capable browsers are supposed to
understand the noscript tag.
Phil
Brian Bessemer <[EMAIL PROTECTED]> on 05/18/2001 02:38:11 PM
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc: (bcc: Philip Meadows/TX/ONE)
Subject: Detecting JavaScript
Anyone know if there's a way to detect if JavaScript is turned on in a
browser using ColdFusion
brian bessemer
specialist, web technologies
214.224.1164
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
imc2.com <http://www.imc2.com/>
7505 john carpenter frwy
dallas, texas 75247
214.224.1000
fax/214.224.1100
------------------------------------------------------------------------
-
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info:
www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org
------------------------------------------------------------------------
-
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info:
www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org