[Proto-Scripty] Locking an Event Listener/Observe

2010-10-17 Thread Neaox
Hi, I am wanting the ability to lock an event as I register it so that is can't be removed or unregistered for example Event.Observe('element_id', 'click', function_name, true); The last parameter being a boolean value for locking the event or not, which would be false by default.

[Proto-Scripty] Re: Stack overflow... ???

2010-10-17 Thread T.J. Crowder
Hi, ...data-picker is a real attribute?? or you just add it for easy use with the $('*[data- picker]') selector?? I made it up for use with the selector. Technically, custom (made-up) attributes are invalid in HTML4, but in practice browsers just ignore them (but do preserve them and give

[Proto-Scripty] Re: Scalable Drag Drop (without noticeable lag)

2010-10-17 Thread T.J. Crowder
Hi, Not much I can do about that i guess. just letting you know I didn't write it that way. What I usually do is post it inline in the message (as you did), and *also* post it to Pastie.org and provide a link. Pastie preserves the formatting correctly. (I've never quite understood the truly

[Proto-Scripty] Toggle checkboxes???

2010-10-17 Thread Phil Petree
OK, I have a form where the first row of the first colum is a checkbox designed to toggle the checked/unchecked state of all the other checkboxes in the form (select all/select none). Problem is, the state of the checkbox with the onclick state is not getting changed. The rest of the check boxes

Re: [Proto-Scripty] Toggle checkboxes???

2010-10-17 Thread Jarkko Laine
Hi Phil, On 17.10.2010, at 18.15, Phil Petree wrote: OK, I have a form where the first row of the first colum is a checkbox designed to toggle the checked/unchecked state of all the other checkboxes in the form (select all/select none). Problem is, the state of the checkbox with the

Re: [Proto-Scripty] Toggle checkboxes???

2010-10-17 Thread Phil Petree
Thanks Jarkko! That was the perfect solution... I moved it into the real form and worked flawlessly. Much appreciated. Side note: You are saying the form needs to come before the table so that the table resides inside the form? I never knew that... never knew there was any difference in the

Re: [Proto-Scripty] Toggle checkboxes???

2010-10-17 Thread Jarkko Laine
On 17.10.2010, at 20.52, Phil Petree wrote: Thanks Jarkko! That was the perfect solution... I moved it into the real form and worked flawlessly. Much appreciated. Side note: You are saying the form needs to come before the table so that the table resides inside the form? I never knew