html - Animating divs using jQuery -
i want animate series of divs same dimentions , i'm using jquery cancel css top marging on load simulate divs moving top have fallowing jquery:
$(function(){ $('#some_div').animate({'margin-top': '0px'}, 1000); }); </script>
this seems work top div. there way create sort of loop jquery simulates effect on divs same name.
your jquery selector points item id. definition id should ever refer 1 element. change class selector animate many items , give them same class.
Comments
Post a Comment