Right... I've come to this conclusion. Anyway, one the examples here:
http://scripty2.com/doc/scripty2%20fx/element.html#morph-class_method
$('element_id').morph('width:500px;height:500px', {
duration: 4,
transition: '',
delay: .5,
propertyTransitions: {
width: 'mirror', height: 'easeInOutCirc'
},
after: function(){ alert('finished'); }
});
throws an error.
this.options.transition is not a function
I forked and fixed it in base.js, its commited in my git fork if you want
it.
Rick
http://github.com/rwldrn
On Sat, Jun 27, 2009 at 6:37 AM, Radoslav Stankov <[email protected]>wrote:
>
> As far as I know scripty2 is not dropin replacements. It is a totally
> new project. As far the only 'old' effects are morph / fade / appear
> and the main change Effect variable is no logger in play.
>
> But a part of that it is really awesome effect engine. And as an open
> source project any one could write old Effect.* to new scripty2
> effects.
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---