javascript - How to create horizontal div moving -


i want know please, how create div moving horizontal.

for ex: http://usbek-et-rica.fr

are there many prepered div moving .animate() function? want understand how works.

thanks guys.

animate function changes continually css values.

$('#your-div').animate({     left: '+=500', // move 500px right }, 5000, function() { // animation complete. }); 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -