|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Does anyone here know how to create layers with an image?
Basically, what i want to do is, mouse over a text link and I want the image to appear on specified coords. Any help would be greatly appreciated, thanks! |
|
#2
|
|||
|
|||
|
Code:
<img id='img1' src='...' style="position:absolute;top:50px;left:20px;display:none;'/>
...
onmouseover='document.getElementById("img1").style.display="block";'
onmouseout='document.getElementById("img1").style.display="none";'
You could also toggle visibility between 'visible' and 'hidden'. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS layers with images? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|