Not when using target. You could use JavaScript, however, to open a new window with the window.open method.
New Window
2006-12-10 03:37:48
·
answer #1
·
answered by Anonymous
·
3⤊
0⤋
With HTML, there is no way to control the size (or window decoration, or other features) of a new window. However, in JavaScript you can specify such details when using the window.open() function.
Start with a normal HTML link (possibly one that opens in a new window as described in the answer to the previous question). Then use the ONCLICK attribute to open a window with the desired appearance for those readers with JavaScript supported and enabled. The following example specifies a window named "popup" that is 300 pixels by 150 pixels.
View Foo
Used in this manner, JavaScript can specify a new window with the desired appearance, without blocking access when JavaScript is unsupported/disabled.
In addition to the parameters height and width (which take a pixel count as a value), the third argument to the window.open() can include the following booloean parameters (which take "yes" or "no" as a value): directories, location, menubar, resizable, scrollbars, status, and toolbar. These boolean parameters control the presence of the corresponding window decorations in the resulting window.
Couldn't have said it better myself, so copied from link below
2006-12-10 03:41:30
·
answer #2
·
answered by webneck 5
·
2⤊
0⤋
Yes. The answer is through javascript
This is the code that you have to put in the head section of your page
// you can modify the dimension by modifing the width and height in the javascript part.
// this is how your inpage link shoud look like
link
2006-12-10 03:42:39
·
answer #3
·
answered by yeti 2
·
1⤊
0⤋
Here's a whole set of Javascript popups that I wrote:
http://www.uoc.me.uk/Assets/js/js_popup_windows.html
Examples and code are included.
2006-12-10 04:00:22
·
answer #4
·
answered by Sm.mS 3
·
0⤊
0⤋
Yes i agree. The java script mentioned is the way to go.
2006-12-10 03:45:44
·
answer #5
·
answered by Jen_22 1
·
0⤊
0⤋
I agree too, but wish I'd got here in time to answer this one - I knew the answer. Oh..... @rse.
2006-12-10 03:47:59
·
answer #6
·
answered by Daniel J 2
·
0⤊
0⤋
You need to use javascript to do that.
2006-12-10 05:08:21
·
answer #7
·
answered by mcdonaldshaun 2
·
0⤊
0⤋
just put in the height and width attributes i guess.
2006-12-10 03:37:35
·
answer #8
·
answered by ¤AFTERN00N L0VAH¤ 2
·
0⤊
4⤋