This commit is contained in:
17
skins/Dot-B/js/all.min.js
vendored
17
skins/Dot-B/js/all.min.js
vendored
@@ -1,18 +1 @@
|
||||
/*
|
||||
* Solo - A small and beautiful blogging system written in Java.
|
||||
* Copyright (c) 2010-2019, b3log.org & hacpai.com
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
jQuery("ul.sub-menu:not(.sub-menu .sub-menu)").parent().append('<div class="menu-mark" ></div>'),jQuery("ul.children:not(.children .children)").parent().append('<div class="menu-mark" ></div>'),jQuery("ul.sub-menu ul.sub-menu:not(.sub-menu .sub-menu .sub-menu)").parent().append('<div class="menu-mark2" ></div>'),jQuery("ul.children ul.children:not(.children .children .children)").parent().append('<div class="menu-mark2" ></div>');var mouseover_tid=[],mouseout_tid=[];jQuery(".header_menu ul > li").each(function(t){jQuery(this).hover(function(){var e=this;clearTimeout(mouseout_tid[t]),mouseover_tid[t]=setTimeout(function(){jQuery(e).find("ul:eq(0)").slideDown("fast")},200)},function(){var e=this;clearTimeout(mouseover_tid[t]),mouseout_tid[t]=setTimeout(function(){jQuery(e).find("ul:eq(0)").slideUp("fast")},200)})}),jQuery(document).ready(function(){$("#colorfultagcloud a").each(function(e){this.style.color=function(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],u="#",n=0;n<6;n++)e=Math.round(15*Math.random()),u+=t[e];return u}()}),jQuery("#top_bar").animate({width:"100%"},{queue:!1,duration:5e3}),jQuery("#s").mouseover(function(){jQuery(this).focus().val([""])}),jQuery(".post_meta li,body a:not(.post_meta li a)").hover(function(){jQuery(this).is(":animated")||jQuery(this).animate({opacity:".7"},220).animate({opacity:"1"},180)}),jQuery(function(){jQuery("a[href=#]").click(function(){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){var e=jQuery(this.hash);if((e=e.length&&e||jQuery("[name="+this.hash.slice(1)+"]")).length){var t=e.offset().top-100;return jQuery("html,body").animate({scrollTop:t},1e3),!1}}})}),jQuery("#return_top").hide(),jQuery(function(){jQuery(window).scroll(function(){100<jQuery(this).scrollTop()?jQuery("#return_top").fadeIn():jQuery("#return_top").fadeOut()})}),jQuery("a.tab").click(function(){jQuery(".active").removeClass("active"),jQuery(this).addClass("active"),jQuery(".content").slideUp();var e=jQuery(this).attr("title");jQuery("#"+e).slideDown()}),jQuery("#tab-title span").click(function(){jQuery(this).addClass("selected").siblings().removeClass(),jQuery("#tab-content > .widget-container").slideUp("1500").eq(jQuery("#tab-title span").index(this)).slideDown("1500")})});
|
||||
Reference in New Issue
Block a user