Re: Detect if JS is Enabled

2000-04-10 Thread Seth Petry-Johnson

Is there a way to detect (on the server side) if a client browser has =
JavaScript enabled?

I don't think you can test this from the server.  Your best bet is to do
some sort of client side checking, and then use a combination of script and
NOSCRIPT tags to deliver the appropriate content to the user.

 I'm most concerned about Netscape 4.x. When =
JavaScript is disabled in Netscape, it does more than disable =
JavaScript. It also ignores the positioning of layers and the formating =
of cascading style sheets (I do have cascascading style sheets enable in =
my preferences).


That little bug is a REAL pain.  Does it still exist in the newer (~4.8)
versions of Navigator?

Regards,
Seth Petry-Johnson
Argo Enterprise and Associates

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Detect if JS is Enabled

2000-04-10 Thread Nick McClure

What I sometimes do is set a cookie using JavaScript and then try to read 
it with CF.

At 11:27 AM 4/10/2000 -0600, you wrote:
This is a multi-part message in MIME format.

--=_NextPart_000_002A_01BFA2DF.C0B8B380
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Is there a way to detect (on the server side) if a client browser has =
JavaScript enabled? I'm most concerned about Netscape 4.x. When =
JavaScript is disabled in Netscape, it does more than disable =
JavaScript. It also ignores the positioning of layers and the formating =
of cascading style sheets (I do have cascascading style sheets enable in =
my preferences).

Anybody have any ideas?

Jeff Braunstein
Healthwell.com

--=_NextPart_000_002A_01BFA2DF.C0B8B380
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
Is there a way to detect (on the = server side)=20 if a client browser has 
JavaScript enabled? I'm most concerned about = Netscape=20 4.x. When 
JavaScript is disabled in Netscape, it does more than disable=20 
JavaScript. It also ignores the positioning of layers and the formating = 
of=20 cascading style sheets (I do have cascascading style sheets enable 
in my = preferences).

Anybody have any ideas?

Jeff Braunstein
Healthwell.com

--=_NextPart_000_002A_01BFA2DF.C0B8B380--

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or 
send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
the body.

--
Nick McClure[EMAIL PROTECTED]
Technical Director  606.245.9656
squareFish Mediawww.squareFish.com

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Detect if JS is Enabled

2000-04-10 Thread Reilly, Jim


This will definitely tell you if JS is on.

Although they could have JS on and cookies off,
thus giving you the wrong results.

Basically, not the best check.  

Use the NOSCRIPT ... /NOSCRIPT  tags

Jim Reilly

-Original Message-
From: Nick McClure [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 2:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Detect if JS is Enabled


What I sometimes do is set a cookie using JavaScript and then try to read 
it with CF.

At 11:27 AM 4/10/2000 -0600, you wrote:
This is a multi-part message in MIME format.

--=_NextPart_000_002A_01BFA2DF.C0B8B380
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Is there a way to detect (on the server side) if a client browser has =
JavaScript enabled? I'm most concerned about Netscape 4.x. When =
JavaScript is disabled in Netscape, it does more than disable =
JavaScript. It also ignores the positioning of layers and the formating =
of cascading style sheets (I do have cascascading style sheets enable in =
my preferences).

Anybody have any ideas?

Jeff Braunstein
Healthwell.com

--=_NextPart_000_002A_01BFA2DF.C0B8B380
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
Is there a way to detect (on the = server side)=20 if a client browser has 
JavaScript enabled? I'm most concerned about = Netscape=20 4.x. When 
JavaScript is disabled in Netscape, it does more than disable=20 
JavaScript. It also ignores the positioning of layers and the formating = 
of=20 cascading style sheets (I do have cascascading style sheets enable 
in my = preferences).

Anybody have any ideas?

Jeff Braunstein
Healthwell.com

--=_NextPart_000_002A_01BFA2DF.C0B8B380--

---
---
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or 
send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
the body.

--
Nick McClure[EMAIL PROTECTED]
Technical Director  606.245.9656
squareFish Mediawww.squareFish.com


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Detect if JS is Enabled

2000-04-10 Thread Jordon Saardchit

A cookie is proprietary coldfusion its just info stored in the header.
Coldfusion just provides a way to access that info, as do other application
servers (eg, ASP).

-J

-Original Message-
From: Gregory Weiss [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 11:17 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Detect if JS is Enabled


That sounds like a good way to do it, but how do you read a cookie in CF
that was not written in CF.  I didn't know you could do that.

Can you set a cookie with an ASP page and read it in CF using the same
method?

Very interested to know.

Greg

-Original Message-
From: Nick McClure [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 2:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Detect if JS is Enabled


What I sometimes do is set a cookie using JavaScript and then try to read
it with CF.

At 11:27 AM 4/10/2000 -0600, you wrote:
This is a multi-part message in MIME format.

--=_NextPart_000_002A_01BFA2DF.C0B8B380
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Is there a way to detect (on the server side) if a client browser has =
JavaScript enabled? I'm most concerned about Netscape 4.x. When =
JavaScript is disabled in Netscape, it does more than disable =
JavaScript. It also ignores the positioning of layers and the formating =
of cascading style sheets (I do have cascascading style sheets enable in =
my preferences).

Anybody have any ideas?

Jeff Braunstein
Healthwell.com

--=_NextPart_000_002A_01BFA2DF.C0B8B380
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
Is there a way to detect (on the = server side)=20 if a client browser has
JavaScript enabled? I'm most concerned about = Netscape=20 4.x. When
JavaScript is disabled in Netscape, it does more than disable=20
JavaScript. It also ignores the positioning of layers and the formating =
of=20 cascading style sheets (I do have cascascading style sheets enable
in my = preferences).

Anybody have any ideas?

Jeff Braunstein
Healthwell.com

--=_NextPart_000_002A_01BFA2DF.C0B8B380--

---
---
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Nick McClure[EMAIL PROTECTED]
Technical Director  606.245.9656
squareFish Mediawww.squareFish.com


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Detect if JS is Enabled

2000-04-10 Thread Nick McClure

A Cookie is seen to both.

All you have to do is make sure JS writes the cookie to the correct place, 
the root domain.

At 02:17 PM 4/10/2000 -0400, you wrote:
That sounds like a good way to do it, but how do you read a cookie in CF
that was not written in CF.  I didn't know you could do that.

Can you set a cookie with an ASP page and read it in CF using the same
method?

Very interested to know.

Greg

-Original Message-
From: Nick McClure [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 2:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Detect if JS is Enabled


What I sometimes do is set a cookie using JavaScript and then try to read
it with CF.

At 11:27 AM 4/10/2000 -0600, you wrote:
 This is a multi-part message in MIME format.
 
 --=_NextPart_000_002A_01BFA2DF.C0B8B380
 Content-Type: text/plain;
  charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 Is there a way to detect (on the server side) if a client browser has =
 JavaScript enabled? I'm most concerned about Netscape 4.x. When =
 JavaScript is disabled in Netscape, it does more than disable =
 JavaScript. It also ignores the positioning of layers and the formating =
 of cascading style sheets (I do have cascascading style sheets enable in =
 my preferences).
 
 Anybody have any ideas?
 
 Jeff Braunstein
 Healthwell.com
 
 --=_NextPart_000_002A_01BFA2DF.C0B8B380
 Content-Type: text/html;
  charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
 Is there a way to detect (on the = server side)=20 if a client browser has
 JavaScript enabled? I'm most concerned about = Netscape=20 4.x. When
 JavaScript is disabled in Netscape, it does more than disable=20
 JavaScript. It also ignores the positioning of layers and the formating =
 of=20 cascading style sheets (I do have cascascading style sheets enable
 in my = preferences).
 
 Anybody have any ideas?
 
 Jeff Braunstein
 Healthwell.com
 
 --=_NextPart_000_002A_01BFA2DF.C0B8B380--
 
 ---
---
 Archives: http://www.eGroups.com/list/cf-talk
 To Unsubscribe visit
 http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
 send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 the body.

--
Nick McClure[EMAIL PROTECTED]
Technical Director  606.245.9656
squareFish Mediawww.squareFish.com


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or 
send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
the body.

--
Nick McClure[EMAIL PROTECTED]
Technical Director  606.245.9656
squareFish Mediawww.squareFish.com

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Detect if JS is Enabled

2000-04-10 Thread Jordon Saardchit

damnit... i mean is NOT proprietary coldfusion... heh... looks like i got a
case of the mondays.

-Original Message-
From: Jordon Saardchit [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 11:53 AM
To: [EMAIL PROTECTED]
Subject: RE: Detect if JS is Enabled


A cookie is proprietary coldfusion its just info stored in the header.
Coldfusion just provides a way to access that info, as do other application
servers (eg, ASP).

-J

-Original Message-
From: Gregory Weiss [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 11:17 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Detect if JS is Enabled


That sounds like a good way to do it, but how do you read a cookie in CF
that was not written in CF.  I didn't know you could do that.

Can you set a cookie with an ASP page and read it in CF using the same
method?

Very interested to know.

Greg

-Original Message-
From: Nick McClure [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 10, 2000 2:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Detect if JS is Enabled


What I sometimes do is set a cookie using JavaScript and then try to read
it with CF.

At 11:27 AM 4/10/2000 -0600, you wrote:
This is a multi-part message in MIME format.

--=_NextPart_000_002A_01BFA2DF.C0B8B380
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Is there a way to detect (on the server side) if a client browser has =
JavaScript enabled? I'm most concerned about Netscape 4.x. When =
JavaScript is disabled in Netscape, it does more than disable =
JavaScript. It also ignores the positioning of layers and the formating =
of cascading style sheets (I do have cascascading style sheets enable in =
my preferences).

Anybody have any ideas?

Jeff Braunstein
Healthwell.com

--=_NextPart_000_002A_01BFA2DF.C0B8B380
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
Is there a way to detect (on the = server side)=20 if a client browser has
JavaScript enabled? I'm most concerned about = Netscape=20 4.x. When
JavaScript is disabled in Netscape, it does more than disable=20
JavaScript. It also ignores the positioning of layers and the formating =
of=20 cascading style sheets (I do have cascascading style sheets enable
in my = preferences).

Anybody have any ideas?

Jeff Braunstein
Healthwell.com

--=_NextPart_000_002A_01BFA2DF.C0B8B380--

---
---
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Nick McClure[EMAIL PROTECTED]
Technical Director  606.245.9656
squareFish Mediawww.squareFish.com


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.



--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.