Posted By

thiagotargino on 08/26/11


Tagged

load animate


Versions (?)

Delay no carregamento de blocos no HTML


 / Published in: JavaScript
 

URL: http://www.pontomobi.com.br/web/pt/js/produtos.js

  1. (function()
  2. {
  3.  
  4. $(document).ready(function()
  5. {
  6. if($.browser.msie() == false && $.browser.safariMobile() === false)
  7. {
  8. var delay = 0;
  9. $(".box-content").each(function()
  10. {
  11. $(this).delay(delay += 300).animate({opacity:1},300);
  12. })
  13. }
  14. else if($.browser.msie() == false)
  15. {
  16. $(".box-content").css("opacity",1);
  17. }
  18. });
  19.  
  20. }())

Report this snippet  

You need to login to post a comment.