Allow your visitors to have a popup page on your site appear exactly as they want! They can customize the width, height, and placement of a popup window on your site before the window is opened.
Add the below code to the <body> section of your page:
<scriptlanguage="javascript"type="text/javascript"> /* Visit http://www.yaldex.com/
for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin function
popupPage(l,
t,
w,
h){ var
windowprops =
"location=no,scrollbars=no,menubars=no,toolbars=no,resizable=yes"+ ",left="+
l +",top="+
t +",width="+
w +",height="+
h;
varURL=
"http://www.yaldex.com/JSFactory_Pro.htm"; popup =window.open(URL,"MenuPopup",windowprops);
} // End --> </script> <table>
<tr>
<td> <formname=popupform> <pre> Customize Your Popup Window!<br> Distance from left edge: <inputtype=textname=leftsize=2maxlength=4>
pixels
Distance from top edge: <inputtype=textname=topsize=2maxlength=4>
pixels
Width of popup window: <inputtype=textname=widthsize=2maxlength=4>
pixels
Height of popup window: <inputtype=textname=heightsize=2maxlength=4>
pixels </pre> <inputtype=buttonvalue="Open
the Popup!"onClick="popupPage(this.form.left.value,
this.form.top.value, this.form.width.value, this.form.height.value)">
</form> </td>
</tr>
</table>