This commit is contained in:
parent
bd55d249bd
commit
588a0e6693
@ -11,15 +11,17 @@ h2 { font-size: 24px; font-style: italic; }
|
|||||||
|
|
||||||
function resize()
|
function resize()
|
||||||
{
|
{
|
||||||
if (navigator.appName.indexOf("Microsoft") != -1)
|
var width, height;
|
||||||
|
|
||||||
|
if (navigator.appName.indexOf("Microsoft") == -1)
|
||||||
{
|
{
|
||||||
width = document.body.clientWidth;
|
width = window.innerWidth;
|
||||||
height = document.body.clientHeight;
|
height = window.innerHeight;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
width = window.innerWidth - 20;
|
width = document.body.clientWidth;
|
||||||
height = window.innerHeight - 20;
|
height = document.body.clientHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
document.AseAwkApplet.width = width - 250;
|
document.AseAwkApplet.width = width - 250;
|
||||||
|
Loading…
Reference in New Issue
Block a user