diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Script.aculo.us: Create your own Ajax effects

Thomas Fuchs has written an article on creating your own Ajax effects.

The article goes beyond the builtin effects that Script.aculo.us has, and shows you how to create your own. The example used is a cash register effect that counts between amounts as the register changes.

The end result is a nice easy effect that you can use:

new Effect.CashRegister('total',150,{duration:10});

Then you can explore callbacks to do further processing, transitions, effect queues, and more.

Share This Story, Choose Your Platform!

Do NOT follow this link or you will be banned from the site!