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

Re: [OT] xhtml 2.0 noscript

From: David Woolley <david@djwhome.demon.co.uk>
Date: Sat, 29 Jul 2006 18:04:35 +0100 (BST)
Message-Id: <200607291704.k6TH4Zi16632@djwhome.demon.co.uk>
To: www-html@w3.org

[ off topic - how to ]

> <script type='text/javascript'>
> <!--

Real comment in XHTML.

> document.write("<p>[&nbsp;<a href='javascript:scroll(0,0);'>Top of 
> page</a>&nbsp;]</p>")

<p>[&#xa0;<a href="#top" onclick="return myscroll(0,0);">Top of page
</a>&#xa0;]</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 GMT

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