test some code on imola to see if this code is executing all the time

This commit is contained in:
ben@bengoodger.com
2004-02-23 09:47:36 +00:00
parent 776f2fb9d5
commit 5eed55bf9b

View File

@@ -305,11 +305,13 @@ function Startup()
if (!document.documentElement.hasAttribute("width")) {
var defaultWidth = 994, defaultHeight;
if (screen.availHeight <= 600) {
dump("*** screen res < 600px high\n");
document.documentElement.setAttribute("sizemode", "maximized");
defaultWidth = 610;
defaultHeight = 450;
}
else {
dump("*** screen res > 600px high\n");
// Create a narrower window for large or wide-aspect displays, to suggest
// side-by-side page view.
if ((screen.availWidth / 2) >= 800)