Docs/ExperienceUI/open_popup.hta
author Dan Fuhry <dan@enanocms.org>
Mon, 17 Oct 2011 02:13:04 -0400
changeset 25 adc5b05b4be2
parent 0 d5ce4c64ef88
permissions -rwxr-xr-x
Fixed case sensitivity bugs

<script>
function PopupWin(vName,vLink,vWidth,vHeight,vLeft,vTop,vScrollbar,vResizable)
{
var para = '';
if(vWidth!=0)
{para += ',width=' + vWidth;}
if(vHeight!=0)
{para += ',height=' + vHeight;}
if(vLeft!=0)
{para += ',left=' + vLeft;}
if(vTop!=0)
{para += ',top=' + vTop;}
if(vScrollbar!=0)
{para += ',scrollbars=' + vScrollbar;}
if(vResizable!=0)
{para += ',resizable=' + vResizable;}
window.open(vLink ,vName,'toolbar=0,menubar=0,location=0,directories=0,status=0' + para) 
}
PopupWin('readme', 'index.htm', 800, 600, 0, 0, 1, 1);self.close();</script>
<html><body style=margin:0px;padding:0px><iframe src=index.htm width=100% height=100% frameborder=0></iframe></body></html>