c# - style Issue with Firefox -
I am using the code mentioned under the button Can someone guide me in this wrong? In Firefox, the Do this: and this: 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.
& 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; }
event object was not revealed
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; }
& 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
Post a Comment