No errors but it should be giving me a lightbox functionality but it only directs me to the image path when I click. http://www.codefundamentals.com/test.php
Tips on how the code looks is appreciated. This was in jQuery but I tried converting it as best I could.
Hmm, my closing feature only seems to work once? Can someone offer explanation? I can open, then close, then open again, and then it fails. I assume my if/else condition in “trigDisplay()” is faulty.