version 1.11, 2008/10/29 00:52:53
|
version 1.12, 2008/10/29 01:00:56
|
Line 607 function registerKeyDown(handler) {
|
Line 607 function registerKeyDown(handler) {
|
function getWinSize() { |
function getWinSize() { |
// returns a Size with the current window size (mostly from www.quirksmode.org) |
// returns a Size with the current window size (mostly from www.quirksmode.org) |
var wsize = new Size(100, 100); |
var wsize = new Size(100, 100); |
if (browserType.isIE) { |
if (!browserType.isIE) { |
// all except Explorer |
// all except Explorer |
if ((self.innerWidth == 0)||(self.innerHeight == 0)) { |
if ((self.innerWidth == 0)||(self.innerHeight == 0)) { |
// Safari 1.2 (and other) bug |
// Safari 1.2 (and other) bug |