My first WordPress plugin!
Please go to IMG Mouseover on WordPress.org.
The following are new attributes to img tags:
|oversrc||When mouseover’d, the image should be changed to this|
|clicksrc||When clicked, the image should be changed to this. To revert, simply mouseout of the image.|
|noresize||If set to “true” the image area will not change in the events above.|
You can also override the a links:
|for||The ID of the image to target|
|for_link||Replace a hyperlink with the link contained the the href of this anchor|
|src||When clicked, the target image will be replaced with this source|
|oversrc||When clicked, the target image mouseover will be replaced with this image|
Example: Simple mouseover
<img src="http://farm3.static.flickr.com/2675/3820523223_cccf72f34a.jpg" class="mouseover" oversrc="http://farm3.static.flickr.com/2426/3820522177_5936afd63b.jpg"/>