Forums
This topic is locked
fullscreen mode
Posted 12 Jul 2003 04:47:21
1
has voted
12 Jul 2003 04:47:21 alan armstrong posted:
want to have my entire site in fullscreen mode - managed to do this fine for the first page, but cannot load further content into it without it going back to normal browser view. can this be done and if so does anyone have the code i can copy and paste - cheers guys Replies
Replied 02 Nov 2007 13:01:59
02 Nov 2007 13:01:59 Paul Gillard replied:
This works!
Cheers
Paul
<script>
<!--
self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);setInterval("x()",10);setInterval("y()",500000);self.focus();
function x(){}
function y(){self.focus()};
//-->
</script>
<script language="Javascript">
if (top.location != self.location) {
top.location = self.location.href
}
//-->
</script>
<script language="JavaScript1.2">
<!--
top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>
Cheers
Paul
<script>
<!--
self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);setInterval("x()",10);setInterval("y()",500000);self.focus();
function x(){}
function y(){self.focus()};
//-->
</script>
<script language="Javascript">
if (top.location != self.location) {
top.location = self.location.href
}
//-->
</script>
<script language="JavaScript1.2">
<!--
top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>