portfolio »
services »
blog »
tutorials and resources »
Join Our 4945 Members! |
sign up
or
log in
Code Snippets
Simple jQuery Image RollOver
Aligning Your Button with your Input
Prevent Searching For Nothing
IE6 z-index Bug
Firefox Flash Outline Bug
Global Margin Reset in CSS
Google Maps Geocode Address
SWFObject Embed
Use Dropdown Menu Value
PNG Fix for IE6
Simple jQuery Image RollOver
Add an id of "flip" (or whatever word you use in the script) and put _on and _off at the end of your image names.
$("#flip img").hover( function() { this.src = this.src.replace("_off","_on"); }, function() { this.src = this.src.replace("_on","_off"); } );