Re: [WSG] commenting javascript in script tags

2007-04-26 Thread David Hucklesby
On Thu, 26 Apr 2007 10:26:41 +1000, Andrew Harris wrote: 'morning all, It is common and often recommended practice to comment javascript placed in a document. script type=text/javascript language=javascript !-- myVariable = 'woo'; // -- /script Netscape 2 introduced JavaScript

Re: [WSG] commenting javascript in script tags

2007-04-26 Thread Stuart Foulstone
Hi, HTML is not required to be forgiving of minor errors and omissions. It's the normal PC based browsers such as IE, Netscape and Mozilla that developed alongside non-standards coding (and Dreamweaver) that had to be forgiving of errors - not HTML per se. A mobile lightweight browser that does

Re: [WSG] commenting javascript in script tags

2007-04-26 Thread Stuart Foulstone
Hi, Could you explain why the script snippet has to be in the head? Will it have some some adverse effect on other pages if in a common external file? If so, why can't it be in an additional .js file, called only by that page? Stuart On Thu, April 26, 2007 2:47 am, Andrew Harris wrote: On

Re: [WSG] commenting javascript in script tags

2007-04-26 Thread Patrick H. Lauke
David Hucklesby wrote: CDATA sections are required for embedded code only for XHTML. If your file names end in .htm, .html, .php etc. then every browser in the world will treat your XHTML as poorly marked up HTML. Not if you send an explicit XHTML+XML or similar MIME type. P -- Patrick H.

Re: [WSG] commenting javascript in script tags

2007-04-26 Thread Breton Slivka
On 26/04/2007, at 5:19 PM, Andrew Harris wrote: On 4/26/07, Stuart Foulstone [EMAIL PROTECTED] wrote: Could you explain why the script snippet has to be in the head? Will it have some some adverse effect on other pages if in a common external file? If so, why can't it be in an additional

Re: [WSG] commenting javascript in script tags

2007-04-26 Thread Lachlan Hunt
Andrew Harris wrote: It is common and often recommended practice to comment javascript placed in a document. script type=text/javascript language=javascript !-- myVariable = 'woo'; // -- /script Don't bother using those comments, they're a waste of time. The reason cited is that

Re: [WSG] commenting javascript in script tags

2007-04-26 Thread Mordechai Peller
Michael MD wrote: PC-based browsers are forgiving because that's what most users prefer. I don't think most users know enough to even have a preference. The problem is that if many pages don't render properly, they are more likely to blame the browser that the sites. Strictly speaking, most

[WSG] Yahoo Groups

2007-04-26 Thread Marvin Hunkin
Hi. now was wondering, need some help. got a group called JawsOz at http://groups.yahoo.com/groups/JawsOz/ now was wondering, how do i change the settings, so it is a private group, and not public, and what settings, and where do i find them? got a couple of friend, helping me out, moderating, so

ADMIN Thread Closed Re: [WSG] Yahoo Groups

2007-04-26 Thread Lea de Groot
On Fri, 27 Apr 2007 10:38:51 +0930, Marvin Hunkin wrote: got a group called JawsOz at http://groups.yahoo.com/groups/JawsOz/ This threadd is off topic and closed - if you would like to discuss with Marvin please reply off list. warmly, Lea -- Lea de Groot WSG Core Group