Move Window

Move Window
<meta http-equiv=”refresh” content=”5;URL=windowmove.html”>
<script>
<!–//
var mx=10
var my=10

function movewindow(n)
{
if (window.top.moveBy)
{
for (i = 10; i > 0; i–)
{
for (j = n; j > 0; j–)
{
window.top.moveBy(0,i);
window.top.moveBy(i,0);
window.top.moveBy(0,-i);
window.top.moveBy(-i,0);
}
}
}
}

–>
</script>
</HEAD>
<BODY onload=”movewindow(10);”>

Advertisements