WordPress.org

Support

Support » Plugins and Hacks » [Plugin: IBlocks] Conflict with jQuery Lightbox For Native Galleries, JS error

[Plugin: IBlocks] Conflict with jQuery Lightbox For Native Galleries, JS error

  • There seems to be a conflict between jQuery Lightbox For Native Galleries plugin and IBlocks. Both activated at the same time produces this error in firebug:

    $(obj).find(“a”).colorbox is not a function
    [Halt on error]

    $(obj).find(“a”).colorbox({rel:galleryid, maxWidth:”95%”, maxHeight:”95%”});

    And renders the lightbox inoperable.

    http://wordpress.org/extend/plugins/iblocks/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I withdraw my previous comment, I’ve traced it down to a typo in the IBlocks source given on this page: http://www.innovativephp.com/creating-stylish-feature-boxes-with-wordpress-shortcodes/

    The entire return value, line 76-81, should be:

    return “<dl class=’small_img_features’>
    <dt class=’small_img_features_title’>
    <img style=’vertical-align: middle; padding-right: 10px;’ src=” . $atts[‘image’] . ” alt=” />” . $atts[‘title’]. “</dt>
    <dd class=’small_img_features_content’>” . $atts[‘content’]. “</dd></dl>”;

    Plugin Author nimeshrmr
    Participant

    @nimeshrmr

    Hi eriksan1

    thanks for reporting the issue. I’ll fix it as soon as possible

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: IBlocks] Conflict with jQuery Lightbox For Native Galleries, JS error’ is closed to new replies.