Line 127: | Line 127: | ||
// Get the modal | // Get the modal | ||
var modal = document.getElementById('PopupModal'); | var modal = document.getElementById('PopupModal'); | ||
− | + | console.log("Hello world!"); | |
// Get the image and insert it inside the modal - use its "alt" text as a caption | // Get the image and insert it inside the modal - use its "alt" text as a caption | ||
var img = document.getElementsByClassName('popUpImgClass'); | var img = document.getElementsByClassName('popUpImgClass'); | ||
+ | console.log("Hello world2"); | ||
var modalImg = document.getElementById("img01"); | var modalImg = document.getElementById("img01"); | ||
var captionText = document.getElementById("caption"); | var captionText = document.getElementById("caption"); |
Revision as of 20:45, 10 August 2018
×