J
Jesse Joseph Acosta
Hi,
Im working on a site for a friend, and we've setup a popup window for
a couple pages, but with the code we have, the variables for the width
and height are in the <script> portion of the code, and not on each
individual popup code segment. Is there a way I can add "width=400" or
something to each popup to change its width?
Here's the script portion-
<!--
function Start(page)
{
OpenWin = this.open(page,
"CtrlWindow","toolbar=No,menubar=No,location=No,scrollbars=No,resizable=No,status=Yes,width=740,height=560,left=0,top=0,");
}
//-->
</SCRIPT>
and heres the link to the popup-
<a href="javascript:void(0);" onclick="javascript:Start
('map/map.htm');">
Any suggestions?
Thanks for your time,
Jesse Acosta
jessejosephacosta att hotmail dott com
Im working on a site for a friend, and we've setup a popup window for
a couple pages, but with the code we have, the variables for the width
and height are in the <script> portion of the code, and not on each
individual popup code segment. Is there a way I can add "width=400" or
something to each popup to change its width?
Here's the script portion-
<!--
function Start(page)
{
OpenWin = this.open(page,
"CtrlWindow","toolbar=No,menubar=No,location=No,scrollbars=No,resizable=No,status=Yes,width=740,height=560,left=0,top=0,");
}
//-->
</SCRIPT>
and heres the link to the popup-
<a href="javascript:void(0);" onclick="javascript:Start
('map/map.htm');">
Any suggestions?
Thanks for your time,
Jesse Acosta
jessejosephacosta att hotmail dott com