33
44< head >
55 < script >
6- < script async src = "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" > </ script >
6+ < script async src = "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" >
7+ </ script >
78 < script >
89 ( adsbygoogle = window . adsbygoogle || [ ] ) . push ( {
910 google_ad_client : "ca-pub-8550836177608334" ,
@@ -4050,21 +4051,25 @@ <h4 class="text-gray"><i class="linecons-tag" style="margin-right: 7px;" id="UED
40504051 </ div >
40514052 <!-- 锚点平滑移动 -->
40524053 < script type ="text/javascript ">
4053- // $(document).ready(function() {
4054- // $("#main-menu li ul li").click(function() {
4055- // $(this).siblings('li').removeClass('active'); // 删除其他兄弟元素的样式
4056- // $(this).addClass('active'); // 添加当前元素的样式
4057- // });
4058- // $("a.smooth").click(function() {
4059- // $("html, body").animate({
4060- // scrollTop: $($(this).attr("href")).offset().top - 30
4061- // }, {
4062- // duration: 500,
4063- // easing: "swing"
4064- // });
4065- // });
4066- // return false;
4067- // });
4054+ $ ( document ) . ready ( function ( ) {
4055+ $ ( "#main-menu li ul li" ) . click ( function ( ) {
4056+ $ ( this ) . siblings ( 'li' ) . removeClass ( 'active' ) ; // 删除其他兄弟元素的样式
4057+ $ ( this ) . addClass ( 'active' ) ; // 添加当前元素的样式
4058+ } ) ;
4059+ $ ( "a.smooth" ) . click ( function ( ev ) {
4060+ ev . preventDefault ( ) ;
4061+
4062+ public_vars . $mainMenu . add ( public_vars . $sidebarProfile ) . toggleClass ( 'mobile-is-visible' ) ;
4063+ ps_destroy ( ) ;
4064+ $ ( "html, body" ) . animate ( {
4065+ scrollTop : $ ( $ ( this ) . attr ( "href" ) ) . offset ( ) . top - 30
4066+ } , {
4067+ duration : 500 ,
4068+ easing : "swing"
4069+ } ) ;
4070+ } ) ;
4071+ return false ;
4072+ } ) ;
40684073
40694074 var href = "" ;
40704075 var pos = 0 ;
@@ -4076,23 +4081,8 @@ <h4 class="text-gray"><i class="linecons-tag" style="margin-right: 7px;" id="UED
40764081 e . preventDefault ( ) ;
40774082 href = $ ( this ) . attr ( "href" ) ;
40784083 pos = $ ( href ) . position ( ) . top - 30 ;
4079- $ ( "html,body" ) . animate ( {
4080- scrollTop : pos
4081- } , 500 ) ;
40824084 } ) ;
40834085 </ script >
4084- <!-- Global site tag (gtag.js) - Google Analytics -->
4085- < script async src ="https://www.googletagmanager.com/gtag/js?id=UA-111463289-1 "> </ script >
4086- < script >
4087- window . dataLayer = window . dataLayer || [ ] ;
4088-
4089- function gtag ( ) {
4090- dataLayer . push ( arguments ) ;
4091- }
4092- gtag ( 'js' , new Date ( ) ) ;
4093-
4094- gtag ( 'config' , 'UA-111463289-1' ) ;
4095- </ script >
40964086 <!-- Bottom Scripts -->
40974087 < script src ="../assets/js/bootstrap.min.js "> </ script >
40984088 < script src ="../assets/js/TweenMax.min.js "> </ script >
0 commit comments