var Fscroll = scroll.replace(/\s+/g, '');
            if ( Fscroll === "yes" ) {
              $(document).ready(function() {
                $('body').addClass('img-Animate');
              });
              $(window).bind('load resize scroll', function() {
                var window = $(this).height();
                $('.index-post .post-thumb').each(function() {
                  var qudr = .1 * $(this).height();
                  var omger = qudr - window + $(this).offset().top;
                  var lom = $(document).scrollTop();
                  if (lom > omger) {
                    $(this).addClass('show-with');
                  }
                });
              });
            }
            //]]>
          
 
0 Comments