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 .js file, called
only by that page?

OK, of course, it doesn't HAVE to be in the head, but in this case,
it's much more convenient that way. I am rolling out a dreamweaver
template that will be used on many thousands of pages. They all
reference a central javascript, but occasionally a variable needs to
be customised for certain pages. The variable is pretty much unique to
the page, so while an external file could be created, it's pointless
for one line of code... especially when dealing with a large number of
users of varying skill levels - copy and paste code samples into an
editable area in the head is nice and easy :-)

--
Andrew Harris
[EMAIL PROTECTED]
http://www.woowoowoo.com


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to