i have notice that
pages that include javascript code this way:
<script src="javascript/mainmenu.js"/>
served from cocoon (i think that cocoon has nothing to do with that) give
blank results in IE. asking for "View source " you can see the generated
xhtml code but IE display nothing
changing to:
<script src="javascript/mainmenu.js"></script>
everything work fine but its not standard to generate _empty_ element this
way using xslt
is this a IE bug
anyone has notice something similar?
stavros
On Mon, 18 Aug 2003, frederic bertin wrote:
>
> > Javascript in xhtml page should be handle in a particular way ?
>
> yes, this way:
>
> <script language="javascript">
> *<!--*
> function controle() {
> ...
>
> if (subgif != 'gif' & subgif != 'GIF')
> ...
> }
> //-->
> </script>
>
> Fred
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]