Closed (cannot reproduce)
Project:
fancyBox
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2010 at 03:28 UTC
Updated:
22 Nov 2011 at 07:48 UTC
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
Comment #1
bas.hr commentedCan you give more info about specific problem? Any errors?
Comment #2
daengo commentedI 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.
Comment #3
bas.hr commentedI 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.
Comment #4
daengo commentedConsole 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.
Comment #5
daengo commentedHere 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
Comment #6
graber commentedGreat. 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.