Click to See Complete Forum and Search --> : Fullscreen in IE AND Netscape


maz_T
04-10-2003, 07:48 AM
i'm working on a webbased-training site that will distributed to different non-profit-organizations. it will run on the intranet of those organizations.

the employees will get a mail with a link to that intranet-page.

i want it to open in a fullscreen (superkiosk-mode). on my index.htm i've put a little function, which opens a new window:
window.open ("start/welcome.htm", "","fullscreen=yes,scrollbars=auto")

with this solution i've got 2 problems:
1. this only works in IE and netscape 7.0. in netscape 4.0 - 7.0 it won't work.

2. in IE i still have the scroll-area on the right hand side of the page. i can't make it disappear completely.

you can see this on:
http://www.alineo.ch/faktor_max/test/

i wish, the user could click in the mail on the link and the browser window opens in superkiosk, if possible without an index.htm page (which has the function). isn't it possible to make it open directly in superkioskmode? otherwise i can live with the index-page. but how do i open a page in superkioskmode from the index-page? is there a any script, just a way to make it work in netscape 4.0-7.0 and IE? i've looked up the internet for so long already and just can't find a proper solution. i really hope that somebody can help me in some way.

SniperX
04-10-2003, 08:05 AM
How about making the window the maximum space allowed on the desktop?

use this:
in your frameset in index.htm
insert this code: onLoad="if (document.all || document.ID) {self.moveTo(0,0); self.resizeTo(screen.availHeight, screen.availWidth); }

It wont make a supa size screen and this is better because lots of users don't enjoy having there screens in "Super Mode".

That is just a thought, unfortunately i dont understand german - i think that is the language ur site is done in? but not to sure.
It has a nice feel to it.

Please give me some feed back,
Regards
MW

maz_T
04-10-2003, 08:47 AM
yeah, it's german...
thx for your thought. but where should i put the
onLoad="if (document.all || document.ID) {self.moveTo(0,0); self.resizeTo(screen.availHeight, screen.availWidth); }?
in the body tag? or in between head-tag?

hope i dunno sound too stupid...

SniperX
04-10-2003, 11:44 PM
You put it in your <frameset> tag the first one or in your body depending on which is your main index bit


Hope it workx keep me posted.

Regards
MW



____________________
"Nothing is too wonderful to be true" - Michael Farraday(UCLA)

maz_T
04-11-2003, 08:34 AM
hi mw,
got another thread which worked fine:

<script language="JavaScript1.2">
<!-- size and position -->

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;
}
}

window.open ("start/01-willkommen.htm", "","fullscreen=yes,scrollbars=auto")
</script>

i guess it does the same like yours would do. but somehow yours didn't work quite well. i've put it in the body-tag but then it would mess up the content. the browser wouldn't interpret the content correctly. but thanks a lot for your help anyway...

have a nice weekend.
t

SniperX
04-11-2003, 08:38 AM
Enjoy your weekend to