Team:Oxford/Events
From 2014.igem.org
(Difference between revisions)
Line 32: | Line 32: | ||
<script> | <script> | ||
var contentIds = ['royal_society', 'synthetic_biology', 'activity', 'workshop', 'uniq', 'sheffield', 'ysb']; | var contentIds = ['royal_society', 'synthetic_biology', 'activity', 'workshop', 'uniq', 'sheffield', 'ysb']; | ||
+ | |||
+ | function displayModal(content) { | ||
+ | document.getElementById("modal").style.display = "block"; | ||
+ | document.getElementById(content).style.display = "inline"; | ||
+ | } | ||
function hideModal() { | function hideModal() { | ||
Line 38: | Line 43: | ||
document.getElementById("modal").style.display = "none"; | document.getElementById("modal").style.display = "none"; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
</script> | </script> |
Revision as of 21:19, 13 October 2014