...

View Full Version : controlling the size of a new window



davehaz
11-27-2005, 04:26 PM
howdy,
How do you control the size of a new window that pops up from a link like this;


<a href="http://www.awebsiteanwhere.com" target="_blank">Your Website here</a>


thanks.

mark87
11-27-2005, 04:28 PM
You need to use Javascript I'm afraid.


<a href="#" onClick="window.open('http://www.awebsiteanwhere.com', 'popWin', 'width=300, height=200'); return false">Your Website here</a>

davehaz
11-27-2005, 04:29 PM
thanks

mark87
11-27-2005, 04:31 PM
No prob, gotta be one of the quickest question and answer threads lol. :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum