logistic uploaded for doormile
This commit is contained in:
6
jquery-js-after.html
Normal file
6
jquery-js-after.html
Normal file
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
<![CDATA[ */
|
||||
!function($){"use strict";$(document).ready(function(){$(this).scrollTop()>100&&$(".hfe-scroll-to-top-wrap").removeClass("hfe-scroll-to-top-hide"),$(window).scroll(function(){$(this).scrollTop()<100?$(".hfe-scroll-to-top-wrap").fadeOut(300):$(".hfe-scroll-to-top-wrap").fadeIn(300)}),$(".hfe-scroll-to-top-wrap").on("click",function(){$("html, body").animate({scrollTop:0},300);return!1})})}(jQuery);
|
||||
!function($){'use strict';$(document).ready(function(){var bar=$('.hfe-reading-progress-bar');if(!bar.length)return;$(window).on('scroll',function(){var s=$(window).scrollTop(),d=$(document).height()-$(window).height(),p=d? s/d*100:0;bar.css('width',p+'%')});});}(jQuery);
|
||||
//# sourceURL=jquery-js-after
|
||||
/* ]]>*/
|
||||
Reference in New Issue
Block a user