[Project_owners] more Statusbar problem

joe ertaba belaviyo at gmail.com
Sun Jul 8 06:30:46 PDT 2007


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 !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070708/7b647076/attachment.html 


More information about the Project_owners mailing list