Log in

View Full Version : What does it do?



matthewbluewars
04-07-2008, 01:02 AM
What does <noscript></noscript> do? Is it like <noframes> and displays a message if you don't have JavaScript? If so, what section (
<body> or
<head>)?

Nile
04-07-2008, 01:05 AM
You put it in the body section, and yes. Exactly what you think it does. ;)

thetestingsite
04-07-2008, 01:07 AM
In the body of the HTML document, if you have <noscript> tags, it will display what you have between them. Example:



<body>
<script type="text/javascript">
alert('This is a test');
</script>
<noscript>Your browser does not support JavaScript!</noscript>
</body>


Hope this helps.


Sorry Nile, posted at same time.

Nile
04-07-2008, 01:11 AM
Actually you posted 2 minutes after me. :p

thetestingsite
04-07-2008, 01:12 AM
Yea, but I used the quick reply so it was as if I posted at the same time (with the ajax posting feature of the board). Either way, the question has been answered.

Nile
04-07-2008, 01:14 AM
Actaully...
Lol, I used the quick reply too.

matthewbluewars
05-01-2008, 11:41 PM
Ok, what does that have to do with anything?

djr33
05-01-2008, 11:50 PM
Off topic, yes, but since the question was answered anyway, wasn't hurting much. But you're right-- question answered. So I'll go ahead and close this.