JRS: In article <11************ **********@z14g 2000cwz.googleg roups.com>,
dated Sun, 19 Dec 2004 13:49:47, seen in news:comp.lang. javascript, RobB
<fe******@hotma il.com> posted :
You get the award for "worst snippet of the week". No contest.
Client-sniffing, language attribute, and - naturally - scripting in
'string language' with the help of our old *friend* eval().
However, he did indent the code, which makes the intended logical
structure much more apparent to readers (although using units of two
spaces is, for me at least, preferable); and he did not double-space or
mis-wrap it.
There's an implied <FAQENTRY> there, for 2.3 paragraphs 4 & 6.
Possible FAQ Question 4.0 - "How should javascript be written" - answer
to include indent & paragraph, spaces, line-length for News, and probably
a link to FAQ notes. Praise plaintext editing, validators, etc., and
knock inferior composing packages, if those can be done briefly.
It's FA, even if not a FQ !
The "can not" in the FAQ (4.33) should, as everywhere else, be "cannot".
--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.c om/faq/> JL/RC: FAQ of news:comp.lang. javascript
<URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.