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

Reply via email to