Closed Bug 184727 Opened 22 years ago Closed 22 years ago

javascript initial problem with onmouseout

Categories

(Core :: DOM: Events, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 130620

People

(Reporter: robert.graf, Assigned: saari)

References

()

Details

(Whiteboard: should be UNCONFIRMED)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 Colors of the left menu on this site will not always restored to it's original value (grey). You have to view slow & fast over the menu (try it). After you have moved a mouse over a colored menu (which wasn't restored to grey) it becomes grey. If you have checked all menus - it works brilliant - it only happens at the first time!!!! You have to RELOAD the page to reproduce the mysterious coloring. Reproducible: Always Steps to Reproduce: 1. Go to the URL 2. View with the mouse over the left menu - try it slow & fast. Actual Results: Colors will not always restored back after the FIRST view over a menu! Expected Results: The colors should be restored to the grey value. The javascript function 'ChangeBgColor' will be called on 'onmouseover' but the 'onmouseout' will NOT ALWAYS called on the FIRST TIME. Other browsers are working brilliant. Please note - if you want to retest it you have to RELOAD the page because it happens only for the first time for each menu!
-> Browser
Assignee: endico → saari
Component: Bugzilla: Other moz.org Issues → DOM Events
Product: mozilla.org → Browser
QA Contact: myk → vladimire
Whiteboard: should be UNCONFIRMED
Version: other → Trunk
FYI, the URL given in this bug report gives a 403 Forbidden error.
Sorry, I've changed the Apache http.conf and restarted the webserver. Now you can come in from another REFERER ... The link should work now. You can also try http://www.housemusic-online.com/Help/hmShowHelp.pl Robert
Try to set backgroundColor instead of background: document.getElementById(id).style.backgroundColor=bgcolor; I still don't understand why onmouseout is not executed the first time if onmouseover set the background
Thx, this solution works and is 'cleaner' of course. I'm not so into JavaScript - I've taken it from 'www.deutsche-bank-24.de' :-) Anyone should change the status of this bug. I don't know if anyone want to fix it - it's really not important (for me now). Regards, Robert G.
*** This bug has been marked as a duplicate of 130620 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.