Not everyone knows, perhaps, but you can overwrite or add transitions effects scriptaculous.js very easily and quickly. Scriptaculous transitions, effects used in determining the type of animation, such as those are not implemented in Flash (I recommend a look at this PDF of the great Robert Penner ), but the net effect is - in fact - the same . In addition, the package Scriptaculous, some transitions are not present invence based in Actionscript. If we wanted to add a new transition to Scriptaculous just insert this code before using any effect:
1 2 3 | = function ( pos ) { Effect. Transitions. Exponential = function (pos) { - Math. pow ( 1 - pos , 2 ) ; return 1 - Math. pow (1 - pos, 2); } |
From now on we can use the new transition exponential in all the Scriptaculous effects. For a useful series of transitions - almost a porting to Actionscript Scriptaculous - see Add some spice to Scriptaculous .






Latest Comments
Mark : @ Mark: Thanks for the answer. For example, if you have a code to save / use the folder ...
Mark : Thanks for the answer. For example, if you have a code to save / use the folder ...
Giovambattista Fazioli : @ Mark: in principle, absolutely, a lot depends on how and what to download. La. ..
Mark : Hello, good guide! I wanted to ask, you can use the same code to run a sql database? Instead of ...
Joseph : Hi I wanted to ask you how you can do in the post I uploaded a gallery of 50 images, for example, ...