|
@@ -163,7 +163,7 @@ $(function(){
|
|
|
jqSelect(".jqSelect");
|
|
|
jqHoverShow(".classBtn", "#mainClassify");
|
|
|
}else{
|
|
|
- jqMultipleShow("click", ".footLink .list", ".tab", ".con");
|
|
|
+ jqMultipleShow("click", ".footLink .list", ".tab", ".con", true);
|
|
|
$('body').on('click', '.baseHeadCenter .mClassBtn',function () {
|
|
|
$('#mainClassify').show();
|
|
|
fixedBody();
|
|
@@ -358,7 +358,7 @@ function jqHoverShow(tab, con){
|
|
|
$(con).slideUp("fast");
|
|
|
});
|
|
|
}
|
|
|
-function jqMultipleShow(event, item, tab, con){
|
|
|
+function jqMultipleShow(event, item, tab, con, stop){
|
|
|
$("body").on(event, item+' '+tab, function(e){
|
|
|
e.stopPropagation();
|
|
|
$(this).parents(item).siblings(item).find(con).slideUp("fast");
|
|
@@ -376,9 +376,11 @@ function jqMultipleShow(event, item, tab, con){
|
|
|
}).on(event, item+' '+con, function(e){
|
|
|
e.stopPropagation();
|
|
|
}).on(event, function(){
|
|
|
- $(item+' '+tab).removeClass("on");
|
|
|
- $(item).removeClass("on");
|
|
|
- $(item+' '+con).slideUp("fast");
|
|
|
+ if(stop){
|
|
|
+ $(item+' '+tab).removeClass("on");
|
|
|
+ $(item).removeClass("on");
|
|
|
+ $(item+' '+con).slideUp("fast");
|
|
|
+ }
|
|
|
});
|
|
|
}
|
|
|
function jqSelect(selectBox){
|