Closed
Bug 292193
Opened 20 years ago
Closed 20 years ago
javaScript error - onMouseOver event does not fire on animated buttons
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 218415
People
(Reporter: Adipa.Achintha, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Above web page contains some javascripts to add hoover effect for buttons when mouse moves over it. But this does not works. This causes when onMouseOver event fires in a <TD> tag. Also showModalDialog() function does not works on javaScripts. Reproducible: Always Steps to Reproduce: 1.Go to the site using firefox 2.Move the mouse over exit or back button 3.[do same with IE 6.0 and compare the results] Actual Results: mouse pointer is changed to typing cursor and button image does not changes Expected Results: mouse pointer has to changed to hand and button image has to change
Comment 1•20 years ago
|
||
*** Bug 292194 has been marked as a duplicate of this bug. ***
Comment 2•20 years ago
|
||
*** Bug 292195 has been marked as a duplicate of this bug. ***
Comment 3•20 years ago
|
||
Reporter: Can you please attach a simple testcase showing the problem?
Comment 4•20 years ago
|
||
the url redirects back to this bug or self closes validation gives "can't connect / connection refused" ->INVA ?
Comment 5•20 years ago
|
||
The problem seems to be Javascript that uses window.event. The following appears in the Javascript Console: "Error: e has no properties Source File: http://k.domaindlx.com/adipa/Home/HTM/Th_Aqua/Common_Jscript.js Line: 27" The relevant function is buttonImageHandler (see below), and is called as '...onMouseOver="buttonImageHandler(1);" onMouseOut="buttonImageHandler(0);"...' - i.e. "e" is not specified in the call. function buttonImageHandler(buttonEvt,e){ if (!e) var e=window.event; var S=e.srcElement; while (S.tagName!='TD') {S=S.parentElement;} if(buttonEvt==0){ S.className = 'clsNormalBtn'; }else{ S.className='clsRaisedBtn'; } }
Comment 6•20 years ago
|
||
Then this is a duplicate of bug 218415 (which is WONTFIX). *** This bug has been marked as a duplicate of 218415 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•