Re: Open window full screen
by "Srinivasan Ramakrishnan" <srinivar(at)md3.vsnl.net.in>
|
Date: |
Sat, 1 Jul 2000 12:50:24 +0530 |
To: |
"Rick Koch" <rrcominc(at)cris.com> |
Cc: |
<hwg-languages(at)hwg.org> |
References: |
ssa bellsouth jeff cris |
|
todo: View
Thread,
Original
|
|
IE allows fullscreen, NS doesn't, you will still have the title bar.
Here's a script that I wrote some years back on a dhtml site:
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
function myFullscreen(page) {
window.open('(page +".htm")' ,'myName','width='+ window.screen.width +
',height=' + window.screen.height + ',top=0,left=0,');
}
function mybrowserVer(){
ver = parseInt(navigator.appVersion);
name = navigator.appName ;
netscape = (name == "Netscape");
msie = (name == "Microsoft Internet Explorer");
ver4 = (ver == 4);
wscreen = window.screen.width;
hscreen = window.screen.height;
if ( msie && ver4 && wscreen >= 800 && hscreen >= 600){
myFullscreen("sriniscript");}
else {
if (netscape && ver4 && wscreen >= 800 && hscreen >= 600){
myFullscreen("nssriniscript");}
else{
if ( msie || netscape && ver4 && wscreen < 800 && hscreen < 600){
self.location.href = "nonsize.htm"}
else{
self.location.href = "other.htm"; }
}
}
}
// -->
</SCRIPT>
This opens up the page in fullscreen (the title bar remains), ofcourse if
you want the super kiosk mode the following works only in IE
window.open("blah.html",pageName,"width=...,height=.....etc......,fullscreen
=1);
-Srini
----- Original Message -----
From: Rick Koch <rrcominc(at)cris.com>
Cc: <hwg-languages(at)hwg.org>
Sent: Friday, June 30, 2000 8:40 AM
Subject: Open window full screen
| Hi All!
|
| Question:
|
| I need to put an html file on a CD and use the autorun.inf file to open
| that file in a browser automatically. I haven't actually had time yet to
| burn a CD and test that a browser will indeed launch and that the
| appropriate file will be in that browser. But, I'm guessing it will. I'm
| planing on using something like this for the inf file:
|
| [autorun]
| myfile.html
| ICON=myicon.ico
|
| If anyone knows that that won't work, could you please let me know and
| perhaps suggest to me what you've found that will launch a browser and
| specific html file automatically from the CD. Assuming that it does
| work, though, how do I make that browser open full screen on any
| possible monitor set up a user might have - with no menu, status, tool
| bars, etc. etc. - most importantly, full screen.
|
| Thanks in advance to all,
|
| Rick K.
|
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA