control resizing for IE10 under Windows8

This commit is contained in:
Klaus Leithoff 2013-05-14 13:22:30 +00:00
parent 0fef5f6ac9
commit 4c4a05e426

View File

@ -402,7 +402,20 @@ function popup_resize()
}
else
{
window.moveBy(0, -(height2grow / 2));
var positionY = (document.all?window.screenTop:window.screenY);
var moveMe = height2grow / 2;
if ( moveMe <= positionY )
{
moveMe = -(moveMe);
}
else
{
moveMe = 0;
if (positionY > 0) moveMe = -(positionY);
}
//moveMe = -(height2grow / 2);
//alert('hallo:'+positionY+' moveMe:'+moveMe);
window.moveBy(0, moveMe);
window.resizeBy(0, height2grow);
}
}