View Full Version : small blank target window

11-22-2008, 05:53 AM
Hello Everyone

I am tring to show an example on my web site by clicking a link and opening the link in a "SMALL" blank target window, lets say 25%. Do I just add a % to the argument...? I do not have the page created yet so I really dont have an example I will use coding forums as the example page thanks for any help on this

<a href="www.codingforums.com" target="_blank">Example click here</a>

11-22-2008, 06:14 AM
You'd need to call a window.open() (http://www.w3schools.com/HTMLDOM/met_win_open.asp) method with height and width parameters (I don't think that you can use a % value, but a fixed pixel value should work.)

11-22-2008, 06:25 AM
The link you gave me is exactly what I am looking for I will play with the code and see if I can make it work for me Thanks alot