Fancy box works all good at the begining.
But once another module JQuery Map Hilight enabled, the fancy box doesn't work any more.
Obviously, they are not compatible.

Comments

bas.hr’s picture

Priority: Critical » Minor
Status: Active » Postponed (maintainer needs more info)

Can you give more info about specific problem? Any errors?

daengo’s picture

I just noticed the same thing yesterday. If fancybox for DR 6 dev version is enabled by itself in a clean install, then no problem. Install something else like jtooltips or jquery map highlight and all fails. However, if you disable the fancybox module both of the other modules together or by themselves work. Disable everything and enable fancybox again and voila, fancybox works again. I can't seem to pinpoint what happens but I think it has something to do with jquery.fancybox-1.3.1.js. When that file disappears, the other jquery based modules work fine. I'm not experienced enough with javascript to understand why.

bas.hr’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I just did clean D6 install with Fancybox and jQuery Map Hilight (module version 1.0, plugin latest version from http://github.com/kemayo/maphilight/) modules installed and enabled and I cannot reproduce the error. Both FB and Map Hilight are working on the same page.

Check browser's error console for JS errors and please report them here.

daengo’s picture

Console gives this message only when both map highlight and fancybox are enabled, otherwise if only is enabled it does not:

F is undefined
/jquery_update/replace/jquery.min.js

jquery_update version is 6.x-2.0-alpha1

I'll try 6.x-1.1 and see what happens.

daengo’s picture

Here are the modules that I used. Are these the same ones that you used?

map highlight 6.x-1.0
fancybox 6.x-1.x-dev
jquery_update 6.x-2.0-alpha1
jquery plugins 6.x-1.7

graber’s picture

Great. Refresh after one year...

Anyway, I noticed there's a problem when I add my custom module (Jquery Ajax for checking promotion codes on user-register page) after the map highlight module - javascript doesn't work.
When I swiched them (changed weight of the map highlight module in "system" table) - my module works.

Seems like map highlight functions crash JS somehow.