网页特效:隐藏层的打开关闭

网页特效:隐藏层的打开关闭,第1张

网页特效:隐藏层的打开关闭,第2张


  
  隐藏层的打开关闭
  
  
  
  
  <script language=javascript>
  ie4=(document.all)?true:false;
  ns4=(document.layers)?true:false;
  function toExit(){
   var args=toExit.arguments;
   var visible=args[0];
   if(ns4){
   theObj=eval("document.layers[\'"+args[1]+"\']");
   if(theObj)theObj.visibility=visible;
   }
   else if(ie4){
   if(visible=='show')visible='visible';
   if(visible=='hide')visible='hidden';
   theObj=eval("document.all[\'"+args[1]+"\']");
   if(theObj)theObj.style.visibility=visible;
   }
  }
  </script>
  

  style="HEIGHT: 80px; LEFT: 309px; POSITION: absolute; : 150px; VISIBILITY: hidden; WIDTH: 180px; Z-INDEX: 1">
    width=180>
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  color=#ffffff>你看,这是一个隐藏的层,不过现在你可以看到了。
  href="javascript:toExit('hide','boysoft')">关闭此窗口

  

  
DABAN RP主题是一个优秀的主题,极致后台体验,无插件,集成会员系统
白度搜_经验知识百科全书 » 网页特效:隐藏层的打开关闭

0条评论

发表评论

提供最优质的资源集合

立即查看 了解详情