Hi all. I'm trying to use the SlideDown/SlideUp effects to build nifty dropdown menus. I've run into a few stumbling blocks and wanted to run things by the experts. So two questions:
- Is there a way to figure out the progress so far in an event? I'd like it so when you mouseout of menu that's in the process of sliding down from a mouseover, that is stop halfway and start sliding up immediately. This requires that I get the current percentage progress from the SlideDown, stop that event, and start a new SlideUp that starts with that value for progress. I didn't see any property in the effect for this. - Is there an event that fires at the end of an effect that lets me set a callback? Seems like that would be pretty handy. The website's article on EffectQueues was pretty handy for all this: http://wiki.script.aculo.us/scriptaculous/show/EffectQueues --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
