Team:Grenoble/script

From 2012.igem.org

Revision as of 13:01, 5 September 2012 by Clemenni (Talk | contribs)

function swap_div(my_div, my_object) { if (document.getElementById(my_div).style.visibility == "hidden") { document.getElementById(my_div).style.visibility = "visible"; my_object.value = "Cacher"; } else { document.getElementById(my_div).style.visibility = "hidden"; my_object.value = "Afficher"; } }