Hi,
On http://www.mathsinthecity.com/ I have a ddblock slideshow using JQuery cycle to switch between slides (top left of content).
I also have an image with a link to a node, using colorbox to load it in a popup (top right of content).
After clicking the image and getting the popup, Firebug console reports "$.fn.cycle is undefined".
Checking the DOM on a fresh page load shows $.fn.cycle as a function, but checking again after clicking the popup shows $.fn.cycle as undefined - so it looks like colorbox-load removes it somehow. The attached image illustrates this in the DOM browser.
Any ideas where this might be happening?
Comment | File | Size | Author |
---|---|---|---|
DOM-cycle.png | 5.19 KB | Dave-B |
Comments
Comment #1
Dave-B CreditAttribution: Dave-B commentedI should have mentioned that I'm using ddblock version 6.x-1.0-rc6
Comment #2
Dave-B CreditAttribution: Dave-B commentedAh, I think I've isolated the problem - not colorbox, but fetching a node which includes the jquery script a second time (via colorbox-load).
I'll leave this issue open until I've verified this.
Comment #3
Dave-B CreditAttribution: Dave-B commentedYup, I prevented the node loaded into the colorbox popup from including scripts, and the problem dissappeared.
Apologies for the false alarm.