i'm trying to make a image to fade from left on load to some point on the screen. My code seems right,but is not work,nothing happens,please help: This is my function for the animatetion of the image :
<script src="http://code.jquery.com/jquery-1.10.1.min.js">
$(document).ready(function(2000,slow){
$(".img-fade").animate({left:200, opacity:"show"}, 1500);
});
</script>
and here is where i implement it in html:
<div class="latest-updates-portofolio " >
<div class=".img-fade">
<img src="img/logo.png" width="180px" height="180px">text
</div>
</div>
and the .img-fade
class is a blank class just to do the function.
And one more quesetion,how do i make it animate to left after 2 seconds after the page has finish loaded?
Thanks.