|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
|
|
#1
|
|||
|
|||
|
As mentioned above I need to know if I can make images appear and disappear using rollovers but without using layers. Thanking in advance. Cheers all
__________________
pixeljunkie |
|
#2
|
||||
|
||||
|
Search the forum for `image rollover` as this has been covered many times, and will probablly continued to be covered. I'd write an example, but when I searched I found that there were already lots of examples available in the forum.
__________________
# Jeremy Explain your problem instead of asking how to do what you decided was the solution. |
|
#3
|
|||
|
|||
|
Thanks there boss but looking around I don't see that anyone has any answers to this. Does anyone know how to do this. Thanking in advance, pixelj
|
|
#4
|
||||
|
||||
|
Code:
<html> <head> <script language="javascript" type="text/javascript"><!-- // Preload images so that when user onmouseovers the change // is instant and they don't have to wait for it to download myImageOn = new Image(); myImageOn.src = './images/myImageOn.jpg'; myImageOff = new Image(); myImageOff.src = './images/myImageOff.jpg'; //--></script> </head> <body> <img src="./images/myImageOff.jpg" onmouseover="this.src=myImageOn.src" onmouseout="this.src=myImageOff.src"> </body> </html> |
|
#5
|
|||
|
|||
|
if your problem is the "disappear" part, use a transparent 1x1 gif for the "off" state.
you can also modify width and height (on some browsers) to 0.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Hide and Showing images without using layers on mouse over commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|