Team:Grenoble/script

From 2012.igem.org

(Difference between revisions)
m
m
Line 77: Line 77:
);
);
</script>
</script>
-
</html>
+
</html
 +
 
 +
<script type="text/javascript">
 +
<!--
 +
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";
 +
}
 +
}
 +
//-->
 +
</script>

Revision as of 13:00, 5 September 2012