I have an element where I do a BlindDown on mouse over and a BlindUp on mouse out... The problem I am seeing is if I take my mouse off befor the first blind down is all the way down, the blind flickers and it is competing at lowering and raising the blind simultaneously. I assume (hoping) there is some way to ether : 1) Have blind up wait till blind down is finished befor going back up when called on the same element. 2) Have Blind down stop when blind up is called on the same element, then blind up goes from there. Cheers! ______________________________________________________________________ Alex Duffield . Principal . InControl Solutions . http:// www.incontrolsolutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051010/2dbd0d9f/attachment-0001.html
I posted an page that shows the problem I am having... http://dev.lunny.com/testslide.php if you leave the mouse over the trigger (green div) until the effect is finished, all is good. But you start to get problems if you mouse off before the effect is complete. Any help on this is greatly appreciated. (Using 1.5pr3) ______________________________________________________________________ Alex Duffield . Principal . InControl Solutions . http:// www.incontrolsolutions.com On 10-Oct-05, at 3:44 PM, Alex Duffield wrote:> I have an element where I do a BlindDown on mouse over and a > BlindUp on mouse out... > > The problem I am seeing is if I take my mouse off befor the first > blind down is all the way down, the blind flickers and it is > competing at lowering and raising the blind simultaneously. > > I assume (hoping) there is some way to ether : > > 1) Have blind up wait till blind down is finished befor going back > up when called on the same element. > 2) Have Blind down stop when blind up is called on the same > element, then blind up goes from there. > > Cheers! > ______________________________________________________________________ > Alex Duffield . Principal . InControl Solutions . http:// > www.incontrolsolutions.com > > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051010/bfb67c6d/attachment.html
Use the "queue: ''end''" option on both effects. Some code using this is available at: http://script.aculo.us/__trunk_test/test/run_functional_tests.html Choose "effects_queue" and have a look at the sources to see some more examples. Thomas Am 11.10.2005 um 02:19 schrieb Alex Duffield:> I posted an page that shows the problem I am having... > > http://dev.lunny.com/testslide.php > > if you leave the mouse over the trigger (green div) until the > effect is finished, all is good. But you start to get problems if > you mouse off before the effect is complete. > > > Any help on this is greatly appreciated. > > (Using 1.5pr3) > > On 10-Oct-05, at 3:44 PM, Alex Duffield wrote: > >> I have an element where I do a BlindDown on mouse over and a >> BlindUp on mouse out... >> >> The problem I am seeing is if I take my mouse off befor the first >> blind down is all the way down, the blind flickers and it is >> competing at lowering and raising the blind simultaneously. >> >> I assume (hoping) there is some way to ether : >> >> 1) Have blind up wait till blind down is finished befor going back >> up when called on the same element. >> 2) Have Blind down stop when blind up is called on the same >> element, then blind up goes from there.-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051011/48905134/attachment.html