IE Javascript
-
- Guest
-
- Guest
This is my problem ...and it is the Firebirds problem.
I cannot enter to my Bank site and Javascript Console signals these errors >>>
>Error: document.layers has no properties
Source File: file:///c:/doc/BPV%20privati.htm
Line: 40
>Error: document.layers has no properties
Source File: file:///c:/doc/BPV%20privati.htm
Line: 100
>Error: event is not defined
Source File: file:///c:/doc/BPV%20privati.htm
Line: 119
And these are the three statements >>>>>>
>is_ie?document.all[menuopen].style.visibility='hidden':document.layers[menuopen].visibility='hidden';
>is_ie?document.all[menuopen].style.visibility='hidden':document.layers[menuopen].visibility = 'hidden';
>var x = (document.layers) ? e.pageX : event.clientX;
IE works fine using "document.all" .
Mozilla uses "document.layers" and maybe there is a problem or the programmers
are not so much able with Netscape Javascript....but most of the clients has IE and
the programmers are not so much interested to the Netscape.........
It's a pity because I'd prefer Firebirds but it cannot be only for surfing web.........
Thanks a lot.
I cannot enter to my Bank site and Javascript Console signals these errors >>>
>Error: document.layers has no properties
Source File: file:///c:/doc/BPV%20privati.htm
Line: 40
>Error: document.layers has no properties
Source File: file:///c:/doc/BPV%20privati.htm
Line: 100
>Error: event is not defined
Source File: file:///c:/doc/BPV%20privati.htm
Line: 119
And these are the three statements >>>>>>
>is_ie?document.all[menuopen].style.visibility='hidden':document.layers[menuopen].visibility='hidden';
>is_ie?document.all[menuopen].style.visibility='hidden':document.layers[menuopen].visibility = 'hidden';
>var x = (document.layers) ? e.pageX : event.clientX;
IE works fine using "document.all" .
Mozilla uses "document.layers" and maybe there is a problem or the programmers
are not so much able with Netscape Javascript....but most of the clients has IE and
the programmers are not so much interested to the Netscape.........
It's a pity because I'd prefer Firebirds but it cannot be only for surfing web.........
Thanks a lot.
- alanjstr
- Moderator
- Posts: 9100
- Joined: November 5th, 2002, 4:43 pm
- Location: Anywhere but here
- Contact:
Netscape 4 uses document.layers. IE uses document.all. You should be using document.getElementByID which is supported by IE and Mozilla.
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
-
- Guest