- 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>
Received on Friday, 21 November 2003 06:48:11 UTC
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><noscript/></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 UTC