Hi... I have a list <ul><li></li></ul> with 3 observers click,
mouseover, mouseleave, the problem is when I tried to observer the
mouseleave event throw the <ul> object doing something like


        $(this.id).observe("mouseleave", function(event){
           var li = event.findElement("li");
            if (li) {
               //do some
            }
        }.bind(this));

is weird sometimes work and in Internet explorer doesn't work but
insted If I do something like

        this.tabs.each(function(item, index){
            var idObject = ""// some id format;
            $(idObject).observe("mouseleave", function(event){
                //do some
            }.bind(this));
        }.bind(this));

works perflectly does anyone knows why is the reason for this
behavior??

thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to