0
hail personal! I have a drawing of an arrow, and I would like it to move down and up without stopping, from the moment someone loads 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 then it stops for good.
I read some jquery documentation until I arrived at this .each()
but I’m having trouble understanding why it’s not working, thank you!