Commit 894e620a authored by Nathan Peraldi's avatar Nathan Peraldi

add javascript code for CSS generation

parent 0f90b835
......@@ -38,9 +38,14 @@ echo str_replace("Carte non disponible","",$EM_Event->output_single()); ?>
function display_mask(){
if (the_form.style.display==="block"){
the_form.style.display="none";
document.getElementById("adullact-display-mask").style.color="dimgrey";
document.getElementById("adullact-display-mask").style.backgroundColor="white"
}
else{
the_form.style.display="block"
the_form.style.display="block";
document.getElementById("adullact-display-mask").style.color="white";
document.getElementById("adullact-display-mask").style.backgroundColor="#3f7ca2"
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment