Full Screen

Full ScreenJavascript allows you to display a page in  full screen via a button, the script consists of 2 parts, the first one will be inserted between the <head> and </head> tags is:

<script language="javascript">
function fullscreen()
{
window.open('page.php','kyscorp','width='+screen.width+',height='+screen.height+',top=0,left=0');
}
</script>

The second will create the button and will be inserted in the place you want:

<form>
<input type="button" onClick="fullscreen()" value="Full Screen">
</form>

Click the button to see the result!


Related Articles

  • No-one wants to look at the screen
    One of the most fundamental factors in designing for screen-based media is: No-one likes looking at a computer screen...
  • Avoid Horizontal Scroll Bars
    What you see is not always what you get at least with the standard screen sizes. Many new web designers will assume that if they are designing for an 800x600 screen that their web page tables should be 800 pixels wide. If you tried it, and you have to horizontally scroll to read your page content, I...
  • Last Modified and User's Screen Resolution Detection
    An easy and efficient way to write the date a file was last modified.
    We call the function filemtime() that returns an integer (the number of seconds elapsed from Jan 1st, 1970 00:00 GMT) Anyway, to make this integer viewable by human beings, we just format it using date() function.
  • Use Of An Entry/Splash Page
    Over the past few days I have been zooming through sites looking at different designs for inspiration and ideas. During my site viewing time I came to realize things I hate about web designers. These are things that caused me to close my browser window before the site loaded or even not visit the si...
  • Liquid VS Fixed Layout Debate In Modern Web Design
    This very informative article will help you to understand the continued comparison of benefits and liabilities of Liquid VS Fixed Layout. The author explains when a mixed approach works best.
  • Writing Effective ALT Text For Images
    Anyone who knows anything about web accessibility knows that images need alternative, or ALT, text assigned to them. This is because screen readers cant understand images, but rather read aloud the alternative text assigned to them...
  • How To Triple Your Banner Click-Through-Rates
    Have you noticed that your banner ads rarely get clicked on? Banner ads used to be a very effective method of advertising, but the web has become bloated with banner after banner. As a result theyre largely ignored today. But did you know there is a simple and effective way to get people to ....
  • Website Designing with Browser Compatibility
    In the early days of the Internet, many sites advertising Best viewed with Netscape or Best viewed with Internet Explorer or the like. These days, such labels seem to be rarer. Web designer today put an inordinate amount of effort to promote their sites on the search engines.
  • Screen Size Compatibility Can Make Or Break Your Design
    Have you ever visited a Web site that looked, well
  • Pop Ups
    JavaScript popups are very useful, allowing you to provide additional information or functionality on a page without navigating away from it. JavaScript popups are very easy to implement, and you can customize them to some extent.

Contact Web Design Outsource and get started today

Need Website Designing, Development, Redesigning, Maintenance and SEO services or help growing your company's web presence? Request a free Quote Now.