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!!

Was it helpful?

Solution

Try this:

$("a[rel='prettyPhoto']").prettyPhoto({
    ...
});
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top