PDA

View Full Version : Testing my javascript in <> environnement


freddybee
12-10-2002, 09:23 PM
Hi everybody.

I have more or less finished my brand new website.
I wrote a lot of javascript code thanks to some of you.
I use IE6 with XP

A friend of mine told me that he had some pb with IE5

I finally found someone with an IE5.5 installed but everything works fine. After several days of research, there is one guy who had NT with IE5 .... and I was able to find one of the error (by the way IE5- is not able to understand an accuentated variable (sorry I'm french and as an example "départ" has to have the accent on the e).

I do have another pb, I do have a layer on top of other with a table in it

<table width="215" border="0" cellpadding="0" cellspacing="0"><tr><td height="2" bgcolor="'+MenuBgColorTop+'"></td></tr><tr><td bgcolor="'+MenuBgColorSep+'"></td></tr><tr><td height="400">&nbsp;</td></tr></table>

The firs row of the layer has a color in the baground and that's it.
The second and last row nothing, but is supposed to hide another layer with content behind.

In IE5.5 and 6 it works fine.
In IE5, the content of the layer behind is seen through that layer.

Any idea to solve

Do you know a software wich emulate IE4, IE5, IE5.5, etc ...
I found one but it is only capable of emulating IE4 or less.


Thanks again for your support :thumbsup:

Graeme Hackston
12-11-2002, 04:33 AM
Did you try z-index?

http://www.w3schools.com/css/pr_pos_z-index.asp

In javascript I beleive it is Zindex (can't use the "-")

jkd
12-11-2002, 04:35 AM
zIndex

Graeme Hackston
12-11-2002, 04:37 AM
thanks jkd

freddybee
12-11-2002, 08:24 AM
Originally posted by Graeme Hackston
thanks jkd

Thank you Graham for your help.

As you read in my message my layer is on top of another.
That works fine in IE5+ and yes I do use the zindex to order my layer.

The pb is somewhere else.

Any other idea ???

brothercake
12-11-2002, 12:03 PM
Browser emulators are worse than useless - really, *worse* than useless.

What you need is a virtual-desktop kind of thing - where you can install virtual computers running independent OSs - then you can install anything you want, such as IE4 on Win95 or IE5 on Win2K. My recommendation would be VMWare (http://www.vmware.com)