Re: xhtml 2.0 noscript

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 UTC