[Proto-Scripty] Re: Good usage of bindAsEventListener

2009-05-27 Thread grunk
is)); > > } > > [1]http://prototypejs.org/api/enumerable/each > [2]http://proto-scripty.wikidot.com/prototype:tip-you-probably-don-t-nee... > [3]http://prototypejs.org/api/function/bind > [4]http://prototypejs.org/api/enumerable/invoke > > HTH, > -- > T.J. Crowder > t

[Proto-Scripty] Good usage of bindAsEventListener

2009-05-27 Thread grunk
Hi, I'm using bindAsEventListener in my classes like this : initialize : function(){ $$('.poper').each(function(element){ Event.observe (element,'click',this._clicCase.bindAsEventListener(this) }.bindAsEventListener(this)); } in the prototype doc we can read : you must remember

[Proto-Scripty] Re: Why doesn't this work in Internet Explorer?

2008-10-17 Thread grunk
It's work for me on IE 7.0.5730.13, The blindDown effect is not as fluent as with firefox but it's working On 17 oct, 13:25, moijk <[EMAIL PROTECTED]> wrote: > http://mpdemo.no/mpi/Doc/Moduler/MediaManager/ > > When I close the node down. that works perfectly. > > But when I try to open it - usi

[Proto-Scripty] Resize element (ie : div)

2008-10-17 Thread grunk
Hi, I'm trying to create a class to make dom element resizable , more precisely , i want to resize some div with handle on the corner and left/right side (like app window in Windows for example). It's work fine if i have only on instance of my class like : [code] Windows