Hi joe i have had same problem, if you need to change status text onmouseover you must replace original function with yours
eval("nsBrowserStatusHandler.prototype.setOverLink="+nsBrowserStatusHandler.prototype.setOverLink.toString().replace( 'link;','YourFunction();' )); So any time toString() calls, your function will be fire. be sure to replace original function "link;" after your works finished. you can read more about that in "http://www.mail-archive.com/project_owners@mozdev.org/msg02590.html " Thanks to "xeen" On 7/8/07, joe ertaba <[EMAIL PROTECTED]> wrote:
Hi i have 2 more problems with status bar First: i want to add listener to statusbar so alert when mouse over var statusbarDisplay = document.getElementById("statusbar-display"); statusbarDisplay.addEventListener ("mouseover", sdsd, true); function sdsd(){ alert('Hi '); } why it doesn't work? Second: i want to change status text when user go over link so i use this code: window.addEventListener("mouseover", wewe, false); function wewe(){ var statusbarDisplay = document.getElementById ("statusbar-display"); statusbarDisplay.label='Hello'; } this code doesn't works also but when i change mouseover to mousemove it works ! _______________________________________________ Project_owners mailing list Project_owners@mozdev.org http://mozdev.org/mailman/listinfo/project_owners
_______________________________________________ Project_owners mailing list Project_owners@mozdev.org http://mozdev.org/mailman/listinfo/project_owners