Click to See Complete Forum and Search --> : calling a new window and defining its size


redsand198
06-11-2003, 08:49 AM
i have an image map, that i want to use to link different parts to a new window with expanded information. how do a.) call for a new window and b.) define the size of the window?

TIA

Khalid Ali
06-11-2003, 09:07 AM
May be you wanna taka a look at the link below.
http://68.145.35.86/skills/javascripts/OpenImageSizedWindow2.html

Links on the above page show functionality to resize a new window dynamically depending upon the size, and another link displays in addtion to the above how to open a centralised window with reference to the whole screen.

redsand198
06-11-2003, 09:14 AM
would this line of code work?



<area shape="rect" href="locations.html" onclick="window.open(this.href, 'child', 'height=500,width=400'); return false" window.moveTo(40,40) coords="358, 378 453, 402">

Khalid Ali
06-11-2003, 08:01 PM
tiny bit of a change...

<area shape="rect" href="locations.html" onclick="window.open(this.href, 'child', 'height=500,width=400'); window.moveTo(40,40);return false;" coords="358, 378 453, 402">

the above should work.....