Change background position with jQuery
- by Mats
Hi!
I'd like to change the background position of a CSS-class while hovering a li-element.
HTML:
<div id="carousel">
<ul id="submenu">
<li>Apple</li>
<li>Orange</li>
</ul>
</div>
CSS:
#carousel { float: left; width: 960px; height: 360px; background: url(../images/carousel.png); }
Any suggestions on how to do this?