Line 153: | Line 153: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | |||
+ | <script> | ||
+ | // Modal Image Gallery | ||
+ | function onClick(element) { | ||
+ | document.getElementById("img01").src = element.src; | ||
+ | document.getElementById("modal01").style.display = "block"; | ||
+ | var captionText = document.getElementById("caption"); | ||
+ | captionText.innerHTML = element.alt; | ||
+ | } | ||
+ | |||
+ | </script> | ||
Revision as of 16:26, 12 September 2017