W3C home > Mailing lists > Public > www-html@w3.org > July 2006

Re: xhtml 2.0 noscript

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 30 Jul 2006 02:46:37 +1000
Message-ID: <44CB90ED.8050503@lachy.id.au>
To: magick <jasper.magick@gmail.com>
CC: www-html@w3.org

magick wrote:
> <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>

What's wrong with just using this for everyone, regardless of script 
support?

   <a href='#top>Top of page</a>

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Saturday, 29 July 2006 16:46:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:07 GMT