View Full Version : how to make a specific size window?

03-04-2006, 09:54 AM
I am a designer i don`t write script. Can you please help me how to make a screen/new window 320 px x 240 px.

03-04-2006, 10:44 AM
you can use javascipt to open a new window of custom size
Use this function in your script tags

var newwindow;
function opennew(url)
newwindow=window.open(url,'name','height=320,width =240');
if (window.focus) {newwindow.focus()}

and your link should be like this

Visit Dreamweaver Club! (javascript:opennew('http://www.dreamweaverclub.com');)

d a v e
03-04-2006, 11:34 AM
check the macromedia (Adobe) site on the extensions page and look for popup window behavoiurs too if you want it done for you ;)