Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Mouseenter & mouseleave aren't working correctly under FF.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
indigo  
View profile  
 More options Nov 5, 8:13 pm
From: indigo <indigomarf...@hotmail.com>
Date: Thu, 5 Nov 2009 17:13:05 -0800 (PST)
Local: Thurs, Nov 5 2009 8:13 pm
Subject: Mouseenter & mouseleave aren't working correctly under FF.
When you have some text input fields and you observe it for
mouseenters or leaves, it doesn't work correctly under Firefox 2.0+.
Everything works great under Safari, IE and Chrome.
I guess this problem has something to do with the famous Firefox
cursor bug.

This works incorrect (only when you move very slowly over the input
fields, and event will fire):

[CODE]

$$('input').each(function(current) {

Event.observe(current,'mouseenter',function(event) {
event.findElement().addClassName('doesntwork');

});

Event.observe(current,'mouseleave',function(event) {
event.findElement().removeClassName('doesntwork');

});
});

[/CODE]

This works correct:

[CODE]

$$('input').each(function(current) {

Event.observe(current,'mouseenter',function(event) {
console.log('enter');

});

Event.observe(current,'mouseleave',function(event) {
console.log('leave');

});
});

[/CODE]

If someone could find a fix for this, that would really help me out.

Thanks!


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex McAuley  
View profile  
 More options Nov 7, 6:09 am
From: "Alex McAuley" <webmas...@thecarmarketplace.com>
Date: Sat, 7 Nov 2009 11:09:01 -0000
Local: Sat, Nov 7 2009 6:09 am
Subject: Re: [Proto-Scripty] Mouseenter & mouseleave aren't working correctly under FF.
Its more than likely the findElement() that isnt working as the console.log
without using it works fine...

What about somehting like this...

var el=event.element(event);
$(el).addClassName('doesntwork');

Alex Mcauley
http://www.thevacancymarket.com


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
indigo  
View profile  
 More options Nov 7, 8:31 pm
From: indigo <indigomarf...@hotmail.com>
Date: Sat, 7 Nov 2009 17:31:56 -0800 (PST)
Local: Sat, Nov 7 2009 8:31 pm
Subject: Re: Mouseenter & mouseleave aren't working correctly under FF.
No, i'm afraid that's not the problem. I've tried both and the bug
stays.

Thanks for the help.

On 7 nov, 12:09, "Alex McAuley" <webmas...@thecarmarketplace.com>
wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
indigo  
View profile  
 More options Nov 18, 5:56 pm
From: indigo <indigomarf...@hotmail.com>
Date: Wed, 18 Nov 2009 14:56:23 -0800 (PST)
Local: Wed, Nov 18 2009 5:56 pm
Subject: Re: Mouseenter & mouseleave aren't working correctly under FF.
Is there anything i can do about this? Should i wait for a future
release?
This bug breaks my application as it won't work in firefox.

On 8 nov, 02:31, indigo <indigomarf...@hotmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google