<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>jQuery Rotate</title> <script type="text/javascript" src="jquery-1.9.1.min.js"></script> <script src="Jquery.rotate.js"></script> </head> <body> <div id="Div1" class="rotation" style="width: 100%; height: 100%; margin-removed auto; margin-removed auto;"> <img src="Back.jpg" /> </div> <script type="text/javascript"> $(document).ready(function () { document.body.style.backgroundColor = "Black"; $('#Div1').delay(1000).animate({ rotate: '-20deg'}, 2000); }); </script> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)