Hjælp til script (Fullscreen)
Hvordan får jeg dette script til åbne siden i helt maximeret tilstand??<html><SCRIPT LANGUAGE=\"JavaScript\">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
function openFullscreen(page) {
var yes = 1;
var no = 0;
var menubar = no; // The File, Edit, View Menus
var scrollbars = no; // Horizontal and vertical scrollbars
var locationbar = no; // The location box with the site URL
var directories = no; // the \"What\'s New\", \"What Cool\" links
var resizable = no; // Can the window be resized?
var statusbar = no; // Status bar (with \"Document: Done\")
var toolbar = no; // Back, Forward, Home, Stop toolbar
windowprops = \"width=\" + (screen.width-10) + \",height=\" + (screen.height-50) + \",top=0,left=0\";
windowprops += (menubar ? \",menubars\" : \"\") +
(scrollbars ? \",scrollbars\" : \"\") +
(locationbar ? \",location\" : \"\") +
(directories ? \",directories\" : \"\") +
(resizable ? \",resizable\" : \"\") +
(statusbar ? \",status\" : \"\") +
(toolbar ? \",toolbar\" : \"\");
window.open(page, \'fullPopup\', windowprops);
}
// End -->
</script>
</HEAD>
<!-- STEP TWO: Copy this code into the BODY of your HTML document -->
<BODY onLoad=\"java script:openFullscreen(\'index1.htm\')\">
</body>
</html>
