G'day Howard,

The parameters need to be in double quotes.
Eg. <script type="text/javascript">

Kind regards,

James Foster


On Sat, Apr 12, 2008 at 9:04 PM, Howard Lowndes <[EMAIL PROTECTED]>
wrote:

> I have a small piece of js which works fine when it is embedded as
> <script> into the <head> section of an <html> file.
>
> When I write the portion (using vim) to a file and then call it with a
> <script type=text/javascript src=...> gizmo in the <head>, then it won't
> run.
>
> Using Firebug on Firefox shows that it is objecting to \n type EOL marks.
>
> Any clues??
>
> --
> Howard.
> LANNet Computing Associates - Your Linux people <http://lannetlinux.com>
> When you want a computer system that works, just choose Linux;
> When you want a computer system that works, just, choose Microsoft.
> --
> Flatter government, not fatter government; abolish the Australian states.
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to