A
Andrew Poulos
I'm using this to get the size of the "inner" window
var x, y;
if (self.innerHeight) {
// all except Explorer
x = self.innerWidth;
y = self.innerHeight;
} else if (document.documentElement &&
document.documentElement.clientHeight) {
// Explorer 6 Strict Mode
x = document.documentElement.clientWidth;
y = document.documentElement.clientHeight;
} else if (document.body) {
// other Explorers
x = document.body.clientWidth;
y = document.body.clientHeight;
}
Alas, the client is putting the page within a frameset where the other
frames are so small that are "hidden". How can I modify the above code
to refer to the frameset?
Andrew Poulos
var x, y;
if (self.innerHeight) {
// all except Explorer
x = self.innerWidth;
y = self.innerHeight;
} else if (document.documentElement &&
document.documentElement.clientHeight) {
// Explorer 6 Strict Mode
x = document.documentElement.clientWidth;
y = document.documentElement.clientHeight;
} else if (document.body) {
// other Explorers
x = document.body.clientWidth;
y = document.body.clientHeight;
}
Alas, the client is putting the page within a frameset where the other
frames are so small that are "hidden". How can I modify the above code
to refer to the frameset?
Andrew Poulos