<html>
<head>
<title>vr</title><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1251">
<script>function вращай() {var ф=document.all;
var n=ф.zs.innerHTML;(ф.zs.innerHTML)++;
if ((ф.zs.innerHTML)==360){ (ф.zs.innerHTML)=0;}
ф.v2.style.WebkitTransform="rotate("+n+"deg)";
ф.v2.style.MozTransform="rotate("+n+"deg)";
ф.v3.src=ф.v2.src;ф.v3.style.WebkitTransform="r otate("+(-n)+"deg)";
ф.v3.src=ф.v2.src;ф.v3.style.MozTransform="rota te("+(-n)+"deg)";
}</script>
</head>
<body onload="document.onmousemove=вращай";>
<img id="v2" src="2.jpg" style="position:absolute; top:200; left:200;z-index:1";/>
<img id="v3" src="" style="position:absolute; top:200; left:300;z-index:1";/>
<lox id="zs">0</lox>
</body>
</html>
|