...

View Full Version : small blank target window



bostonryan
11-22-2008, 04: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>

abduraooft
11-22-2008, 05: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.)

bostonryan
11-22-2008, 05: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
http://www.w3schools.com/js/tryit.asp?filename=tryjs_openallwindow



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum