0
Au choix… :
function AfficherDiv(id){
document.getElementById(id).style.display = 'block';
}
function MasquerDiv(id){
document.getElementById(id).style.display = 'none';
}
function AfficherMasquerDiv(id){
if (document.getElementById(id).style.display != 'none') {
document.getElementById(id).style.display = 'none';
}
else {
document.getElementById(id).style.display = 'block';
}
}
function MasquerAfficherDiv(id){
if (document.getElementById(id).style.display != 'block') {
document.getElementById(id).style.display = 'block';
}
else {
document.getElementById(id).style.display = 'none';
}
}
DATE 20 Déc 2008
