prettyphoto opening image instead of lightbox [closed]
-
12-12-2019 - |
Question
I've been trying to figure out what's wrong with my code for the last couple hours. It's doing my head in. My prettyphoto isn't working and I can't figure out what's wrong. It doesn't open up as a lightbox, it just opens in a new window??
Here's a link to the stripped down version:
http://v2.jrd.com.au/test.html
Any help would be appreciated!!
Solution
Try this:
$("a[rel='prettyPhoto']").prettyPhoto({
...
});
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow