<body onKeyDown="ctrlImg();"><img src=http://www.unc.com.cn/webportal/images/com_tu.gif style="position:absolute;" id=zz><script language=javascript>
zz.style.pixelTop=(document.body.clientHeight-zz.clientHeight)/2;
zz.style.pixelLeft=(document.body.clientWidth-zz.clientWidth)/2;var timer,X,Y;function moveImg(x,y)
{
zz.style.pixelTop+=y;
zz.style.pixelLeft+=x;
}function ctrlImg()
{
switch(event.keyCode)
{
case 37:
moveImg(-2,0);
break;
case 38:
moveImg(0,-2);
break;
case 39:
moveImg(2,0);
break;
case 40:
moveImg(0,2);
break;
}
}
</script>
zz.style.pixelTop=(document.body.clientHeight-zz.clientHeight)/2;
zz.style.pixelLeft=(document.body.clientWidth-zz.clientWidth)/2;var timer,X,Y;function moveImg(x,y)
{
zz.style.pixelTop+=y;
zz.style.pixelLeft+=x;
}function ctrlImg()
{
switch(event.keyCode)
{
case 37:
moveImg(-2,0);
break;
case 38:
moveImg(0,-2);
break;
case 39:
moveImg(2,0);
break;
case 40:
moveImg(0,2);
break;
}
}
</script>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货