Just in this case Felix...

This proposed solution won´t work for me...

Its weird, when i try to include a second javascript(first script file is on 
other place migrated to use at least one), so it happens that this javscript 
wont work. For example, i cannot get access to functions or variables within 
this source file... Its like as that they script file never be exist.

What a scary Saturday  :D


Felix Knecht wrote:
> [EMAIL PROTECTED] schrieb:
>> Hi there, i´ve since a few days much more problems with Javascript 
>> and Cocoon then ever...
...
>> 
>> Example(in this case there is in test.js a function named "test" 
>> and within of them an alert invocation ):
>> 
>> <xsl:template match="body">
>> 
>> <body> <script src="test/test.js" language="Javascript"/> 
>> <script>test();</script> </body>
> 
> I had simular problems. What helped in my case was to have a starting
>  and ending tag for script like
> 
> <body> <script src="test/test.js" language="Javascript"> <!-- Dummy 
> text --> </script> <script>test();</script> </body>

Yes, that's exactly it; Internet Explorer in particular will ignore
everything after a <script> tag if it is not closed with a </script>
tag.  Using the XML-style closing <script/> will not work.
http://www.phpied.com/ie-script-tag-problem/

Please note this has nothing to do with Cocoon in particular but is
simply a browser issue.

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

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

Reply via email to