Re: [OT] xhtml 2.0 noscript

[ 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 UTC