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.
29 lines
638 B
29 lines
638 B
// JavaScript Document
|
|
$(function(){
|
|
//完整菜单效果1
|
|
$(".menu_list").hide();
|
|
// $(".menu_list_first").show();
|
|
$(".a_list").click(function(){
|
|
var len = $('.a_list').length;
|
|
var index = $(".a_list").index(this);
|
|
for(var i=0;i<len;i++){
|
|
if(i == index){
|
|
$('.menu_list').eq(i).slideToggle(300);
|
|
}else{
|
|
$('.menu_list').eq(i).slideUp(300);
|
|
}
|
|
}
|
|
});
|
|
})
|
|
$(function(){
|
|
$(".j_menu_list").hide();
|
|
$(".j_a_list").hover(function(){
|
|
$(".leftmenu2 ul li").hover(function(){
|
|
$(this).find('.j_menu_list').show();
|
|
},function(){
|
|
$(this).find('.j_menu_list').hide();
|
|
});
|
|
})
|
|
})
|
|
|
|
|