Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Target same size as parent window

Status
Not open for further replies.

bartee

MIS
Mar 20, 2005
147
US
I am using _blank to open a link in a new window. Problem is that the window does no open to the full size of the screen.

How can I set the link to open to the full size of the screen?

Thanks in advance.
 
There is no way to do this using HTML tags.

The best chance you have is to use javascript to determine the screen width and height and use window.open to open a new window to the adjusted size.

This is problematic because you have no way of knowing the useable screen size (are they using XP or Windows 2000 start bars? are they single height or double height? do they have the office toolbar installed? the list goes on and on).

I suggest you stick with what you have, and let the user control the screen size for the browser. If they complain that the page is not full screen, then you can point them to the "maximise window" button.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top