jQuery(function($) { $('.count').countTo({ from: 0, to: '400', speed: '3000', ... You can use this: if($(".container").is(":visible")){ /* Do something */ } ...
more
more
Home »Unlabelled » javascript - How to only run a script if the DIV is in view? - Stack Overflow
Posted by Unknown on Sunday, March 9, 2014
2014 All Rights Reserved how to.
» how to: javascript - How to only run a script if the DIV is in view? - Stack Overflow
{ 0 comments... » javascript - How to only run a script if the DIV is in view? - Stack Overflow read them below or add one }
Post a Comment