![]() |
|
![]() |
||
![]() |
![]() |
|
[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:51:02 -0400 To: www-html@w3.org Message-id: <44CB91F6.5070405@gmail.com> It adds a new query string to the url (site.com/page.html#top) The JS method puts less strain on the server since it doesn't have to send a new query to the server to find out where on the page to jump to. I thought you knew that? > magick wrote: > > <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> > > What's wrong with just using this for everyone, regardless of script > support? > > <a href='#top>Top of page</a> > > -- > Lachlan HuntReceived on Saturday, 29 July 2006 16:51:17 GMT |
|
||||||||||||||||