In Following Website If you can see big image slider is moving from right bottom to left top.
it is using this code:
$('#bgImageWrapper .new').animate({width:$('#bgImageWrapper .new').width()+bW, height:$('#bgImageWrapper .new').height()+bH},bgTime+2000);
Now i want to make this in a way so images randomly move , like from right to left, or left to right. top to bottom etc. Different easing styles.
It is using .animate function , i tried lots of ways to do it, for example,
$("#bgImageWrapper .new").animate({left: "+=200"}, 4000);
$("#bgImageWrapper .new").animate({left: "-=200"}, 4000);
But dont work. i need to move images atleast in 2 ways, and randomly. Help .Thanks

New Topic/Question
Reply



MultiQuote




|