- From: David Woolley <david@djwhome.demon.co.uk>
- Date: Sat, 29 Jul 2006 18:04:35 +0100 (BST)
- To: www-html@w3.org
[ off topic - how to ] > <script type='text/javascript'> > <!-- Real comment in XHTML. > document.write("<p>[ <a href='javascript:scroll(0,0);'>Top of > page</a> ]</p>") <p>[ <a href="#top" onclick="return myscroll(0,0);">Top of page </a> ]</p> Where myscroll does feature tests to determine if the browser supports a suitable scroll function then implements it and returns true, or returns false if it can't.
Received on Saturday, 29 July 2006 17:04:43 UTC