[Rails-spinoffs] Re: Issue using the scriptaculous loader, caused by document.write...

2006-12-14 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred wrote: You proved my point: I don't understand what you mean by choke. My apologies, bad-bad wording indeed :) After reading all the new posts in these two duplicate threads I thought it's time to end it (AKA ignore them) as there's nothing

[Rails-spinoffs] Re: Draggable - revert option issue

2006-12-14 Thread Les
You are my hero :) Thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Spinoffs group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send

[Rails-spinoffs] Re: Effect.Opacity on Firefox Mac Dims text

2006-12-14 Thread Jason Hummel
Thanks for the reply Thomas. Unfortunately it doesn't look I can fix it in this case. I'm assuming this will be fixed with the new rendering engine in FF 3, which ties into the updated OSX rendering routines. Again, thanks for taking time to answer - and Script.aculo.us rocks. ;) On 12/13/06,

[Rails-spinoffs] Re: Should Event.stopObserving() remove itself from cache?

2006-12-14 Thread heidmotron
I get the Event.unloadCache but let's say you have something like this: div id=test /div script is: Event.observe('test', 'click', function(){ alert('I am so happy') }) Your Event.observers.length is 1 then you want to remove test, so before you actually remove it from the dom you are kind

[Rails-spinoffs] Re: Should Event.stopObserving() remove itself from cache?

2006-12-14 Thread Martin Bialasinski
On 12/14/06, heidmotron [EMAIL PROTECTED] wrote: script is: Event.observe('test', 'click', function(){ alert('I am so happy') }) Your Event.observers.length is 1 then you want to remove test, so before you actually remove it from the dom you are kind enough to say, hey, test div, stop

[Rails-spinoffs] Re: Should Event.stopObserving() remove itself from cache?

2006-12-14 Thread heidmotron
maybe using the anonymous function was a bad example. my point is just the Event.observers array. it can get quite big if you have a ton of observers. let say you have a hundred elements each in a partial and each element has an observer for mouseover, mouseout and click a total of 300 observers

[Rails-spinoffs] JS errors in OnComplete, AfterFinish,etc.

2006-12-14 Thread JRigby
How do you guys/girls trap Javascript errors in oncomplete and afterfinish? The browser nor FireBug reports JS errors that occur in this block. It just stops processing with no indication of where the error occurred. Currently I use a try/catch statement and print the error in the catch.

[Rails-spinoffs] Re: Should Event.stopObserving() remove itself from cache?

2006-12-14 Thread heidmotron
martin: excellent catch! I didn't even notice that the code would still fire even because i was passing an anonymous function through stop observing. A little arrogance and stupidity on my part, I was like 'whatever I use bind method for most of my method calls' Duh it returns anonymous function.

[Rails-spinoffs] Re: Scriptaculous loader ... how to clone it?

2006-12-14 Thread Peter Michaux
On 12/13/06, Fred [EMAIL PROTECTED] wrote: Have a serious look at the scriptaculous loader function, it is a prime example of turgid, confused programming. It contains a blatant syntax error (throw without try..catch), is fragile (as demonstrated here), uses an amazing series of nested

[Rails-spinoffs] Re: Issue using the scriptaculous loader, caused by document.write...

2006-12-14 Thread Fred
Marius Feraru wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred wrote: You proved my point: I don't understand what you mean by choke. My apologies, bad-bad wording indeed :) No problem. Anyway, in order to properly drop myself out of this discussion, I'll say it again, as

[Rails-spinoffs] Re: Drag and Drop in IE7 vs FF

2006-12-14 Thread ChrisJ
*Bump* I'm still interested in getting this addressed. I know I'm not the only one affected, because a friend of mine is seeing the same behavior with IE7... Any insights would be appreciated. chris j --~--~-~--~~~---~--~~ You received this message because