Click to See Complete Forum and Search --> : Quick Q Re: Non-JScript browsers
Dillinja
07-28-2003, 06:01 PM
Hi there
Was just wondering if it's possible to make a javascript degradable in a non-javascript (or jscript disabled) browser? If it is possible, how would you approach that?
AFAIK, since the <script> tag can't be read it's a non-starter. :confused:
Thanks a lot!
Dillinja
That's exactly what the <noscript> tag is for, though you'd be better off making your site so it does not rely on javascript in the first place. Javascript is good for adding non-essential elements to ones site, but not for things such as navigation, content, etc...
Charles
07-28-2003, 08:11 PM
But even in the case of navigation JavaScript can be suitably employed. It just takes a little creativity. Take those DHTML menus. There are several ways you can keep things working. The whole menu in the NOSCRIPT element is one option. Another is draw the root options with HTML and have them be active links to a page that simply contains the links that would appear if the user used JavaScript. Any bonehead can learn JavaScript. The challenge is in using it wisely.
Dillinja
07-29-2003, 04:15 AM
Thanks guys. Where would I find an example of a <noscript> being used?
Cheers
D