How do you control the size of the window which is opened from hyperlink?

Anthony Marsh

You have to do it using JavaSript not target="_blank".

For example:

<a href="#" onClick="window.open('http://www.jguru.com/','newwin','width=100,height=100');">click me!</a>

You can also do a lot more than just this. Take a look at:

http://tech.irt.org/articles/js128/index.htm

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact