2022-2023/1NSI/08_Interaction_web/script/1E_interaction.js

10 lines
244 B
JavaScript
Raw Normal View History

2023-02-23 17:24:09 +00:00
function apparition(){
list.style.visibility = "visible";
}
function disparition(){
list.style.visibility = "hidden";
}
list.onmouseover = disparition ;
list.onmouseleave = apparition ;
list.onclick = function() { alert("Clic !") ; } ;