Team:Oxford/Events
From 2014.igem.org
(Difference between revisions)
Line 35: | Line 35: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
var contentIds = ['royal_society', 'synthetic_biology', 'activity', 'workshop', 'uniq', 'sheffield', 'ysb']; | var contentIds = ['royal_society', 'synthetic_biology', 'activity', 'workshop', 'uniq', 'sheffield', 'ysb']; | ||
- | + | console.log("I am going to define displayModal now..."); | |
function displayModal(content) { | function displayModal(content) { | ||
document.getElementById("modal").style.display = "block"; | document.getElementById("modal").style.display = "block"; | ||
document.getElementById(content).style.display = "inline"; | document.getElementById(content).style.display = "inline"; | ||
} | } | ||
- | + | console.log("I've done it."). | |
function hideModal() { | function hideModal() { | ||
document.getElementById("modal").style.display = "none"; | document.getElementById("modal").style.display = "none"; |
Revision as of 21:24, 13 October 2014