View Full Version : specific size for a new window/page

becky gelke
04-15-2006, 11:37 PM
Hi, I am plodding through my latest site, and have a couple of links that open a new browser page when clicked on, I only want that page to be a specific size, say 500 x 450 px I am sure there is a tiny piece of code I can add to said page to make this happen.......................does anyone know how I can do that please. Hope that explaination is straight forward.

[edit] I also wish to have a close option in my new window.

04-16-2006, 01:27 AM
You want a javascript opened window. To do this look into behaviours->OpenWindow (or something similar), it should be pretty straight forward, if not the help files will give you info specifically on your options.

To close the pop-up window use either of these javascript options:
Close This Window (javascript:window.close();)
<input type=button value="Close This Window" onClick="javascript:window.close();">

becky gelke
04-16-2006, 07:59 AM
Thanks for that, I always have my behaviours panel closed :oops: Sorted now, I presume I simply have the panel opening around a specific url and the page will fit to that panel.