[lug] IE java script idiocracies

Samartha Deva blug-receive at mtbwr.net
Tue Jul 24 08:53:03 MDT 2001


Symptom:

java script function body disappears on W2000 Netscape and IE.
It is there when loading the file in the browser but fails if
the page is served through apache under Linux.

The whole body stripped!

Just the
function big_window ( )
{}

normally, between the {}'s, there are a couple of function
statements writing.

It looks as if the java engine on W2000 does this.

I had similar stuff earlier, when it could not handle a simple
expression and I had to split it up:

     //  IE can't handle this code:
     // var p = "resizable, width="+(wP+20)+", height="+(hP+50);
     // var wvar=window.open("",pic_name,p);
     wP += 23;
     hP += 60;
This was the same for Netscape and IE under W2000 and W98.

Is this perhaps a version issue?

Linux Netscape, Mozilla, Konqeror does it fine.




More information about the LUG mailing list