[Proto-Scripty] Re: IE Add Observers in Reverse Order?

2009-10-12 Thread ColinFine
On Sep 29, 12:22 am, T.J. Crowder t...@crowdersoftware.com wrote: Hi, There is no order guarantee in either case (MDC doesn't discuss order [1], MSDN specifically says it's random[2]). And the W3C spec [1] specifically says it is left up to them: Many single modifications of the tree can

[Proto-Scripty] Re: IE Add Observers in Reverse Order?

2009-09-30 Thread Alex McAuley
@googlegroups.com Sent: Wednesday, September 30, 2009 12:34 AM Subject: [Proto-Scripty] Re: IE Add Observers in Reverse Order? On Sep 29, 8:45 am, KammylandSoftware kammyl...@gmail.com wrote: When ever you add oberservers to the same event such as Event.oberve(myElement, mousedown, someMethod_1

[Proto-Scripty] Re: IE Add Observers in Reverse Order?

2009-09-30 Thread KammylandSoftware
Fellows, thank you for you help. The technique I chose to use in the end was to simply call all methods in their intended order inside an anonymous function that gets set as the call parameter of Event.observe(). Something of this sort: Event.observe(myElement.id, mousedown, function(){

[Proto-Scripty] Re: IE Add Observers in Reverse Order?

2009-09-29 Thread RobG
On Sep 29, 8:45 am, KammylandSoftware kammyl...@gmail.com wrote: When ever you add oberservers to the same event such as Event.oberve(myElement, mousedown, someMethod_1()); Event.oberve(myElement, mousedown, someMethod_2()); does IE execute them in REVERSE order upon fire? They get

[Proto-Scripty] Re: IE Add Observers in Reverse Order?

2009-09-28 Thread T.J. Crowder
Hi, There is no order guarantee in either case (MDC doesn't discuss order [1], MSDN specifically says it's random[2]). You can determine empirically that IE does it one way and FF another, but you can't know that that won't change from dot release to dot release or even page to page. If you

[Proto-Scripty] Re: IE Add Observers in Reverse Order?

2009-09-28 Thread KammylandSoftware
Thanks mate. You can imagine how frustrating this is :) --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com