leonpersian
پنج شنبه 19 بهمن 1391, 23:43 عصر
دوستان مشکل این کد ساده چیه؟
کار نمیکنه
<script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script>
<script>
$(function () {
$("#MyLogo").hover(function(){
$(this).animate({ backgroundColor: '#fed900' }, "slow");
}, function () {
$(this).animate({ backgroundColor: '#4a8cf7' }, "slow");
});
});
</script>
کار نمیکنه
<script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script>
<script>
$(function () {
$("#MyLogo").hover(function(){
$(this).animate({ backgroundColor: '#fed900' }, "slow");
}, function () {
$(this).animate({ backgroundColor: '#4a8cf7' }, "slow");
});
});
</script>