Effects are asynchronous.
http://wiki.script.aculo.us/scriptaculous/show/EffectQueues
http://groups.google.com/group/rubyonrails-spinoffs/browse_thread/
thread/a5990aabc0da9021/c6771f0fdfb6215b?hl=en#c6771f0fdfb6215b
Some variation of this question comes up almost weekly. Please read
the above links; if you still have questions, feel free to ask.
GIYF,
TAG
On Aug 12, 2007, at 4:57 PM, WinsonLee wrote:
>
> <div id="hand" style="display:none">
> <?php echo replacePngTags(''<img class="shot"
src="hand.png"
> alt="Assistance" title="Assistance"
/>''),"\n"; ?>
> </div>
>
>
> I have a div with id name ''hand''. How i am able to use a
combine
> effect to show the hand ?
>
> What I want to achieve is using the effect.grow to make the hand
> appear, move up and down for a couple of times, then use effect.shrink
> to make the hand dissapear. this process will happend in different
> location within a certain time interval.
>
> I try to use
> new Effect.Grow
> new Effect.MoveBy
> new Effect.Shrink
> within the same javascript code but only one of the effect appear.
>
> Why does this happend ?
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---