Forum Moderators: open

Message Too Old, No Replies

Maximizing windows

         

johnsrk40

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

10+ Year Member



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>

tedster

11:35 pm on Jun 24, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



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]