Welcome to WebmasterWorld Guest from 54.196.214.35

Forum Moderators: incrediBILL

Message Too Old, No Replies

Maximizing windows

     
5:54 pm on Jun 24, 2011 (gmt 0)

New User

joined:June 24, 2011
posts: 1
votes: 0


Hey everyone, I am new to code writing. I am having trouble getting a popup on my website to open already maximized. The video in the window is in a larger format, so I would like the video to open in an already maximized screen. Here is my code below if someone could copy it and enter the correct code used to make the window maximize that would be greatly appreciated

thanks

My Code for the link:
<li><a target=" blank" href="vids/Idle%20Report.htm">Idle Report</a><li>
11:35 pm on June 24, 2011 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


Welcome to the forums, johnsrk40.

The HTML code you are thinking of is target="_blank" (with an underscore, not a space). Even though it is widely used for new windows and universally supported by browsers, it is stll dedicated code for the frameset document type. More than that, as you've discovered, it does allow the browser a lot of discretion in how big to make the window - and that can create problems.

To control the new window's size (and other aspects, too), you'll need to use JavaScript - specifically the window open() method [w3schools.com]