Hello,

When I add class="colorbox-node" to links on my page, the links won't open. When I click the link, the "working simple" pops up at the links side for about a second but nothing else happened.

I tried changing the class to colorbox-inline and that worked fine. Colorbox also works fine with views on my site. I also tried to use colorbox node on a page at my work and that worked fine.

Here's a link to an example of this on my page

Could this be a theme issue?

Forgive me if I'm posting this on the wrong place, but I wasn't sure where else to ask about this.

CommentFileSizeAuthor
example.jpg4.29 KBAnonymous (not verified)

Comments

iLLin’s picture

Make sure the colorbox load setting is turned on. It should of automatically turned on when installing this module.

iLLin’s picture

Status: Active » Postponed (maintainer needs more info)
iLLin’s picture

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

Haven't heard back on this, open if you still have issues.

milehighlife’s picture

Version: 7.x-2.1 » 7.x-2.4
Status: Closed (cannot reproduce) » Active

I can get 'colorbox-load' to work as expected but 'colorbox-node' doesn't. Upon clicking, the throbber appears at the end of the link but the colorbox window doesn't load.

'Enable Colorbox load' is checked in Colorbox settings.

I have:
Colorbox Node module 7.x-2.4
Colorbox module 7.x-1.4
Colorbox plugin 1.3.20

Any ideas?

Thanks!

Barto.G’s picture

I have the same probleme and the javascript errors says

"Uncaught TypeError: Object [object Object] has no method 'colorbox' "

(function ($) {
        $(document).ready(function() {
          var params = {"inline":true,"href":"#cboxNode","innerWidth":600,"innerHeight":600};
         ERROR ON THIS LINE ************ $.fn.colorbox($.extend({}, Drupal.settings.colorbox, params)); ***************
        });
        
        // We need to clear out our html just in case there is
        // a video with autoplay.
        $(document).bind("cbox_closed", function() {
          $("#cboxNode").html("");
        });
      })(jQuery);
Barto.G’s picture

Here is a quick update:
colorbox node javascript doesn't play well alongside Modernizr.
I removed Modernizr and now I get the colorbox opened with my form in it.

I had tested another module http://drupal.org/project/simple_dialog which also did not work with modernizr on the site (insertBefore error)

iLLin’s picture

Status: Active » Fixed

Made some changes in the next release for DEV, see if this resolves those issues you were having.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.