Kunt zelfs fullscreen zonder titlebar.
[code]
<html>
<head>
<script language="JavaScript">
<!-- assuming you have a page called main.html which will not contain a title bar -->
var ramswin
var loc = "index.htm";
function openwindow() {
if (!ramswin || ramswin.closed) {
if (document.all) {
ramswin = open(loc,"ramswin","fullscreen")
// IE Functionality
}
else if (document.layers) {
ramswin = open("ns"+loc,"ramswin","top=0,left=0,directories=no,scrollbars=no,menu=no,location=no,width="+screen.width+",height="+screen.height)
//Netscape Functionality
}
else {
ramswin = open("index.htm","ramswin","top=0,left=0,directories=no,scrollbars=no,menu=no,location=no,width=800,height=600")
//Generic Functionality
}
}
else {
ramswin.focus()
}
}
//--></script>
<!-- End of Script -->
</head>
<body onLoad="openwindow()">
</body>
</html>