华少少华

BlogJava 首页 新随笔 联系 聚合 管理
  0 Posts :: 9 Stories :: 0 Comments :: 0 Trackbacks

 function setChannel(){ 
  var sID=document.getElementById("txtSID").value;
  

  if(navigator.appName=="Netscape"){
   window.open("vip_w.jsp?sID="+sID,"","top=50,left=300,modal=yes,width=500,height=600,resizable=no,scrollbars=yes");
  }
    else{
   var sReturnValue=showModalDialog("vip_w.jsp?sID="+sID,"","dialogTop:50px;dialogLeft:300px;dialogWidth:500px;dialogHeight:600px");
   
   }
  }
 }



    if(navigator.appName=="Netscape"){      
           
                window.opener.document.getElementById("txtSID").value=sChannleValue;
           
            top.close();
        }else{
            window.returnValue=sChannleValue;
            window.close();
        }
    }
    function closeWindow(){
        if(navigator.appName=="Netscape"){
            top.close();
        }else{
            window.close();
        }
    }

posted on 2007-11-21 18:25 华少 阅读(93) 评论(0)  编辑  收藏 所属分类: Javascript

只有注册用户登录后才能发表评论。


网站导航: