Topic awaiting preservation: Visibilety and z-index |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: oslo, Norway |
posted 09-22-2001 16:16
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 |
posted 09-22-2001 17:51
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript"> |
Paranoid (IV) Inmate From: oslo, Norway |
posted 09-22-2001 18:13
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 |
posted 09-22-2001 18:23
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 |
posted 09-22-2001 18:31
Yes i know slime, i diden't fine the word |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 09-22-2001 18:36 |