Just going off the top of my head here, but I'd do this:

1) Start with an element, X, with height 0 and positioned at the
bottom left of the window.
2) Increase the height of the element slightly each timer tick (how
much would depend on the number of ticks, etc), call it a
3) Adjust the position of the element in the y-direction by negative a.

Voila, that should do it. It's probably easier like this. You're
basically creating your own effect, the inverse of which is really the
"DropIn" effect in scriptaculous. Try looking at the code for that
effect, it may help you out a bit.

-Jerod

On 7/15/06, Teddy C <[EMAIL PROTECTED]> wrote:
Hello,

I want impl some effects like this
http://www.dynamicdrive.com/dynamicindex5/bottomtool.htm

but after a while of search I didn't find a direct way to use
CombinationEffects, did i miss something?

if i must write a new function, should i begin with Effect.Scale or
Effect.MoveBy or both?

greetings

teddy
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to