c# - style Issue with Firefox -


I am using the code mentioned under the button mouseover event for this special code Mouseover fixes the text position for the event, it works fine for Chrome and IE. But by any means may be a problem with Firefox. The situation is not fixed in the case of Firefox.

Can someone guide me in this wrong?

  & lt; Div id = "DownloadHelp" runat = "server" style = "background-color: white; position: fixed; ambiguity: 0; top: 100px; z-index: 11; color: blue; font-size: small; background- Color: Silver; Threshold: Thin "& gt; Merge all selected files & lt; / Div & gt; & Lt; Asp: button onmouseover = "display ()" onmouseout = "fadeHelp ()" id = "single file download" width = "140px" enabled = "wrong" onclick = "single file selection" runat = "server" text = "merge and Download "& gt; & Lt; / ASP: Button & gt; Function display () {document.getElementById ("DownloadHelp"). Style.opacity = "1"; Var x = event.clientX; Var y = event.clientY; Document.getElementById ("DownloadHelp"). Style.top = y - 30; Document.getElementById ("DownloadHelp"). Style.left = x + 10; }    

In Firefox, the event object was not revealed

Do this:

  function display (event) {document.getElementById ("DownloadHop"). Style.opacity = "1"; Var x = event.clientX; Var y = event.clientY; Document.getElementById ("DownloadHelp"). Style.top = y - 30; Document.getElementById ("DownloadHelp"). Style.left = x + 10; }   

and this:

  & lt; Asp: button onmouseover = "display (event)" onmouseout = "fadeHelp ()" id = "singlefile download" width = "140px" enabled = "false" onclick = "single file selection" runat = "server" text = "merge Download more "& gt; & Lt; / Asp: button & gt;    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -