The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
place this onto the fx queue
| Project: | Easy Element Rotation |
| Version: | .1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | patch (ready to commit) |
Description
use queue to put this function on the fx queue to use this in animations.
see attached patch ... you can then do simething like this:
jQuery(document).ready(function() {
var angle = 0;
jQuery("#rotate").click(function(){
var $e = jQuery(this);
for(var i=10;i<=360;i=i+10){
$e.easyRotate({ degrees: i });
$e.delay(30);
}
});
})see http://tobi.oetiker.ch/test/rotate/
| Attachment | Size |
|---|---|
| patch | 659 bytes |
- Login to post comments
