homepage Welcome to WebmasterWorld Guest from 54.198.42.105
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Maximizing windows
johnsrk40




msg:4330680
 5:54 pm on Jun 24, 2011 (gmt 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>

 

tedster




msg:4330827
 11:35 pm on Jun 24, 2011 (gmt 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]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved