| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|size of a new window|
base target=_blank weidth?
| 9:19 am on Aug 18, 2003 (gmt 0)|
Hi all, first time poster here. I got a page with a lot of links on it. When a visitor clicks on a hyperlink, a new window opens. Can i set the height and weidth of the new window?
So my html now is:
But isn't it possible to set weidth and height for the new window?
| 9:46 am on Aug 18, 2003 (gmt 0)|
Welcom to webmasterworld milio!
<a href="#" onclick="window.open('http://your-link-here', '','width=300,height=200');">Link text</a>
On disadvantage with this method is that if the visitor wants to open a new window (right clicks or shift+click) it does not work correctly.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved