Opening Page In A New Window

redrubies

Supreme Member
Joined
Jan 17, 2011
Messages
1,442
Reaction score
2,664
I'm having a bit of a problem constructing pages that open in a new window. What do I put in left margin, width, and height? It's all done in pixels. Nothing looks right. I want a full page to open and not just a portion of the page, but each page is a different size to begin with. So I am assuming that the number won't be the same for every page.
 
<a href="yourlink" target="_blank">Anchor text</a>

[h=2]Attribute Values for <a> tag[/h]
[TABLE="class: reference"]
[TR]
[TD]_blank[/TD]
[TD]Opens the linked document in a new window or tab[/TD]
[/TR]
[TR]
[TD]_self[/TD]
[TD]Opens the linked document in the same frame as it was clicked (this is default)[/TD]
[/TR]
[TR]
[TD]_parent[/TD]
[TD]Opens the linked document in the parent frame[/TD]
[/TR]
[TR]
[TD]_top[/TD]
[TD]Opens the linked document in the full body of the window[/TD]
[/TR]
[TR]
[TD]framename[/TD]
[TD]Opens the linked document in a named frame[/TD]
[/TR]
[/TABLE]
 
I had blank in the code all along, but the pages are opening either too big or too small.
 
No wait, that's not right. In "self" they are too big or too small. In "blank" the whole page is blank. What am I doing wrong?
 
I fixed it! There was a line of code that I didn't delete. Now the "blank" isn't blank any more. lol Thanks given to everyone who responded. Thank you!
 
< a href="yourlink" target="_new"> Your Page </a>
you can control widht, heigh and position of the new webpage with JavaScript
 
<a href="yourlink" target="_blank">Anchor text</a>

Attribute Values for <a> tag


[TABLE="class: reference"]
[TR]
[TD]_blank[/TD]
[TD]Opens the linked document in a new window or tab[/TD]
[/TR]
[TR]
[TD]_self[/TD]
[TD]Opens the linked document in the same frame as it was clicked (this is default)[/TD]
[/TR]
[TR]
[TD]_parent[/TD]
[TD]Opens the linked document in the parent frame[/TD]
[/TR]
[TR]
[TD]_top[/TD]
[TD]Opens the linked document in the full body of the window[/TD]
[/TR]
[TR]
[TD]framename[/TD]
[TD]Opens the linked document in a named frame[/TD]
[/TR]
[/TABLE]

good one
 
Back
Top