Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

Re: xhtml 2.0 noscript

From: magick <jasper.magick@gmail.com>
Date: Sat, 29 Jul 2006 12:32:40 -0400
To: www-html@w3.org
Message-id: <44CB8DA8.7030209@gmail.com>

 >Why do you need a noscript element here?


That was a bad example, try this one:


<script type='text/javascript'>
<!--
document.write("<p>[&nbsp;<a href='javascript:scroll(0,0);'>Top of 
page</a>&nbsp;]</p>")
//-->
</script>
<noscript>
<p>[&nbsp;<a href='#top>Top of page</a>&nbsp;]</p>
</noscript>

As opposed to just this:

<p>[&nbsp;<a href='javascript:scroll(0,0);'>Top of page</a>&nbsp;]</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 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.