Docs/ExperienceUI/open_popup.hta
changeset 0 d5ce4c64ef88
equal deleted inserted replaced
-1:000000000000 0:d5ce4c64ef88
       
     1 <script>
       
     2 function PopupWin(vName,vLink,vWidth,vHeight,vLeft,vTop,vScrollbar,vResizable)
       
     3 {
       
     4 var para = '';
       
     5 if(vWidth!=0)
       
     6 {para += ',width=' + vWidth;}
       
     7 if(vHeight!=0)
       
     8 {para += ',height=' + vHeight;}
       
     9 if(vLeft!=0)
       
    10 {para += ',left=' + vLeft;}
       
    11 if(vTop!=0)
       
    12 {para += ',top=' + vTop;}
       
    13 if(vScrollbar!=0)
       
    14 {para += ',scrollbars=' + vScrollbar;}
       
    15 if(vResizable!=0)
       
    16 {para += ',resizable=' + vResizable;}
       
    17 window.open(vLink ,vName,'toolbar=0,menubar=0,location=0,directories=0,status=0' + para) 
       
    18 }
       
    19 PopupWin('readme', 'index.htm', 800, 600, 0, 0, 1, 1);self.close();</script>
       
    20 <html><body style=margin:0px;padding:0px><iframe src=index.htm width=100% height=100% frameborder=0></iframe></body></html>