Javascript Essentials Part 1
Nov 1, 2008 Essentials, Javascript
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 window.open(theURL,winName,features); } </script>
Body Section Code
<a href="#" target="_self" class="downlinks" onClick="MM_openBrWindow('index1.htm','maintn32','fullscreen=yes')">Switch to full screen </a>
index1.htm is the page which will be switched to full screen.
Related Posts
Tags: code, essential, Javascript, most wanted, scripts
Try Random Style!
Leave a Reply