I am using the following script in all of my pages in order to have a screen that is maximized when it is opened:
<script>
function maXimize()
{
window.moveTo(0,0)
window.resizeTo(screen.width,screen.height)
}
</script>
The problem is that, while it does fill the screen, it doesn't completely maximize (like it does when you click the box in the upper right corner), and it covers the user's task bar at the bottom (even though the task bar is NOT on autohide, and it says to always display on top.)
Once open, if the user clicks the actual maximize button on the browser, it truely maximizes the window AND the taskbar is displayed again.
Any ideas how to fix this? (ps, I don't know JavaScript so I need help with syntax.) Thanks!
<script>
function maXimize()
{
window.moveTo(0,0)
window.resizeTo(screen.width,screen.height)
}
</script>
The problem is that, while it does fill the screen, it doesn't completely maximize (like it does when you click the box in the upper right corner), and it covers the user's task bar at the bottom (even though the task bar is NOT on autohide, and it says to always display on top.)
Once open, if the user clicks the actual maximize button on the browser, it truely maximizes the window AND the taskbar is displayed again.
Any ideas how to fix this? (ps, I don't know JavaScript so I need help with syntax.) Thanks!