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?

CommentFileSizeAuthor
DOM-cycle.png5.19 KBDave-B
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dave-B’s picture

I should have mentioned that I'm using ddblock version 6.x-1.0-rc6

Dave-B’s picture

Ah, 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.

Dave-B’s picture

Status: Active » Closed (works as designed)

Yup, I prevented the node loaded into the colorbox popup from including scripts, and the problem dissappeared.

Apologies for the false alarm.