Hi Matt,
I test the pasted code, but it did not Work !
Perhaps a small extract of the original script.
btw you're though is interresting.
--
david
On 21 mai, 23:21, Matt Foster wrote:
> What is surprising to me is that the "this" scope ever actually worked
> inside the event handlers.
>
> Had
What is surprising to me is that the "this" scope ever actually worked
inside the event handlers.
Had you left the handle alone I know that Proto would have bound the
element to the handler such that "this" would assume the value of the
element, but since you explicitly set "this" via bind in the
David,
Thank you so much! This is exactly what I needed and it worked
perfectly. Thank you for taking the time to answer!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post t
Hi,
Here is the same code that work in FF3.0 and IE6 (could not test other
browser):
document.observe("dom:loaded", function() {
$$('#mainmenu li').each(function(item) {
item.observe("mouseover", function() {
this.addClassName("sfhover");