You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
697 B
32 lines
697 B
$(function(){
|
|
//图标隐藏菜单
|
|
$(".entrance").hover(function(){
|
|
$(this).children(".user-menu").show();
|
|
},function(){
|
|
$(this).children(".user-menu").hide();
|
|
});
|
|
|
|
$('.action .detailed').each(function(){
|
|
$(this).click(function() {
|
|
detailed_content();
|
|
return false;
|
|
});
|
|
});
|
|
|
|
$('.action .thinkbox-image').each(function(){
|
|
$(this).click(function() {
|
|
thinkbox_image();
|
|
return false;
|
|
});
|
|
});
|
|
|
|
(function(){
|
|
var $nav = $("#nav"), $current = $nav.children("[data-key=" + $nav.data("key") + "]");
|
|
if($nav.length){
|
|
$current.addClass("current");
|
|
} else {
|
|
$("#nav").children().first().addClass("current");
|
|
}
|
|
})();
|
|
|
|
});
|