jquery animate accelerates in firefox -


it's first question. don't understand why te background animation of site www.enjoyriberadelduero.com acelerates in firefox. i've seen other questions, not seem have been resolved. script its:

<script type="text/javascript">     jquery(document).ready(function($) {     setinterval(function(){         $('#full-bg img.active').animate({opacity:0},640, function(){             $(this).removeclass('active');         })         if($('#full-bg img.active').next().length>0)         $('#full-bg img.active').next().animate({opacity:1},640).addclass('active');         else         $('#full-bg img:first').animate({opacity:1},640).addclass('active');`enter code here`         } ,6400); //duración total del script.         $('#full-bg img:first').animate({opacity:1},500).addclass('active');         }); </script> 

really thank you, , apologies english.

edit----> think it's fixed, thank having look:

<script type="text/javascript">         jquery(document).ready(function($) {             setinterval(function(){             $('#full-bg img.active').stop(true).animate({opacity:0},350, function(){                 $(this).removeclass('active');             })             if($('#full-bg img.active').next().length>0) //si hay imagen siguiente                 $('#full-bg img.active').next().animate({opacity:1},350).addclass('active');             else //si es el final d ela lista                 $('#full-bg img:first').animate({opacity:1},350).addclass('active');             } ,2500); //duración total del script.             $('#full-bg img:first').stop(true,true).animate({opacity:1},200).addclass('active');         });     </script> 


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -