aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/apps/indicator/static/javascripts/sidebar.js
diff options
context:
space:
mode:
Diffstat (limited to '97suifangqa/apps/indicator/static/javascripts/sidebar.js')
-rw-r--r--97suifangqa/apps/indicator/static/javascripts/sidebar.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/97suifangqa/apps/indicator/static/javascripts/sidebar.js b/97suifangqa/apps/indicator/static/javascripts/sidebar.js
new file mode 100644
index 0000000..9dd1daf
--- /dev/null
+++ b/97suifangqa/apps/indicator/static/javascripts/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