10 lines
266 B
JavaScript
10 lines
266 B
JavaScript
function apparition(){
|
|
langages.style.backgroundColor = "white";
|
|
}
|
|
function disparition(){
|
|
langages.style.backgroundColor = "blue";
|
|
}
|
|
langages.onmouseover = disparition ;
|
|
langages.onmouseleave = apparition ;
|
|
langages.onclick = function() { alert("Clic !") ; } ;
|