[Prototype-core] Re: Suggested utility method(shortcut) $T for getElementsByTagname

2008-05-10 Thread Tobie Langel
There's already Element#select for that: $( element ).select( div ); Note that if you absolutely want that shortcut, you can always implement it locally like so: Element.addMethods({ $T: Element.select.methodize() }); Best, Tobie. On May 10, 9:45 am, 七星海 [EMAIL PROTECTED] wrote: How

[Prototype-core] Re: Suggested utility method(shortcut) $T for getElementsByTagname

2008-05-10 Thread kangax
I have once tripped on #methodize as well, but I believe it's not even needed here: Element.addMethods({ $T: Element.select }) - kangax On May 10, 6:37 am, Tobie Langel [EMAIL PROTECTED] wrote: There's already Element#select for that: $( element ).select( div ); Note that if you

[Prototype-core] Re: DOMContentLoaded for IE

2008-05-10 Thread John-David Dalton
Hi All, I haven't read all the posts, but I have applied Samleb's patch which uses the doScroll jQuery method and fixes the first-in-first-out order. I have also fixed the window onload triggering before dom:content loaded and fixed the multiple window resize calls for IE. I have tested the

[Prototype-core] Re: DOMContentLoaded for IE

2008-05-10 Thread John-David Dalton
[#9394] window onload executing before all of the contentloaded observers are executed: http://dev.rubyonrails.org/ticket/9394 Patch 1 http://github.com/jdalton/prototype/commit/4d4ca98fa6f8994b873984f1485c5b496fadecb8 Patch 2