usablica / motion.js

Motion.js is a easy to use, cross-browser CSS3 library for creating animations in web.
MIT License
80 stars 24 forks source link

Refine code as jQuery plugin to use it's sizzle selector and it's animation as css3 fallback #15

Open salisa opened 11 years ago

salisa commented 11 years ago

Greetings:

Congratulation Afshin, The motion.js is pretty cool in vision of iranin javaScript developers. Salisa

As a good jQuery based css3 transions projects like jQuery Transit by Rico Sta. Cruz developement on this field comes into a challenge!

The successful motion.js may use jQuery's power because of:

  1. The number one css selector (sizzle engine)
  2. Terrific animation functions (use as fallback css3 transition in many cases)
  3. Decrease the size of motion.js source code in next development generations

Good Luck

afshinm commented 11 years ago

Hey @salisa,

First of all, thanks for your greeting. I have to mention that the vision of MotionJs is to provide a better way for creating CSS3 animations, only. So we only focus of CSS3 animations.

Really thanks for your suggestion, there are very cool and interesting but I should say:

  1. We are using native JavaScript CSS selector engine. It's fast, no dependency.
  2. We need no fallback on animations, only CSS3 supported.
  3. Sure.

Thanks again, let me know what you think.

salisa commented 11 years ago

Well, It's the fancy roadmap, Great! As another issue: The alert informing for old browser users is not such a good pleasure of interaction! you can make it configable with a silent mode, or throwing manual exception by default:

throw new Error("Your browser is out of date, use modern one!");
afshinm commented 11 years ago

Yeah, I agree with you about that. We'll fix that in next version but it would be so better if you become a MotionJs contributor :)