image rollovers
-
Can I do image rollovers where I have a picture and when you put your mouse over it, the picture changes?
This is the code that i came up with, but when I put this in the editer, it changes it back to just a singular image.‘<body onload=”MM_preloadImages(‘ROLLOVER IMAGE’)”><img src=”MAIN IMAGE” name=”Image2″ width=”100″ height=”150″ border=”0″ id=”Image2″ />
</body>’ -
-
-
I think you can do it with CSS, but you ould have to be pretty clever on WordPress.com. I don’t know if this link helps or not:
https://en.forums.wordpress.com/topic/css-rollover-images?replies=19
Of course you need the CSS Upgrade for it to stick.
-
The only rollover code I have has javascript in it and I have not found an html only version – which makes sense because the image has to be able to detect when the mouse is over the image in order to change it and issue the command to change it, and then change it back when the mouse moved off of the image.
-
I have seen people do it completely in CSS…http://www.webreference.com/programming/css_gallery/
The example is here: http://www.webreference.com/programming/css_gallery/examples/gallery.htm
Again, you would need to be clever to do that is WP.com
- The topic ‘image rollovers’ is closed to new replies.