[Proto-Scripty] How to use event delegation for mouseenter/mouseleave events?

2009-11-26 Thread szimek
Hi, anyone had any luck with using event delegation for mouseenter and mouseleave events? I'm constantly adding and removing elements from the page, so it would be much better and easier than keeping track of all handlers manually. Cheers, Szymon -- You received this message because you are

[Proto-Scripty] Re: prototype 1.6.1, IE6: Object doesn't support this property or method, typeof Element=unknown

2009-11-26 Thread Carsten
Are you certain that the object has actually been created in the DOM when you call this? Element is the Element-object from the prototype library. The library has been included and other objects like Ajax are present. -- You received this message because you are subscribed to the Google

[Proto-Scripty] Re: prototype 1.6.1, IE6: Object doesn't support this property or method, typeof Element=unknown

2009-11-26 Thread Carsten
Are you certain that the object has actually been created in the DOM when you call this? Element is the Element-object from the prototype library. The library has been included and other objects like Ajax are present. -- You received this message because you are subscribed to the Google

Re: [Proto-Scripty] How to use event delegation for mouseenter/mouseleave events?

2009-11-26 Thread Peter De Berdt
On 26 Nov 2009, at 11:48, szimek wrote: anyone had any luck with using event delegation for mouseenter and mouseleave events? I'm constantly adding and removing elements from the page, so it would be much better and easier than keeping track of all handlers manually. For global handlers, we

[Proto-Scripty] Re: Attempting to extend a prototype method

2009-11-26 Thread david
Hi Hippyjim Starbrook, this is not the way you should do. It's better to use a wrapper to t (he native function. First because you did not modify the standard behaviour of prototype, and also because you still have the capability to call the original function. Have a look to the wrap() function

[Proto-Scripty] Re: Scriptaculous adds green color to upper-case fonts

2009-11-26 Thread Kenny
Hi David: Thanks very much for your replies which I eagerly awaited. unfortunately just now I noticed them although I checked every day. Thanks especially for checking the page as you have. Using FF3.5.5 I still see green coloring on most of the uppercase letters. I'll re-read your suggestions

[Proto-Scripty] Re: Scriptaculous adds green color to upper-case fonts

2009-11-26 Thread Kenny
On Nov 23, 2:53 pm, david david.brill...@gmail.com wrote: Hi again, I've checked on on another computer, and I see a problem in the menu when first overing an element. What I see is not a color problem, but an opacity problem. Menu element's opacity is not set at page definition, so when

[Proto-Scripty] Re: Scriptaculous adds green color to upper-case fonts

2009-11-26 Thread Kenny
On Nov 23, 2:53 pm, david david.brill...@gmail.com wrote: Hi again, I've checked on on another computer, and I see a problem in the menu when first overing an element. What I see is not a color problem, but an opacity problem. Menu element's opacity is not set at page definition, so when