Reputation: 94
Fancybox is not working on this page, it has worked on lots of other sites with the same code. Firebug gives no errors. Any idea what the problem might be?
http://www.asbestaway.ie/gallery.php
Thanks
Bob
Upvotes: 0
Views: 279
Reputation: 3219
That is because your code for $("a[rel=example_group]")
returns an empty array - meaning there is no anchor tag with the attribute rel
whose value equals example_group
. It looks like from your code your anchor tags have rel="group"
, so it should work if you change it to $("a[rel=group]")
.
Upvotes: 1