PDA

View Full Version : Launching Full Screen, Scrollbars Still In Place


Marigold
09-02-2001, 07:26 PM
I'm using the tutorial:

http://www.actionscripts.org/tutorials/intermediate/launch_full_screen/index.shtml

It works fine, except that the vertical scroll bar is still in place. After searching the forums here, I noticed that someone else had the same problem some time ago and eventually ended up adding this somewhere in their script:

scrollbars=no, scrollbar=no, scroll=no

I'm still not clear on where to add this script. I've been trying to add it into the MakeItSo function:

function MakeItSo(){
if((detectOS() == 'Windows') && (detectBrowser() == 'IE')) {
window.open('title.html','windowname','fullscreen= yes','scrollbars=no');
} else {
onload=FullScreen();
}
}

This works exactly the same way that it would work if 'scrollbars=no' wasn't there. I figured that anything after fullscreen=yes might be ignored, so I tried putting the scrollbars property before fullscreen, and got a very small window with no scrollbars, but definitely not full screen.

This is my first run-in with JavaScript, sorry if the question is kinda lame.

Jesse
09-10-2001, 11:38 AM
we've answerred this one right? I've added a note to the bottom of the tutorial with the answer.

Marigold
09-10-2001, 02:34 PM
Yep, I'm all set thanks!