dlaczego ta prosta funkcja nie "wyrzuci" obrazka nr 3 na sam wierzch?
<html> <head> <script type="text/javascript"> function changeStyleOnHover() { var doc = document.getElementById("imgThird"); doc.style.zIndex='9999'; doc.style.left = -10; doc.style.top = -10; } </script> <img src="1.jpg" alt="" style="z-index: 2; position:absolute; " id="imgFirst" /> <img src="2.jpg" alt="" style="z-index: 3; position:absolute; " id="imgSecond" /> <img src="3.jpg" alt="" style="z-index: 4; position:absolute; left:100px; " id="imgThird" /> </body> </html>