| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|size of a new window|
base target=_blank weidth?
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?
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.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved