[Proto-Scripty] Re: Help with binding

2009-04-11 Thread kstubs
So quickly I go from "I got it", to scratching my head and "I don't got it" but, I have made your changes and it works! I guess then I only need to _bind_ in the case where I define my function for my timer and in my Event _observe_ definitions?. Sound about right? So I have, in my initiali

[Proto-Scripty] Effect.Queue doesn't work when elements added by iterating function then outside of the function

2009-04-11 Thread pumpkintea...@googlemail.com
Perhaps this is just a limitation, but I think what needs extending is an option to not start effects at all till the queue is fully setup, then the application should be able to just run the effect.queue. A problem example here as shown, $$('div.steams div').invoke('hide').each(function(

[Proto-Scripty] onDrop: function(element){element.remove();} throws an error in IE7

2009-04-11 Thread schnuber
Hi This script works in FF but not in IE7. The error occures with element.remove() in the onDrop callback function. I already found out, that if element is a instead of a element it works in both browsers. Any help is greatly appreciated. div.pinkSquare { border:5px solid pink;} div

[Proto-Scripty] Re: Help with binding

2009-04-11 Thread Ryan Gahl
> > this.__find().bind(this) > Ask yourself "what does this.__find() return"... and then ask "what does .bind() work on, and what does it return" .bind() is a method on the Function type (prototype.js extends the Function.prototype in javascript so that it has this .bind() method on it). Therefor

[Proto-Scripty] Re: Help with binding

2009-04-11 Thread kstubs
T.J. & Ryan, First of all, thanks for all the help! I have a very good understanding of bind, and it is working very well. Unfortunately, I have an issue, and am hoping for some help in troubleshooting. The following occurs: In my keyup event, I have correctly followed T.J.'s suggested approac

[Proto-Scripty] Ordonable sections

2009-04-11 Thread CiriusMex
Hi, I'm new to the script.aculo.us toolkit and, furthermore, don't know anything of dynamic web elements (like AJAX and so on...I do know about programation though, I worked a lot with Java J2EE and got a year now using RubyOnRails. Oh, know a little bit of Javascript thought). Ok so here comes my

[Proto-Scripty] Re: Draggable with Sortable

2009-04-11 Thread b.pwned
I'm also interested in a solution for this. Did maybe somebody find one? On Apr 6, 7:14 am, "rai.ashis" wrote: > Yeah the containment can be use to do so but as you have told the whole > element is replaced and i don't want to do that. > > I just want to make draggable element that can be droppa

[Proto-Scripty] Re: Ajax.Autocompleter and running scripts in results

2009-04-11 Thread Antti Boman
I'm very familiar with evalScrips in Ajax.Updater, but as we're talking about Ajax.Autocompleter instead, it doesn't apply. AFAIK, Ajax.Autocompleter uses Ajax.Request only. I may have to code this in myself, it seems. I'll send a patch when it's done. -a On Apr 9, 8:18 pm, Joe Athman wrote: >

[Proto-Scripty] Re: Element.insert() for white-space

2009-04-11 Thread Rippo
mistype nsert(' ') On Apr 11, 8:23 am, Rippo wrote: > Have you tried insert(' ) instead of a [space]? > Thanks > Rippo > > On Apr 11, 3:22 am, FigglesKoy wrote: > > > I noticed today that in using Elment.insert() in IE7, that if you just > > send spaces, they won't show up.  So for example: >

[Proto-Scripty] Re: Element.insert() for white-space

2009-04-11 Thread Rippo
Have you tried insert(' ) instead of a [space]? Thanks Rippo On Apr 11, 3:22 am, FigglesKoy wrote: > I noticed today that in using Elment.insert() in IE7, that if you just > send spaces, they won't show up.  So for example: > > > > $('testid').insert('hi').insert('   ').insert('there'); > > >