[thelist] Hanging indent

.jeff jeff at members.evolt.org
Thu Aug 23 10:54:08 CDT 2001


><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: rudy
>
> if you use javascript to generate any text on your
> page, e.g.
>
> [snip of sample code]
>
> run your page through a browser with javascript
> turned off
>
> then go back and insert some <noscript>...</noscript>
> blocks
>
> [snip of sample code]
>
> it's a little trickier to make the whole paragraph
> conditional on whether javascript is turned off, but
> it may be worth it if you feel as i do that
> completely missing functionality is preferable to a
> nyah-nyah message
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

and, if you have *any* desire to support nn2, then you better either detect
it and not perform the document.write(), otherwise they'll not only see the
javascript block, but the noscript block as well.  the reason for this is
the noscript block was introduced in js1.1 and nn2 only supports js1.0.  one
quick solution might be to change the language type on your script block
from javascript to javascript1.1.

just something to think about,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list