Line 100: | Line 100: | ||
<img id="PopupImg" src="https://static.igem.org/mediawiki/2018/c/cc/T--Toronto--6_29_2018_Safety_1.jpg" alt="Lab" style="width:100%;max-width:300px"> | <img id="PopupImg" src="https://static.igem.org/mediawiki/2018/c/cc/T--Toronto--6_29_2018_Safety_1.jpg" alt="Lab" style="width:100%;max-width:300px"> | ||
<img id="PopupImg" src="https://wallpaperbrowse.com/media/images/soap-bubble-1958650_960_720.jpg" alt="Something1" style="width:100%;max-width:300px" > | <img id="PopupImg" src="https://wallpaperbrowse.com/media/images/soap-bubble-1958650_960_720.jpg" alt="Something1" style="width:100%;max-width:300px" > | ||
− | <img id="PopupImg" src="https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg" alt=" | + | <img id="PopupImg" src="https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg" alt="https://wallpaperbrowse.com/media/images/soap-bubble-1958650_960_720.jpg" style="width:100%;max-width:300px"> |
</ul> | </ul> | ||
Line 130: | Line 130: | ||
var captionText = document.getElementById("caption"); | var captionText = document.getElementById("caption"); | ||
modal.style.display = "inline"; | modal.style.display = "inline"; | ||
− | modalImg.src = target. | + | modalImg.src = target.alt; |
Revision as of 20:58, 15 August 2018
×