Skip to content Skip to sidebar Skip to footer

Sliding Div With Jquery In A Loop

My code below works a bit doggy so I need your expertises to solve these two issues. I know many examples out there but I wanted to learn a bit and also have a cleaner code. When

Solution 1:

These animations need to be chained properly. Everything for one element needs to be appear in one statement:

$('#slider_1').show(...).delay(4000).hide(...);

Otherwise jQuery will likely override the first animation chain (show) with the second chain (delay-hide) in the second statement.


Post a Comment for "Sliding Div With Jquery In A Loop"