i was trying to integrate fancy box to a website and it was not working. so i fired up firebug on firefox to see what the error was and thats when i saw this error

$("a#RplyImg").fancybox is not a function

so i tried it on internet explorere, it worked, then i tried it on chrome, it didnt work.

i was so confused. i did some research and one of the post that i read mentioned that the jquery engine is included twice. i looked at my code and i only included the jquery engine once.. so another script might be including it again..

as i look at my code i saw i was including this file from fancybox:

as i looked at the directory in fancy box, i noticed there was another file called

notice the difference? one is jquery.fancybox-1.3.4.pack.js and jquery.fancybox-1.3.4.js (without the .pack)

so i included jquery.fancybox-1.3.4.js instead, it worked!!!

hope that helps