Git Product home page Git Product logo

jquery-animate-css-rotate-scale's People

Contributors

zachstronaut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery-animate-css-rotate-scale's Issues

Firefox 16

rotate issue

Can sombody proof

$('#img2').animate({rotate: '+=90deg'}, 900, function() {

});

flop like crazzy in Firefox 16

rotate stopped near 0

cause: pos results as 1.e-16, which makes the rotateUnits incorrect.
fix:
jquery-animate-css-rotate-scale.js line39
change from:
m = val.toString().match(/^(-?\d+(.\d+)?)(.+)?$/);
to
m = val.toString().match(/^(-?\d+(.\d*e?-?\d+)?)(.+)?$/);

Behaves strangley with jquery 1.8.2

I recently upgraded to jquery 1.8.2 and afterwards a button that would rotate 45 degrees back and forth now spins completely around and stops at a semi random angle.

here is the code that I'm using

$(element).animate({ "rotate" : value + 'deg' }, { duration: "fast", queue: false });

Mention CDN

This is currently hosted on CDN.

<script src="https://cdn.jsdelivr.net/jquery.animate-css-rotate-scale/0.9.3/jquery-animate-css-rotate-scale.min.js"></script>

Please mention this in README.md as this is how most people will like to make use of this project.

Translation

Are there any plans to add translation?
I have some images that are translated as well as rotated and I want to animate both to 0 (so 0,0 for translate) but right now I can't figure out how to do this so it won't look choppy.

Add Support for Translate?

This is more a feature request than an issue, but do you have plans to add support for other translations? TranslateX, TranslateY, etc.

Unit in return of rotate()

Hello,

I think that rotate( ) should return the value of the angle without the unit ("deg"), just like width( ) returns the width without "px". Or maybe there is a reason for it to behave differently ?

Also, the rotate( ) function should accept relative values like "+=20" (your patch on animate( ) does have the right filter to do that).

Sorry I don't fork, I'm new to git and all :)

Thanks for your work !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.