fancybox type error

Hi All,

I am facing a serious problem. I have added fancybox extension into my project. But its giving an javascript error

Its saying about




TypeError: $("a[rel=album-photo]").fancybox is not a function



don’t know why its giving such error and what i am missing.

Please help…

This is a javascript error which says that there is no such function which is being called.

You need to check that is fancy script is being loaded in head section?

Also, check extension documentations regarding it.

Thanks for the reply.

Yes its been loaded but I have found the problem, the thing that was happening that the javascript of EFancybox was contradicting with the javacript loaded by me manually.

So I had to disable my previous ones and I continued with this one.

Thanks