[Javascript] js and css display: none

BEKIM BACAJ trojani2000 at hotmail.com
Mon Mar 29 17:21:12 CST 2004


No. display property removes the block completely making space for other 
cascading elements to take its place.
Try using visibility property if you like it to become available in link 
collection of the document so you will be able to put it in an array with 
your script.


>From: "Ira S. Mark" <ismark at ismdesigns.com>
>Reply-To: "[JavaScript List]" <javascript at LaTech.edu>
>To: js list post <javascript at LaTech.edu>
>Subject: [Javascript] js and css display: none
>Date: Sun, 28 Mar 2004 20:50:49 -0500
>
>List: I am having trouble with an onload script. (And what else is new?) 
>Have a question which I assume is "yes." but want to be sure: if a link is 
>in a block of code that is display: none, it still part of the 
>document.links array, no? Display removes code from presentation, but not 
>from the document tree(?). Thanks, Ira
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail




More information about the Javascript mailing list