![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to trap if a browser has JavaScript disabled and redirect to a warning page for a page that requires scripting to be view. And the 'Catch' is to make it 4.01 transitional compliant I tried: noscript><META http-equiv="refresh" content="0;URL=/cgi-bin/error.cgi?e=nojs"></noscript in the head but this produces a nesting error the validator...any ideas been googling away but have discovered anything useful yet... |
#3
| |||
| |||
|
|
I want to trap if a browser has JavaScript disabled and redirect to a warning page for a page that requires scripting to be view. And the 'Catch' is to make it 4.01 transitional compliant I tried: noscript><META http-equiv="refresh" content="0;URL=/cgi-bin/error.cgi?e=nojs"></noscript in the head but this produces a nesting error the validator...any ideas |
#4
| |||
| |||
|
|
I want to trap if a browser has JavaScript disabled and redirect to a warning page for a page that requires scripting to be view. And the 'Catch' is to make it 4.01 transitional compliant I tried: noscript><META http-equiv="refresh" content="0;URL=/cgi-bin/error.cgi?e=nojs"></noscript in the head but this produces a nesting error the validator...any ideas been googling away but have discovered anything useful yet... |
#5
| |||
| |||
|
|
On Fri, 04 Feb 2005 15:34:00 GMT Jonathan N. Little wrote: I want to trap if a browser has JavaScript disabled and redirect to a warning page for a page that requires scripting to be view. And the 'Catch' is to make it 4.01 transitional compliant I tried: noscript><META http-equiv="refresh" content="0;URL=/cgi-bin/error.cgi?e=nojs"></noscript in the head but this produces a nesting error the validator...any ideas been googling away but have discovered anything useful yet... You could try putting the <noscript> in the body which is where it belongs anyways. Why? How does the script know what to do before the page is loaded? body noscript Your javascript is turned off. a href="whatever">Click here</a> for a suitable page. /noscript /body I would much rather have the choice of going elsewhere then being redirected automatically and instantly. I may be wrong, but I think the refresh thing has to have a value greater than "0". Thank I'll have to rethink this. |
#6
| |||
| |||
|
|
"Jonathan N. Little" <lws4art (AT) centralva (DOT) net> wrote: I want to trap if a browser has JavaScript disabled and redirect to a warning page for a page that requires scripting to be view. And the 'Catch' is to make it 4.01 transitional compliant I tried: noscript><META http-equiv="refresh" content="0;URL=/cgi-bin/error.cgi?e=nojs"></noscript in the head but this produces a nesting error the validator...any ideas noscript> isn't valid inside <head>. So if you insist on having pages that only work with JS reverse the process. Have a standard page at the primary URL and use a JS redirect in that page to redirect to the JS page. Steve |
#7
| |||
| |||
|
|
I want to trap if a browser has JavaScript disabled and redirect to a warning page for a page that requires scripting to be view. |
|
And the 'Catch' is to make it 4.01 transitional compliant |
|
been googling away but have discovered anything useful yet... |
#8
| |||
| |||
|
|
Jonathan N. Little wrote: Didn't want to use SSI on all may pages, and for some thing client side is very effect and efficient than doing it all server side. "I didn't want to use SSI" has to be the dumbest reason for a Javascript navigation system that I've ever heard. "I don't have SSI available" or "I don't know how to use SSI" or "What the hell is SSI?!" are all much better excuses. |
#9
| |||
| |||
|
|
3. Client side can very efficient and effective tool where client interaction is important to the site verses relying solely server side especial for slow dialup visitors |
|
4. Aesthetics and style can be an integral part of the purpose of a website. |
#10
| |||
| |||
|
|
Jonathan N. Little wrote: 3. Client side can very efficient and effective tool where client interaction is important to the site verses relying solely server side especial for slow dialup visitors Unless I'm missing something, I don't understand how a Javascript-generated navigation system can be more "efficient" than generating it server-side? |
|
And why is it more "effective"? Quite the opposite, I would've thought, seeing as anyone with Javascript disabled won't be able to use your site, *and* search engines won't be able to index any of your pages. |
|
4. Aesthetics and style can be an integral part of the purpose of a website. Surely basic functionality (i.e. a site that is guaranteed to work and be usable) is the most important aspect of a web page? Aesthetics, whilst very important, should come second to the emphasis on designing your site so that the user can actually use it. |
![]() |
| Thread Tools | |
| Display Modes | |
| |