Javascript Essentials Part 1

Switch to Full Screen Script

This script consists of two parts. First a part of code you have to add in head section and second piece of code you will add in body section to display link to click to for making that web page homepage of browser.

Head Section Script
<script language="JavaScript" type="text/JavaScript">
function MM_openBrWindow(theURL,winName,features) { //v2.0,winName,features);
Body Section Code
<a href="#" 
target="_self" class="downlinks" 
onClick="MM_openBrWindow('index1.htm','maintn32','fullscreen=yes')">Switch to full screen

index1.htm is the page which will be switched to full screen.