- From: magick <jasper.magick@gmail.com>
- Date: Sat, 29 Jul 2006 12:32:40 -0400
- To: www-html@w3.org
>Why do you need a noscript element here?
That was a bad example, try this one:
<script type='text/javascript'>
<!--
document.write("<p>[ <a href='javascript:scroll(0,0);'>Top of
page</a> ]</p>")
//-->
</script>
<noscript>
<p>[ <a href='#top>Top of page</a> ]</p>
</noscript>
As opposed to just this:
<p>[ <a href='javascript:scroll(0,0);'>Top of page</a> ]</p>
That's when <noscript> is useful. Still allowing fuctionality when JS
isn't enabled or supported
Received on Saturday, 29 July 2006 16:33:11 UTC