Peter Higgins had a little fun, and created a parody of the script.aculo.us home page: dojo.moj.oe.

The site shows off the new easing code that Robert Penner contributed to Dojo:

A small change in the Animation system to accommodate
the inclusion of the entire set of
Robert Penner’s Flash easing functions to The Dojo Toolkit. They were contributed
under CLA to the Dojo Foundation, and ported to JavaScript (dojox.fx.easing) by Bryan Forbes,
a Dojo committer, and maff mastermind.

He had released them BSD some time ago, officially. This CLA only insures a clear
traceable licensing path: written permission from the author. Its a huge win for JavaScript, and
the toolkits using or wanting to use those functions (Dojo now included). A big personal
Thank You is in order, from all the OpenWeb.

The dojo._Animation change is transparent, though these functions will not work
with the Dojo 1.0.x branch, basically because numbers were being clipped beyond “100%” of
the Line (like in the elastic easing functions, the “snap back” after overshooting the
target).

The moj.oe demo started out as a simple preview of this _Animation change, and the
fun easing functions. The gravity button uses the bounce transition to drop the circles
to the ground (and bounce), the snap-back when you drag the circles (or logo) uses
the elastic easing function, and the “Live Download” dialog uses the backIn easing method when
you click “hide”, for that “little boost immediately before leaving” …

Dojo.moj.oe

Source: Ajaxian
Original Article: http://feeds.feedburner.com/~r/ajaxian/~3/216241957/dojomojoe-parody-of-scriptaculous-homepage-in-dojo

Comments are closed.



Site Navigation