This commit is contained in:
hyung-hwan 2007-11-24 09:06:27 +00:00
parent bd55d249bd
commit 588a0e6693

View File

@ -11,15 +11,17 @@ h2 { font-size: 24px; font-style: italic; }
function resize()
{
if (navigator.appName.indexOf("Microsoft") != -1)
var width, height;
if (navigator.appName.indexOf("Microsoft") == -1)
{
width = document.body.clientWidth;
height = document.body.clientHeight;
width = window.innerWidth;
height = window.innerHeight;
}
else
{
width = window.innerWidth - 20;
height = window.innerHeight - 20;
width = document.body.clientWidth;
height = document.body.clientHeight;
}
document.AseAwkApplet.width = width - 250;