I installed the fancy box module. It's configured with the proper library and version. I have defined the selector to be fancybox

<p><a href="/sites/all/files/images/app_process.jpg" title="Not stuffed animal" class="fancybox"><img src="/sites/all/files/images/app_process.jpg" /></a></p>

I then have the preceding code in the node that the fancy box config file is targeted to use. I know it's doig something because the link isn't working. It isn't showing me an overlaid box with the image inside. it's just not doing anything

Anyone get this working?

Comments

mikebann’s picture

sorry forgot to add code tags so code didn't show up

mikebann’s picture

I don't see a css linked in this after following the instructions

mikebann’s picture

I get a javascript error at line 77 when i try to run my fancybox

ret = selectedOpts.onStart(selectedArray, selectedIndex, selectedOpts);

it's telling me that the onStart() is not a function.

the above is line 77 this is running jquery 1.3.4

mikebann’s picture

as at December 2, 2010 the fancy box module requires an older version in the javascript library. the latest fancy box library at this time is 1.3.4 and I had to use 1.2.6 to get it working.

masher’s picture

This solution fixed my similar problem. Thanks

Obtained the older version here

http://code.google.com/p/fancybox/downloads/detail?name=jquery.fancybox-...