How to simply mouse over one picture and get a second picture?
-
I am just trying to insert a simple script to swap two pictures when you rollover the first one. This is what I try to put in.
<img alt=”spade” height=”266″ src=”http://murderamongfriends.files.wordpress.com/2012/12/charbonneau_stairwellsign.jpg” width=”226″ onmouseover=”this.src=’http://murderamongfriends.files.wordpress.com/2012/12/charbonneau_stairwelllarge.jpg'” onmouseout=”this.src=’http://murderamongfriends.files.wordpress.com/2012/12/charbonneau_stairwellsign.jpg'”/>
</p>
When I look at it in the Visual mode, it looks like it is working, but when I Update — the code goes away!!!
How do I fix this?
Thanks!!
Patti
(email visible only to moderators and staff)The blog I need help with is: (visible only to logged in users)
-
We cannot use JavaScript on free hosted WordPress.com blogs for security reasons. http://en.support.wordpress.com/code/#javascript
Have you searched?
https://en.forums.wordpress.com/topic/images-in-new-pop-up-windows?replies=3
> https://en.forums.wordpress.com/topic/image-rollovers-in-wordpresscom?replies=8#post-528530
https://en.forums.wordpress.com/topic/change-image-on-mouse-rollover?replies=6#post-611283
- The topic ‘How to simply mouse over one picture and get a second picture?’ is closed to new replies.