Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hide a layer w/ onLoad before layer definitions?

Status
Not open for further replies.

Jakobud

Technical User
Mar 9, 2001
51
US
I have a group of images all with individual id's. When the page loads I want them to be initially hidden (until some mouseovers cause them to become visible). The only way I can think of to do this is using the onLoad command in the Body tag. But the problem here is that those images are not defined until after the body tag. So basically its like trying to hide something that isn't even there yet...

Can anyone give me some hints on how to accomplish what I want?

jake
 
one solution would be to assign each image to a css class with the visibility attribute set to "hidden".

glenn
 
you could put them in a layer and hide the layer [rockband]
whos that behind you?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top