Could a piece of code be placed in the index page of web site that checks if
JavaScript is enabled / disabled; if disabled I would like a window.alert()
to appear telling visitor that your browser JavaScript setting is disabled
and you should do following... to enable it.
Thank you for your advice and help.

Re: Code that checks if JavaScript is enabled or disabled by Tom

Tom
Tue Jul 19 19:11:06 CDT 2005

In html view, insert something like this in between your <head> tags:

<noscript>
<p><font face="Arial, Helvetica, Sans-Serif" size="2"><font
color="#FF0000"><b>
JavaScript Disabled</b><br>
JavaScript required to send us email. If you have disabled JavaScript<br>
in your browser, you must reenable JavaScript and refresh this
page.</font></p>
</noscript>
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
===
"alec" <alec@discussions.microsoft.com> wrote in message
news:0E646651-1E42-4C6D-A325-562B802E25FD@microsoft.com...
| Could a piece of code be placed in the index page of web site that checks
if
| JavaScript is enabled / disabled; if disabled I would like a
window.alert()
| to appear telling visitor that your browser JavaScript setting is disabled
| and you should do following... to enable it.
| Thank you for your advice and help.



Re: Code that checks if JavaScript is enabled or disabled by MikeR

MikeR
Thu Jul 21 08:31:47 CDT 2005

Good response. If javascript is disabled, a javascript alert doesn't work.
MikeR 1st

Tom Pepper Willett wrote:
> In html view, insert something like this in between your <head> tags:
>
> <noscript>
> <p><font face="Arial, Helvetica, Sans-Serif" size="2"><font
> color="#FF0000"><b>
> JavaScript Disabled</b><br>
> JavaScript required to send us email. If you have disabled JavaScript<br>
> in your browser, you must reenable JavaScript and refresh this
> page.</font></p>
> </noscript>

Re: Code that checks if JavaScript is enabled or disabled by Tom

Tom
Thu Jul 21 08:58:54 CDT 2005

"If javascript is disabled, a javascript alert doesn't work"

Huh?
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
===
"MikeR" <NOnf4lSPAM@pobox.com> wrote in message
news:ucABMifjFHA.3608@TK2MSFTNGP12.phx.gbl...
| Good response. If javascript is disabled, a javascript alert doesn't work.
| MikeR 1st
|
| Tom Pepper Willett wrote:
| > In html view, insert something like this in between your <head> tags:
| >
| > <noscript>
| > <p><font face="Arial, Helvetica, Sans-Serif" size="2"><font
| > color="#FF0000"><b>
| > JavaScript Disabled</b><br>
| > JavaScript required to send us email. If you have disabled
JavaScript<br>
| > in your browser, you must reenable JavaScript and refresh this
| > page.</font></p>
| > </noscript>



Re: Code that checks if JavaScript is enabled or disabled by Murray

Murray
Thu Jul 21 09:19:21 CDT 2005

<a href="javascript:alert('HUH?')">This doesn't work if javascript is
disabled</a>

--
Murray
============

"Tom Pepper Willett" <tompepper@mvps.invalid> wrote in message
news:%23JtdFxfjFHA.1044@tk2msftngp13.phx.gbl...
> "If javascript is disabled, a javascript alert doesn't work"
>
> Huh?
> --
> ===
> Tom "Pepper" Willett
> Microsoft MVP - FrontPage
> ---
> About FrontPage 2003:
> http://office.microsoft.com/home/office.aspx?assetid=FX01085802
> ===
> "MikeR" <NOnf4lSPAM@pobox.com> wrote in message
> news:ucABMifjFHA.3608@TK2MSFTNGP12.phx.gbl...
> | Good response. If javascript is disabled, a javascript alert doesn't
> work.
> | MikeR 1st
> |
> | Tom Pepper Willett wrote:
> | > In html view, insert something like this in between your <head> tags:
> | >
> | > <noscript>
> | > <p><font face="Arial, Helvetica, Sans-Serif" size="2"><font
> | > color="#FF0000"><b>
> | > JavaScript Disabled</b><br>
> | > JavaScript required to send us email. If you have disabled
> JavaScript<br>
> | > in your browser, you must reenable JavaScript and refresh this
> | > page.</font></p>
> | > </noscript>
>
>



Re: Code that checks if JavaScript is enabled or disabled by Kevin

Kevin
Thu Jul 21 12:01:34 CDT 2005

I know what you mean, Tom. But upon a second reading of MikeR (1st)'s
response, I think he may not have been being sarcastic at all, and meant it
as a true compliment. Ambiguity does indeed have a certain quality to it!

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
The sun never sets on
the Kingdom of Heaven

"Tom Pepper Willett" <tompepper@mvps.invalid> wrote in message
news:%23JtdFxfjFHA.1044@tk2msftngp13.phx.gbl...
> "If javascript is disabled, a javascript alert doesn't work"
>
> Huh?
> --
> ===
> Tom "Pepper" Willett
> Microsoft MVP - FrontPage
> ---
> About FrontPage 2003:
> http://office.microsoft.com/home/office.aspx?assetid=FX01085802
> ===
> "MikeR" <NOnf4lSPAM@pobox.com> wrote in message
> news:ucABMifjFHA.3608@TK2MSFTNGP12.phx.gbl...
> | Good response. If javascript is disabled, a javascript alert doesn't
> work.
> | MikeR 1st
> |
> | Tom Pepper Willett wrote:
> | > In html view, insert something like this in between your <head> tags:
> | >
> | > <noscript>
> | > <p><font face="Arial, Helvetica, Sans-Serif" size="2"><font
> | > color="#FF0000"><b>
> | > JavaScript Disabled</b><br>
> | > JavaScript required to send us email. If you have disabled
> JavaScript<br>
> | > in your browser, you must reenable JavaScript and refresh this
> | > page.</font></p>
> | > </noscript>
>
>



Re: Code that checks if JavaScript is enabled or disabled by Tom

Tom
Thu Jul 21 12:19:40 CDT 2005

Oh, I didn't take it as sarcasm. I took it as a compliment, Kev. But I
simply didn't understand his answer. I took it to say if you had javascript
disabled, you couldn't my suggestion wouldn't work. Which, in fact it does,
since it's not JavaScript.

MikeR (1st) confused me.

As did Murray.


--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
===
"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
news:uUV5aXhjFHA.3336@tk2msftngp13.phx.gbl...
|I know what you mean, Tom. But upon a second reading of MikeR (1st)'s
| response, I think he may not have been being sarcastic at all, and meant
it
| as a true compliment. Ambiguity does indeed have a certain quality to it!
|
| --
| HTH,
|
| Kevin Spencer
| Microsoft MVP
| .Net Developer
| The sun never sets on
| the Kingdom of Heaven
|
| "Tom Pepper Willett" <tompepper@mvps.invalid> wrote in message
| news:%23JtdFxfjFHA.1044@tk2msftngp13.phx.gbl...
| > "If javascript is disabled, a javascript alert doesn't work"
| >
| > Huh?
| > --
| > ===
| > Tom "Pepper" Willett
| > Microsoft MVP - FrontPage
| > ---
| > About FrontPage 2003:
| > http://office.microsoft.com/home/office.aspx?assetid=FX01085802
| > ===
| > "MikeR" <NOnf4lSPAM@pobox.com> wrote in message
| > news:ucABMifjFHA.3608@TK2MSFTNGP12.phx.gbl...
| > | Good response. If javascript is disabled, a javascript alert doesn't
| > work.
| > | MikeR 1st
| > |
| > | Tom Pepper Willett wrote:
| > | > In html view, insert something like this in between your <head>
tags:
| > | >
| > | > <noscript>
| > | > <p><font face="Arial, Helvetica, Sans-Serif" size="2"><font
| > | > color="#FF0000"><b>
| > | > JavaScript Disabled</b><br>
| > | > JavaScript required to send us email. If you have disabled
| > JavaScript<br>
| > | > in your browser, you must reenable JavaScript and refresh this
| > | > page.</font></p>
| > | > </noscript>
| >
| >
|
|



Re: Code that checks if JavaScript is enabled or disabled by Murray

Murray
Thu Jul 21 12:50:03 CDT 2005

Heh - <noscript> is DEFINITELY not javascript. I checked with the W3C on
that. 8)

--
Murray
============

"Tom Pepper Willett" <tompepper@mvps.invalid> wrote in message
news:euM2OhhjFHA.3436@tk2msftngp13.phx.gbl...
> Oh, I didn't take it as sarcasm. I took it as a compliment, Kev. But I
> simply didn't understand his answer. I took it to say if you had
> javascript
> disabled, you couldn't my suggestion wouldn't work. Which, in fact it
> does,
> since it's not JavaScript.
>
> MikeR (1st) confused me.
>
> As did Murray.
>
>
> --
> ===
> Tom "Pepper" Willett
> Microsoft MVP - FrontPage
> ---
> About FrontPage 2003:
> http://office.microsoft.com/home/office.aspx?assetid=FX01085802
> ===
> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
> news:uUV5aXhjFHA.3336@tk2msftngp13.phx.gbl...
> |I know what you mean, Tom. But upon a second reading of MikeR (1st)'s
> | response, I think he may not have been being sarcastic at all, and meant
> it
> | as a true compliment. Ambiguity does indeed have a certain quality to
> it!
> |
> | --
> | HTH,
> |
> | Kevin Spencer
> | Microsoft MVP
> | .Net Developer
> | The sun never sets on
> | the Kingdom of Heaven
> |
> | "Tom Pepper Willett" <tompepper@mvps.invalid> wrote in message
> | news:%23JtdFxfjFHA.1044@tk2msftngp13.phx.gbl...
> | > "If javascript is disabled, a javascript alert doesn't work"
> | >
> | > Huh?
> | > --
> | > ===
> | > Tom "Pepper" Willett
> | > Microsoft MVP - FrontPage
> | > ---
> | > About FrontPage 2003:
> | > http://office.microsoft.com/home/office.aspx?assetid=FX01085802
> | > ===
> | > "MikeR" <NOnf4lSPAM@pobox.com> wrote in message
> | > news:ucABMifjFHA.3608@TK2MSFTNGP12.phx.gbl...
> | > | Good response. If javascript is disabled, a javascript alert doesn't
> | > work.
> | > | MikeR 1st
> | > |
> | > | Tom Pepper Willett wrote:
> | > | > In html view, insert something like this in between your <head>
> tags:
> | > | >
> | > | > <noscript>
> | > | > <p><font face="Arial, Helvetica, Sans-Serif" size="2"><font
> | > | > color="#FF0000"><b>
> | > | > JavaScript Disabled</b><br>
> | > | > JavaScript required to send us email. If you have disabled
> | > JavaScript<br>
> | > | > in your browser, you must reenable JavaScript and refresh this
> | > | > page.</font></p>
> | > | > </noscript>
> | >
> | >
> |
> |
>
>



Re: Code that checks if JavaScript is enabled or disabled by Kevin

Kevin
Thu Jul 21 13:58:04 CDT 2005

Heck, Tom, I confuse myself almost every day!

--
;-),

Kevin Spencer
Microsoft MVP
.Net Developer
The sun never sets on
the Kingdom of Heaven

"Tom Pepper Willett" <tompepper@mvps.invalid> wrote in message
news:euM2OhhjFHA.3436@tk2msftngp13.phx.gbl...
> Oh, I didn't take it as sarcasm. I took it as a compliment, Kev. But I
> simply didn't understand his answer. I took it to say if you had
> javascript
> disabled, you couldn't my suggestion wouldn't work. Which, in fact it
> does,
> since it's not JavaScript.
>
> MikeR (1st) confused me.
>
> As did Murray.
>
>
> --
> ===
> Tom "Pepper" Willett
> Microsoft MVP - FrontPage
> ---
> About FrontPage 2003:
> http://office.microsoft.com/home/office.aspx?assetid=FX01085802
> ===
> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
> news:uUV5aXhjFHA.3336@tk2msftngp13.phx.gbl...
> |I know what you mean, Tom. But upon a second reading of MikeR (1st)'s
> | response, I think he may not have been being sarcastic at all, and meant
> it
> | as a true compliment. Ambiguity does indeed have a certain quality to
> it!
> |
> | --
> | HTH,
> |
> | Kevin Spencer
> | Microsoft MVP
> | .Net Developer
> | The sun never sets on
> | the Kingdom of Heaven
> |
> | "Tom Pepper Willett" <tompepper@mvps.invalid> wrote in message
> | news:%23JtdFxfjFHA.1044@tk2msftngp13.phx.gbl...
> | > "If javascript is disabled, a javascript alert doesn't work"
> | >
> | > Huh?
> | > --
> | > ===
> | > Tom "Pepper" Willett
> | > Microsoft MVP - FrontPage
> | > ---
> | > About FrontPage 2003:
> | > http://office.microsoft.com/home/office.aspx?assetid=FX01085802
> | > ===
> | > "MikeR" <NOnf4lSPAM@pobox.com> wrote in message
> | > news:ucABMifjFHA.3608@TK2MSFTNGP12.phx.gbl...
> | > | Good response. If javascript is disabled, a javascript alert doesn't
> | > work.
> | > | MikeR 1st
> | > |
> | > | Tom Pepper Willett wrote:
> | > | > In html view, insert something like this in between your <head>
> tags:
> | > | >
> | > | > <noscript>
> | > | > <p><font face="Arial, Helvetica, Sans-Serif" size="2"><font
> | > | > color="#FF0000"><b>
> | > | > JavaScript Disabled</b><br>
> | > | > JavaScript required to send us email. If you have disabled
> | > JavaScript<br>
> | > | > in your browser, you must reenable JavaScript and refresh this
> | > | > page.</font></p>
> | > | > </noscript>
> | >
> | >
> |
> |
>
>



Re: Code that checks if JavaScript is enabled or disabled by MikeR

MikeR
Thu Jul 21 14:10:30 CDT 2005

I was commenting on th OP's use below, and just read it too fast.
No sarcasm was intended, I'd expect a swift slap from Guido....
MikeR 1st

Could a piece of code be placed in the index page of web site that checks if
JavaScript is enabled / disabled; if disabled I would like a window.alert()


Kevin Spencer wrote:
> Heck, Tom, I confuse myself almost every day!
>

Re: Code that checks if JavaScript is enabled or disabled by Tom

Tom
Thu Jul 21 14:31:29 CDT 2005

Nah, no slap, Mike. Guido likes you too much.
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
===
"MikeR" <NOnf4lSPAM@pobox.com> wrote in message
news:uv9RefijFHA.2444@tk2msftngp13.phx.gbl...
|I was commenting on th OP's use below, and just read it too fast.
| No sarcasm was intended, I'd expect a swift slap from Guido....
| MikeR 1st
|
| Could a piece of code be placed in the index page of web site that checks
if
| JavaScript is enabled / disabled; if disabled I would like a
window.alert()
|
|
| Kevin Spencer wrote:
| > Heck, Tom, I confuse myself almost every day!
| >



Re: Code that checks if JavaScript is enabled or disabled by MikeR

MikeR
Sun Jul 24 11:29:12 CDT 2005

That's scary.....
MikeR 1st

Tom Pepper Willett wrote:
> Nah, no slap, Mike. Guido likes you too much.