PDA

View Full Version : full screen plus task bar


chris_angell
07-19-2002, 10:53 AM
does anyone know if it is possible to make your site go full screen but keep the lower task bar...


the only way I can think of doing it is, by finding out the screen resolution and the making a window open that just fits showing the task bar ????? but this sound to much hard work, especially for all screen sizes..


thanks :cool:

freddybee
07-19-2002, 11:05 AM
Chris,

I think I've got a solution for you ....

First open your window @0,0 with nothing but the taskbar ...

window.open("URL","Name","taskbar,left=0,top=0")

Then in the head section of your URL file (the one you have just open) write

<SCRIPT LANGUAGE="JavaScript">
if (document.all){
window.resizeTo(screen.availWidth,screen.availHeight);
}else if (document.layers){
if
(window.outerHeight<screen.availHeight||window.outerWidth<screen.availWidth){
window.outerHeight = screen.availHeight;
window.outerWidth = screen.availWidth;
}
}
</SCRIPT>

I guess that you are writing someting only for IE so you could just keep window.resizeTo(screen.availWidth,screen.availHeight);

Of course, you will have a full screen with only the taskbar window but can't hide the title bar.

Some guys, try to hide the titlebar by positionning their window with negative values ...


Hope that's help

A1ien51
07-19-2002, 06:40 PM
look at this:

http://www10.brinkster.com/A1ien51/scripts/PopUpWinGenV3.htm