...

View Full Version : rules of noscript?



FJbrian
02-08-2007, 06:56 PM
I have a javascript/css menu I like but...grrr....I need to have some vanilla looking links for the non javascript folks. What are the rules to what I can and can't put between noscript tags?

_Aerospace_Eng_
02-08-2007, 07:09 PM
You can put whatever you want in the noscript tags just be sure its valid html. Remember noscript tags can only go in the body of the document.

FJbrian
02-08-2007, 07:14 PM
You can put whatever you want in the noscript tags just be sure its valid html. Remember noscript tags can only go in the body of the document.

really?
cool thanks

Philip M
02-08-2007, 07:50 PM
The classic implementation:-

<body>
...
...
<script type="text/javascript">
<!-- // Hide from non-javascript enabled browsers
document.write("Hello World!")
//--> // End hiding
</script>
<noscript>Your browser does not support JavaScript!</noscript>
...
...
</body>

But do any browsers actually in use these days not support scripting?
Or have you in mind those who have turned JavaScript off?

FJbrian
02-08-2007, 07:57 PM
The classic implementation:-

<body>
...
...
<script type="text/javascript">
<!-- // Hide from non-javascript enabled browsers
document.write("Hello World!")
//--> // End hiding
</script>
<noscript>Your browser does not support JavaScript!</noscript>
...
...
</body>

But do any browsers actually in use these days not support scripting?
Or have you in mind those who have turned JavaScript off?


If a menu is javascript, I think it's a good idea to make a noscript menu too for search engines and such



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum