<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">		       $(document).ready(function(){
		       	    
		       	      var topHg = $("#content_top").height();  //获得滚动DIV的高度
		       	      var screenHg = document.documentElement.clientHeight;  //获得屏幕可视的高度
		       	      if(topHg&lt;screenHg){$(".shortcut-left").show();}  //判断左快捷菜单是否显示
		       	      
		       	      $.each($(".shortcut-left div"), function() { //加载页面时执行
		       	      	
		       	      	  var liindex = $(".shortcut-left div").index(this); //当前是第几个菜单
		       	      	  
		       	      	  var wdh = $(".shortcut-leftdivli div:eq("+liindex+")").children().width(); //当前DIV子元素的宽度
		       	      	  
		       	      	  var pdg = parseInt($(".shortcut-leftdivli div:eq("+liindex+")").children().css("padding-Right")); //当前DIV子元素的margin值
		       	      	  
		       	      	  $(".shortcut-leftdivli div:eq("+liindex+")").children().css( "left" , -wdh-pdg); //回到原点
		       	      	  
		       	      });
		       	      
		       	      $(".shortcut-left div").click(function(){  //点击快捷菜单跳转功能
		       	      	  
		       	      	  
		       	      	  var oindex = $(".shortcut-left div").index(this);  //获取当前左快捷菜单
		       	          
		       	          $(".shortcut-left div a").addClass("cssdiv").removeClass("indexcss");
		       	          $(".shortcut-left div:eq("+oindex+") a").removeClass("cssdiv").addClass("indexcss");
		       	          
		       	          var maring = parseInt( $("#shortcut-right .shortcut-right-div:eq("+oindex+")").css("margin-top")); //margin-top值
		       	        
		       	          var divH = $("#shortcut-right .shortcut-right-div:eq("+oindex+")").outerHeight(true); //DIV的高
		       	       
		       	          var index= (oindex * divH + maring ) + topHg;  //当前DIV减去滚动DIV的高度
		       	        
		       	          var gundong = (window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body'); //判断浏览器
		       	              gundong .animate({ scrollTop: index }, 500);  //滚动动画时间
		       	     
		       	      });
		       	      
		       	      
		       	     
		       	      $(".shortcut-left div").hover(function(){
		       	      	
		       	      	 	var index = $(".shortcut-left div").index(this); 
		       	      	 	
		       	      	    $(".shortcut-left div span:eq("+ index +")").animate({width:"200px",paddingLeft:"50px"},300);
		       	      },function(){
		       	      	
		       	      	    var index = $(".shortcut-left div").index(this);
		       	      	    
		       	      	    $(".shortcut-left div span:eq("+ index +")").animate({width:"0px",paddingLeft:"0px"},50);
		       	      });

		       	     
		       	         
		       });
		      
		      
		      var xian = [0,0,0,0,0,0,0,0,0,0,0,0]; //左右切换----开始
		      
		      $(document).ready(function(){ //左滑动
		      	
		      	      $.each($(".nextdiv"),function(){
		      	      	
		      	      	  var thisP = $(this).parents(".shortcut-right-div");  // 获取当前的祖元素
		      	      	  var index = $("#shortcut-right .shortcut-right-div").index(thisP); //当前第几个DIV
		      	      	  
		      	      	  var wlong = $(".chanpindiv").width();  //获取宽度
		      	      	  var imgwdh = $(".chanpindivimg").outerWidth(true); //获取宽度包括padding , margin
		      	      	  var ping = imgwdh*4;  //一屏宽
		      	      	  
		      	      	  if(xian[index]&gt;=0) { //默认按钮失效
		      	      	  	
		      	      	  	$(".nextdiv").css("background-image","url(img/nextdiv1.png)");
		      	      	  	$(".nextdiv").css("cursor","auto");
		      	      	  	return;
		      	      	  } //判断不让点
		      	      	  
		      	      	  
		      	      });
		      	
		      	      $(".prevdiv").click(function(){
		      	      	  var thisP = $(this).parents(".shortcut-right-div");  // 获取当前的祖元素
		      	      	  var index = $("#shortcut-right .shortcut-right-div").index(thisP); //当前第几个DIV
		      	      	 
		      	      	  var wlong = $(".chanpindiv").width();  //获取宽度
		      	      	  var imgwdh = $(".chanpindivimg").outerWidth(true); //获取宽度包括padding , margin
		      	      	  var ping = imgwdh*4;  //一屏宽
		      	      	  
		      	      	  $(".nextdiv").css("background-image","url(img/nextdiv.png)");
		      	      	  $(".nextdiv").css("cursor","pointer");
		      	      	 
		      	      	  if(xian[index]&lt;=-wlong+ping) { return;} //判断不让点
		      	      	  
		      	      	  var shixiao = xian[index] -= ping;   //当然是第几个DIV左右切换 
		      	      	  
		      	      	  if(shixiao&lt;=(-wlong+ping)){  //判断按钮失效
		      	      	  	
		      	      	  	  $(".prevdiv").css("background-image","url(img/prevdiv1.png)");
		      	      	  	  $(".prevdiv").css("cursor","auto");
		      	      	  }
		      	      	  
		      	      	  $(this).nextAll().children(".chanpindiv").animate({left:xian[index]},500);  //500毫秒的速度左右滑动
		      	      	  	 
		      	      });
		      	      
		      	      $(".nextdiv").click(function(){   //右滑动
		      	      	  var thisP = $(this).parents(".shortcut-right-div");  // 获取当前的祖元素
		      	      	  var index = $("#shortcut-right .shortcut-right-div").index(thisP); //当前第几个DIV
		      	      	  
		      	      	  var wlong = $(".chanpindiv").width();  //获取宽度
		      	      	  var imgwdh = $(".chanpindivimg").outerWidth(true); //获取宽度包括padding , margin
		      	      	  var ping = imgwdh*4;  //一屏宽
		      	      	  
		      	      	  $(".prevdiv").css("background-image","url(img/prevdiv.png)");
		      	      	  
		      	      	  if(xian[index]&gt;=0) {return;} //判断不让点
		      	      	  
		      	      	  var shixiao = xian[index] += ping;  //当然是第几个DIV左右切换
		      	      	  
		      	      	  if(shixiao&gt;=0){  //判断按钮失效
		      	      	  	  
		      	      	  	  $(".nextdiv").css("background-image","url(img/nextdiv1.png)"); 
		      	      	  	  $(".nextdiv").css("cursor","auto");
		      	      	  }
		      	      	  
		      	      	  $(this).siblings().children(".chanpindiv").animate({left:xian[index]},500);  //500毫秒的速度左右滑动
		      	      	  
		      	      });
		      }); //左右切换----结束</pre></body></html>