Advertisement
Guest User

Untitled

a guest
Sep 1st, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. var children = [];
  2. $("#prod-general").children().each(function() {
  3. children.push(this);
  4. });
  5.  
  6. function fadeThemOut(children) {
  7. if (children.length > 0) {
  8. var currentChild = children.shift();
  9. $(currentChild).set.animate({
  10. 'opacity': '1'},
  11. 500, function() {
  12. fadeThemOut(children);
  13. });
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement