View Full Version : Customizing Windows

12-30-2003, 06:27 PM
When a user clicks a certain link I would like a window to pop up that would have no buttons or address bar in it. Also I would like to customize the window size (height, width). Any ideas how I would approach this?


- ZYPHER :thumbsup:

12-30-2003, 09:11 PM
In the page you want to launch the popup from:

<title> launch popup </title>
<script language="JavaScript">
function dopopup(url)
var chrome= "width=377,"
+ "height=483,"
+ "location=0,"
+ "menubar=0,"
+ "resizable=0,"
+ "scrollbars=0,"
+ "status=0,"
+ "titlebar=0,"
+ "toolbar=0,"
+ "hotkeys=0,"
+ "left=100,"
+ "top=100";
x.parent.document.title="Anything you want";
<a href="#" onClick"dopopup("mynewpage.htm");x.focus();">


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum