looloo
10-22-2002, 01:19 PM
is it possible to control the size of a window wich will be open by link? (size of window=size of image inside);)
Yes, with javascript. Add an 'onclick' event to the link:
<a href="#" onclick="javascript:window.open('newpage.html', 'WindowName', 'width=200px, height=200px');">link</a>You can mess around with a bunch of the window properties. Here's some inforomation on how to do that (http://www.javascriptkit.com/javatutors/window1.shtml).
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.