forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: MagicFlight on August 20, 2004, 09:49:25 pm

Title: [solved] how to simulate "F11" and to force IE (or others ) to be full screen
Post by: MagicFlight on August 20, 2004, 09:49:25 pm
HI,

even with my bad english... (special ;) for TranzDance),   i believe it is clear.

at the first loading of the first page (index) i would to be full screen,

could you , please, give me the code  i have to add, and where ?

Salut  from Paris
Title: Re: how to simulate "F11" and to force IE (or others brower) to be full screen
Post by: skybax on August 20, 2004, 09:59:15 pm
This would be a javascript related issue - try dynamic drive (http://dynamicdrive.com) or a javascript resource site for a script to do this.

-T  8)
Title: Re: how to simulate "F11" and to force IE (or others brower) to be full screen
Post by: MagicFlight on August 20, 2004, 10:18:37 pm
....dynamic drive.....

nice proposition.

the code is :


<script language="JavaScript1.2">
<!--

/***********************************************
* Auto Maximize Window Script- (c) Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for this script and 100's more.
***********************************************/

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>



thanks a lot for your help!

bye ;D
Title: Re: [solved] how to simulate "F11" and to force IE (or others ) to be full scree
Post by: skybax on August 20, 2004, 10:38:17 pm
Great to see you got it working.

-t