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: <link> vs. <script> for external scripts

From: Toby A Inkster <tobyink@goddamn.co.uk>
Date: Fri, 21 Nov 2003 11:48:04 +0000
To: Ernest Cline <ernestcline@mindspring.com>
Cc: W3C HTML List <www-html@w3.org>
Message-ID: <20031121114804.GB24730@ophelia.goddamn.co.uk>
On Thu, Nov 20, 2003 at 10:00:56AM -0500, Ernest Cline wrote:
| Toby A Inkster <tobyink@goddamn.co.uk> wrote:
| 
| > I'm not even entirely sure that we need <noscript/>. What about:
| >
| > <body onload="document.getElementById('noscript').style.display='none';">
| > 	<h1>Example</h1>
| > 	<p id="noscript">This paragraph acts more or less the same as a
| > 	<code>&lt;noscript/&gt;</code> element.</p>
| > </body>
| 
| And what if a user has scripting enabled, but styles disabled?
| Then the "noscript" elements would still be displayed which is not
| what is desired..

I did indeed think about this shortly after posting the message. I
don't have a great deal of DOM knowledge (getElementById and changing
the style properties is about as complex as it gets for me) although
I'm pretty sure there is a way to completely delete a node from the
DOM.

-- 
Toby A Inkster BSc (Hons) ARCS
Contact Me - http://www.goddamn.co.uk/tobyink/?page=132 

Received on Friday, 21 November 2003 06:48:11 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.