Hi there.

I'm trying to link a page to an external javascript.

The problem I'm experiecing is that IE 6.0 will show a blank
page, while mozilla works just fine.. it loads the javascript
and executes it correctly.

I use the following line inside the head section:
<script type="text/javascript" src="javascript/script.js"/>

If I take out that line, IE will correctly show the page.

I have found this comment on the web
http://carroll.org.uk/archives/2005/01/17/xhtml-script-tag-in-internet-explorer
about this problem and the solution it was found was to use
a closing tag <script ..></script> instead of <script .../>
but lenya (or cocoon or else) just transforms it to <script .../>
before sending it to the browser.

I also tried to use the following line, but it doesn't
work at all, not even with mozilla:
<link rel="script" type="text/javascript" href="{$root}/javascript/script.js"/>

Any hints?
--
               Roberto Nunnari -software engineer-
                    mailto:[EMAIL PROTECTED]
                    http://www.nunnisoft.ch
  Residenza Boschetto 12           tel/fax: +41-91-6046511
  6935 Bosco Luganese        """    mobile: +41-76-3208561
  Switzerland               (o o)
========================oOO==(_)==OOo========================


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to