the Color Animations doesn't wokr on webkit(safari chrome)
http://plugins.jquery.com/project/color
<script type="text/javascript" src="jquery.color.js">s</script>
$('#start').animate({ 'backgroundColor':'yellow' }, 1000,'linear', function() {
})
it is works well on firefox
why ?
thanks
the answer is background,look next code
and you will be find a is not run,and b is ok(in safari and chrome):
<dl id=a style="width:100px;height:100px;">
</dl>
<dl id=b style="width:100px;height:100px;background:#fff">
</dl>
<script src="jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="jquery.color.js" type="text/javascript"></script>
<script type="text/javascript">
$('#a,#b').animate({ backgroundColor: "orange" }, 1000)
.animate({ backgroundColor: "yellow" }, 1000)
.animate({ backgroundColor: "green" }, 1000)
</script>