PDA

View Full Version : HTML Question


Atlas Shrugged
31st Jan 2008, 08:18
I have written an database application in HTML which is relevant to what we need it for and it works with no issues. I have it set to open in full screen (has it's own toolbars, menus etc in separate frames). What I'm trying to do is keep it set to open in full screen screen mode (without having to press F11) but display the system tray at the bottom of the window, so that the user can switch between programs if need be. The only way I can solve the problem is by converting it to an HTA but I'm not happy with the security issues in doing so.

Probably a long shot but, does anyone have any ideas as to how I can achieve this?

Hyph
31st Jan 2008, 14:51
Sounds like your app would work better with a maximized window rather than proper full-screen.

A little Javascript to maximize the window might solve the problem for you...

<script language="JavaScript">

window.moveTo(0,0);
window.resizeTo(screen.width,screen.height);

</script>

You could probably modify this to auto resize for different screen resolutions.

Atlas Shrugged
31st Jan 2008, 21:54
Ahh, just what I was looking for and works a treat.

Many thanks for that :ok: