tags:

views:

67

answers:

2

How can I move an image from left to right with jQuery?

A: 

JQuery for absolute beginners is a video tutorial which explains techniques you might find useful (including animating images).

pavium
+1  A: 

you can use animate:

var _img = $("SELECTOR FOR IMAGE");
$(_img).animate(
     { "left": ($(_img).position().left  + 500 }, 
     200, //DURATION
     "linear", //EASING
     null);//CALLBACK

//Change 500 to what ever value you want the image to move by
TheVillageIdiot