WordPress.org

Ready to get started?Download WordPress

Forums

IBlocks
Conflict with jQuery Lightbox For Native Galleries, JS error (3 posts)

  1. eriksan1
    Member
    Posted 2 years ago #

    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/

  2. eriksan1
    Member
    Posted 2 years ago #

    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>";

  3. nimeshrmr
    Member
    Plugin Author

    Posted 2 years ago #

    Hi eriksan1

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags