![]() Topic awaiting preservation: Visibilety and z-index (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: oslo, Norway |
![]() Is it posible to change the z-index of a object with javascript, and how does the visibilety function work |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() <SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript"> |
Paranoid (IV) Inmate From: oslo, Norway |
![]() Does it work in older version of IE and NN? . I found the function named "display" works in the same way as visiblety function i think |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Doesn't work exactly the same. Changing it's display to 'none' makes it so if there are any other HTML elements after it in the page, they behave as though it weren't there, and fill up the space that it would take otherwise. Changing visibility would leave a hole where it was, because the other HTML elements still think it's there, so they don't fill up its space. |
Paranoid (IV) Inmate From: oslo, Norway |
![]() Yes i know slime, i diden't fine the word |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |