diff options
author | Alvin Li <liweitianux@gmail.com> | 2013-08-13 17:18:00 +0800 |
---|---|---|
committer | Alvin Li <liweitianux@gmail.com> | 2013-08-13 17:18:00 +0800 |
commit | 87ed76dd20431eb2a4216f9356b6da417fe003ce (patch) | |
tree | c2c5f650f2714c0364fbd8207cfe8b72e2a17e56 /97suifang-front/assets/js/sidebar.js | |
parent | 755463eed74ed7de9a3c1a12495d2dad655d31d5 (diff) | |
download | 97dev-87ed76dd20431eb2a4216f9356b6da417fe003ce.tar.bz2 |
added '97suifang-front'
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 |