I need to know if you can change the z-index of a <div> when an event handler is executed. Basically I just need to know if the z-index can be a variable, & if so, how can I implement this? Thanx for your help.
document.all.myDIV.style.zIndex=10000 wuld be rite for ie4x & ie5x
document.getElementById("myDIV".style.zIndex=10000 for ie5x & nn6
document.layers.myDiv.zIndex=10000 for nn4x
regards, vic
Thanx gerrygerry, the code didn't work word for word, but it did point me in the right direction to experiment till I was succesful. I ended up learning that as vituz said, it has to be zIndex, & I also found out the compatibility stuff that vituz said. I haven't worked w/ website stuff in quite a while, so I'm having to relearn alot of stuff. The more I play, the more comes back to me, like in this case. Again, thank you both for your help. The current site I'm redesigning is
I'm giving it a new design, & granted that I gain enough sense to understand it again, I'm going to implement ASP & database access. Hope yall will check it out here in a few weeks & give me some constructive critcism. The current site is not my work however, just for the record.
Daniel Leger
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.