Hi All ,
I have a image inside a div which is 100*100 , i want to move the image inside the div like various company's does. for example www.zazzle.com does that.
I tried the below code ,but it is pushing all other divs down ,the divs are getting expanded. any idea how to do this.
$item.animate({height: '+=5', width: '+=5'}, 'fast', function() {
$item.animate({height: '-=10', width: '-=10'}, 'fast', function() {
$item.animate({height: '+=5', width: '+=5'}, 'fast', function() {
//animation finished
});
});
});