[Prototype-core] Re: Any thought about integrating CSS handling in prototype?

2008-01-09 Thread Mislav Marohnić
On Jan 9, 2008 2:34 PM, Ignacio Coloma [EMAIL PROTECTED] wrote: Thanks Tobie for the script.aculo.us snippet. I knew about ways of creating new styles, it's the removal that bugs me. If you need to toggle styles, inject some dynamic CSS in the document that applies to some classnames and

[Prototype-core] Re: Any thought about integrating CSS handling in prototype?

2008-01-09 Thread Mislav Marohnić
On Jan 9, 2008 2:48 PM, Ignacio Coloma [EMAIL PROTECTED] wrote: Yep, I am doing that right now, but I expected better performance from removing the style altogether instead of applying a selector to remove it element by element. You'll get best performance by removing a class name from

[Prototype-core] Re: problem with event

2008-01-09 Thread [EMAIL PROTECTED]
Hi I do not know what is your problem, and I can not repeat your problem on my firefox 3.0 beta2, maybe it is only a problem for event sequence in firefox 2.0, try to fire the click in the window.onload event, maybe it can fix On Jan 6, 8:05 pm, 七星海 [EMAIL PROTECTED] wrote: using

[Prototype-core] Re: Javascript closures question

2008-01-09 Thread [EMAIL PROTECTED]
Hi Simon, It is very easy, just go to search about JavaScript Function Declaration and Function Expresion (which Jscript doesn't support), it is just function and scope, yes JS is an amazing language which support this kind of feature, so do not say anything like annonymous function, there is