Save yourself! I have a drawing of an arrow, and I would like it to move down and up without stopping, from the moment someone uploaded the page.
$(document).each(function() {
$('#seta').animate({top: "100px"}, 1000 ),
$('#seta').animate({top : "-100px" }, 1000);
});
I did it and it seems to work, but it just goes down and up and on and on.
I've read the jquery documentation a bit until I get to this .each()
but I'm having trouble understanding why it is not working, thank you!