Currently colorbox is called if available but nothing else.

                if ($.colorbox) {
                    $.colorbox({html: $block.html()});
                }

How should the block become visible?

We can require the theme to have a public function ie cbb_callback but that would limit the block visibility to appear in one way. It would be better to have this on a block specific configuration.

Comments

clemens.tolboom created an issue. See original summary.

clemens.tolboom’s picture

Issue summary: View changes
clemens.tolboom’s picture

Using jQuery.hide() then jQuery.show() on the block it was a little flickery.

So I added cbb.css to hide all blocks by default then show when needed. I tested this on system main block which delayed the content display a little.

  • clemens.tolboom committed 53a8e48 on 7.x-1.x
    Issue #2926285 by clemens.tolboom: Decide how the call custom popup...
clemens.tolboom’s picture

Status: Active » Fixed

I close this and wait for bug reports.

Status: Fixed » Closed (fixed)

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