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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i change images in a layer?

Status
Not open for further replies.

kaul1jos

Technical User
Jan 5, 2001
76
NL
i have a closed door image positioned with a layer on my page.

i would like to show an animated dooropen image after a mouseclick on the closed door. after that i will wait a short time and then open a new page in the same frame

i tried allready a few times but the closed door will still at the front and the animated gif stays behind

please help???
 
you could try scripting the ABOVE or BELOW property of the LAYER tag or try scripting the ZINDEX property of the LAYER tag. Your best off controlling the ZINDEX. To do this use the following code:
Code:
document.layername.zIndex = -1;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top