Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>
- Bubbles !
- </title>
- </head>
- <body>
- <script type="text/javascript">
- var deg = 0;
- var img = document.createElement("img");
- img.src="http://i609.photobucket.com/albums/tt177/ORgal2/Bubble_Brush_Tutorial/bubble3.png";
- document.body.appendChild(img);
- img.onmouseover=function na(){this.src="http://aslancross.files.wordpress.com/2009/10/cirno_banpai.jpg";};
- function refresh()
- {
- img.style.WebkitTransform = 'rotate(' + deg + 'deg)';
- img.style.MozTransform = 'rotate(' + deg + 'deg)';
- deg++;
- if(deg > 360)
- deg=0;
- }
- setInterval(refresh,20);
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement