diff options
Diffstat (limited to '97suifang-front/assets/js/sidebar.js')
-rw-r--r-- | 97suifang-front/assets/js/sidebar.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/97suifang-front/assets/js/sidebar.js b/97suifang-front/assets/js/sidebar.js new file mode 100644 index 0000000..9dd1daf --- /dev/null +++ b/97suifang-front/assets/js/sidebar.js @@ -0,0 +1,11 @@ +$(document).ready(function(){ + ////伸缩式导航,兼容ff、ie + $("#nav_container").hover( + function(){ + $(".default_nav").animate({left: "194px"}, {queue:false, duration:300}); //�������(20px)+�������(86+1=87px)*2=194px + }, + function(){ + $(".default_nav").animate({left: "20px"}, {queue:false, duration:300}); //������� + } + ); +});
\ No newline at end of file |