I'm using javascript to change the background position of an image, but am also using CSS to do a hover (the image has 3 states). After I use javascript on the object once, it no longer responds to the CSS hover. Is there a way to reset it or something?
I'm using javascript to change the background position of an image, but am also using CSS to do a hover. The .hover() method binds handlers for both mouseenter and mouseleave events. You can use it to simply administer behavior to an aspect during the time the abrasion is within the element.