cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Makeig <li...@makeig.com>
Subject Re: Javascript Error
Date Thu, 18 Sep 2003 22:05:17 GMT
Try:

<script language="javascript" src="main.js">//</script>

(You should also use type="text/javascript" rather than the depricated
language attribute. See http://www.w3schools.com/tags/tag_script.asp)

- Justin

On 9/18/03 9:01 AM, "Lionel Crine" <crine@4dconcept.fr> wrote:

> I have some trouble with javascript.
> 
> 
> With a xhtml file like that :
> <html xmlns="http://www.w3.org/1999/xhtml">
>  <head>
> 
>    <title>Open a Declaration</title>
>    <script language="javascript" src="main.js"/>
> 
>  </head>
>  <script> </script> --> notice the blank space
>  <body>
> 
> the document is well displayed.
> 
> BUT : whith this :
> <html xmlns="http://www.w3.org/1999/xhtml">
>  <head>
> 
>    <title>Open a Declaration</title>
>    <script language="javascript" src="main.js"/>
> 
>  </head>
>  <body>
> 
> I have a blank page.
> 
> What's happening, did I miss something ??
> 
> Lionel CRINE
> Société : 4DConcept
> 22 rue Etienne de Jouy 78353 JOUY EN JOSAS
> Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message