Closed
Bug 538111
Opened 15 years ago
Closed 14 years ago
Html image control click event is not firing
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: suresh540, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) When specify height to the table and inside table if we palce any contol like(image, anchor) the click event of the control is not working.Only some specific places of the control only working. Ex: The below is the sample code not working in one of our website.Same thing is working fine in IE browser. When we click the image on anywhere it is firing the onclick event but only firing only at the below. When we remove height of the table it is firing the event. <table id="tblMenu" cellpadding="0" cellspacing="0" border="0" width="100%" height="100%"> <tr class="leftframecontrol" align="left"> <td class="leftframecontrol" align="right" id="tdhlnkClose"> <img id="hlnkClose" src='../App_Themes/DEFAULT/images/hide.gif' onclick="return fnClose()" border="0"/> </td> </tr> </table> Reproducible: Always Steps to Reproduce: 1. Please execute the above code and click on image button the event is not firing. Only firing after removing the height. 2. 3. Actual Results: Click event is not firing every time. Expected Results: Click event should be fired every time.
Reporter | ||
Comment 1•15 years ago
|
||
(In reply to comment #0) > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) > Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) > Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) > Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729) > > When specify height to the table and inside table if we palce any contol > like(image, anchor) the click event of the control is not working.Only some > specific places of the control only working. > > Ex: The below is the sample code not working in one of our website.Same thing > is working fine in IE browser. > > When we click on the image it is not firing the onclick event but only > firing at the bottom. When we remove height of the table it is working fine > > > <table id="tblMenu" cellpadding="0" cellspacing="0" border="0" width="100%" > height="100%"> > <tr class="leftframecontrol" align="left"> > <td class="leftframecontrol" align="right" id="tdhlnkClose"> > <img id="hlnkClose" src='../App_Themes/DEFAULT/images/hide.gif' > onclick="return fnClose()" border="0"/> > </td> > </tr> > </table> > > Reproducible: Always > > Steps to Reproduce: > 1. Please execute the above code and click on image button the event is not > firing. > Only firing after removing the height. > 2. > 3. > Actual Results: > Click event is not firing every time. > > Expected Results: > Click event should be fired every time.
Reporter | ||
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•