完美政府版,正版网站解决方案

源代码在线查看: sadmin_left.asp

软件大小: 14124 K
上传用户: koalalee
关键词: 方案 网站
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				
								Response.Write replace(Style_Header2,"$Title",Lang_sAdmin_Me)
				%>
				
				
				
				  
				    var current;
					NS4 = (document.layers) ? 1 : 0;
				    with (document) {
				        write("");
				        if (NS4) {
				            write(".hiddd {position:absolute; visibility:visible}");
				        }
				        else {
				            write(".hiddd {display:none}")
				        }
				        write("");
				    }
				
				  var aj_img1=new Image();
				  aj_img1.src="style/images/touming.gif";
				  var aj_img2=new Image();
				  aj_img2.src="style/images/icon_l.gif";
				  var aj_img3=new Image();
				  aj_img3.src="style/images/icon_k.gif";
				  var aj_img4=new Image();
				  aj_img4.src="style/images/icon_h.gif";
				
				  // convert all characters to lowercase to simplify testing 
				  var agt=navigator.userAgent.toLowerCase();
				  // Note: On IE5, these return 4, so use is_ie5up to detect IE5. 
				  var is_major = parseInt(navigator.appVersion); 
				  var is_minor = parseFloat(navigator.appVersion); 
				  var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) 
				                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) 
				                && (agt.indexOf('webtv')==-1)); 
				  var is_nav3 = (is_nav && (is_major == 3));
				  var is_nav4up = (is_nav && (is_major >= 4));
				  var is_ie   = (agt.indexOf("msie") != -1);
				  var is_ie4up  = (is_ie  && (is_major >= 4));
				  
				
					function headerDisplay(fordiv)
					{ 
				      var headerBox, visible, hidden, toit, ccimg;
					
					  if((is_nav4up || is_ie4up))
					  {
				        if (document.layers)
					    {
					      visible = 'show';
						  hidden = 'hide';
						  headerBox = document.layers[fordiv];
						  ccimg = document.layers[fordiv + 'i'];
						  if (headerBo.visibility==visible) {
							  headerBo.visibility=hidden;
							  ccimg.src='style/images/icon_h.gif';
						  }
						  else
						  {
							  headerBo.visibility=visible;
							  ccimg.src='style/images/icon_k.gif';
					      }
					    }
					    else if (document.all)
					    {
							if (document.all(fordiv).style.display == 'none')
							{
							  document.all(fordiv).style.display = 'block';
							  document.all(fordiv+'i').src='style/images/icon_k.gif'
							}
							else
							{
							  document.all(fordiv).style.display = 'none';
							  document.all(fordiv+'i').src='style/images/icon_h.gif'
							}
					    }
						else if (document.getElementById)
						{
						  visible = 'visible';
						  hidden = 'hidden';
						  headerBox = document.getElementById(fordiv).style;
						  ccimg = document.getElementById(fordiv+'i');
						  if (headerBo.visibility==visible) {
							  headerBo.visibility=hidden;
							  ccimg.src='style/images/icon_h.gif'
						  }
						  else
						  {
							  headerBo.visibility=visible;
							  ccimg.src='style/images/icon_k.gif'
						  }
						}
				      }
					  return;
					}
					
				  
				
				  
				  
				    
				
				
				 
				  
				      
					  
					  
					  
				      
				      
				  
				 
				  
				      
				      
					  
				      
				      
				  
				
				 
				 
				
				  
				  
							

相关资源