Click to See Complete Forum and Search --> : Get z-index value


michelle
03-19-2003, 07:32 AM
Since this works:
document.getElementById('myLayer').style.left

I thought this would work:
document.getElementById('myLayer').style.z-index

But it doesn't. How can I get the z-index?

Regards,
// Michelle

khalidali63
03-19-2003, 08:12 AM
Here is a list of CSS property names when they aare used with JavaScript

http://68.145.35.86/skills/javascripts/JavaScriptStyleProperties.html

:D

Khalid

michelle
03-20-2003, 04:59 AM
Thank you Dave for your speedy response.
And thank you Khalid for answering all my posts :D

Look out for the next one coming in a few minutes...

// Michelle