Project:Sandbox

 function toggle { var ele = document.getElementById("toggleText_TOTO"); var text = document.getElementById("displayText_TOTO"); if(ele.style.display == "block") { ele.style.display = "none"; text.innerHTML = "[+] Afficher"; }	else { ele.style.display = "block"; text.innerHTML = "[-] Masquer"; } } [+] Afficher  <== cliquez pour plus d infos  blablablablba blablabla