Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.