Difference between revisions of "Team:Toronto/WetLab/ExperimentProtocols"

Line 36: Line 36:
 
var captionText = document.getElementById("caption");
 
var captionText = document.getElementById("caption");
 
img.onclick = function(){
 
img.onclick = function(){
     modal.style.display = "block";
+
     modal.style.display = "inline";
 
     modalImg.src = this.src;
 
     modalImg.src = this.src;
 
     captionText.innerHTML = this.alt;
 
     captionText.innerHTML = this.alt;

Revision as of 20:01, 10 August 2018

Snow