Jquery.rotate.js is a project mainly written in ..., based on the Security policy.
A jQuery cssHooks adding a cross browser 'rotate' property to $.fn.css() and $.fn.animate().
This plugin requires jQuery >= 1.4.3
$('#myDiv').css('rotate', '90deg'); $('#myDiv').animate({rotate: '180deg'});bravo
The following line of code always returns computed rotation in radians $('#myDiv').css('rotate'); A radian to degree function is included, free of charge: $.rotate.radToDeg( Math.PI ) === 180