|
@@ -18,20 +18,19 @@ $(document).ready(function(){
|
|
|
$(this).parent().next().addClass("menu-list");
|
|
|
});
|
|
|
$(".leftWrapper").hover(function(){
|
|
|
- setTimeout(function(){
|
|
|
+ timer = setTimeout(function(){
|
|
|
$(".leftWrapper").stop().animate({width:"200px"},500);
|
|
|
$(".mainWrapper").stop().animate({marginLeft:"215px",marginRight:"-200px"},500);
|
|
|
$(".subMenuText").fadeIn(500);
|
|
|
$(".logoInfo").show(500);
|
|
|
- },500);
|
|
|
+ },300);
|
|
|
},function(){
|
|
|
- setTimeout(function(){
|
|
|
+ clearTimeout(timer);
|
|
|
$(".leftWrapper").stop().animate({width:"56px"},500);
|
|
|
$(".mainWrapper").stop().animate({marginLeft:"71px",marginRight:"15px",paddingRight:"0"},500);
|
|
|
$(".subMenuText").fadeOut("fast");
|
|
|
$(".logoInfo").hide();
|
|
|
$(".subMenuContent").slideUp();
|
|
|
- },300);
|
|
|
});
|
|
|
$(".logo").hover(function(){
|
|
|
$(".logoList").show();
|