commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@multitask.com.au
Subject Re: [jelly] javascript error on website
Date Sat, 21 Dec 2002 01:45:54 GMT
The jelly site was deployed with a 'bad' version of JSL...

James, would you like me to fix the site by redeploying?
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


Jason Horman <jhorman@musicmatch.com> wrote on 21/12/2002 12:12:47 PM:

> The jelly website has a Javascript error:
> 
> Line: 22
> Error: Unterminated string constant
> 
> This is on Internet Explorer version 6.0.28.
> 
> The problem seems to be in this block:
> 
>               if (document.layers) {
>                 document.writeln("
>                   &lt;link rel='stylesheet' type='text/css'
> href='./style/ns4_only.css' media='screen' /&gt;
>                   &lt;link rel='stylesheet' type='text/css'
> href='./style/maven_ns4_only.css' media='screen'/&gt;
>                 ");
>               }
> 
> I think it should be:
> 
>               if (document.layers) {
>                 document.writeln("&lt;link rel='stylesheet' 
type='text/css'
> href='./style/ns4_only.css' media='screen' /&gt;" +
>                         "&lt;link rel='stylesheet' type='text/css'
> href='./style/maven_ns4_only.css' media='screen'/&gt;");
>               }
> 
> Using the + as a multiline joiner.
> 
> It also looks like the font is bigger than it should be, which may be
> related to the Javascript error.
> 
> -jason horman
> This email message and any attachments are for the sole use of the 
intended
> recipient(s) and may contain confidential and privileged information. 
Any
> unauthorized review, use, disclosure or distribution is prohibited. If 
you
> are not the intended recipient or his/her representative, please contact 
the
> sender by reply email and destroy all copies of the original message.
> 
> --
> To unsubscribe, e-mail: 
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:commons-dev-help@jakarta.apache.org>
> 

> ForwardSourceID:NT0009B926 

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message