Aquosus wrote on 06 okt 2006 in comp.lang.javascript
:
How do I change the z-index on a page I have tried
document.getElementById(name).style.z-index
No
document.getElementById(name).style.Zindex
No, the - is always replaced
by a uppercasing the letter that follows:
style.zIndex
instead of the name use the id
document.getElementById('myId').style.zIndex = -5
I want to change the z-index to show a layer that is covered
Forget about layers, speak <div>s
Read the specs:
<
http://msdn.microsoft.com/library/default.asp?
url=/workshop/author/dhtml/reference/properties/zindex.asp>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)