basically I'm trying to have an image fade to a color when the mouse hovers over it and turn back into the image when the mouse leaves. However, right now nothing happens at all. Here is my jquery ui code:
$(document).ready(function(){
$(".tilesetsmall").mouseover(function() {
$(this).animate({ backgroundColor:'#DEA8E0'},1000);
}).mouseout(function() {
$(this).animate({ backgroundColor:'#FF0000'},1000);
});
});
.tilesetsmall is the class of an image. I'm using this for the source of jquery ui:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
Any help would be awesome and much appreciated