I
interrupter
Код:
function resize()
{
document.getElementById("leftTop").width = document.getElementById("leftTop").width-1;
document.getElementById("leftMiddle").width = document.getElementById("leftMiddle").width-1;
document.getElementById("leftBottom").width = document.getElementById("leftBottom").width-1;
document.getElementById("rightTop").width = 100;
document.getElementById("rightMiddle").width = 100;
document.getElementById("rightBottom").width = 100;
document.getElementById("middleTop").width = document.getElementById("middleTop").width+1;
document.getElementById("middleMiddle").width = document.getElementById("middleMiddle").width+1;
document.getElementById("middleBottom").width = document.getElementById("middleBottom").width+1;
document.getElementById("mainTable").width = 1000;
}
function resizeLeft()
{
for (var i=1; i<100; i++){
setInterval('resize()', 10);
}
}