WordPress.org

Ready to get started?Download WordPress

Forums

Lightbox Plus Colorbox
Use Shortcode in .js archive not run? (2 posts)

  1. alfredo49
    Member
    Posted 1 year ago #

    I am modifying the code of a. Js to a picture By clikink leave a lightbox but it does not work does anyone know why?
    This is the instruction:

    im.wrap("");

    Regards.

    http://wordpress.org/extend/plugins/lightbox-plus/

  2. alfredo49
    Member
    Posted 1 year ago #

    ups the instruction is:

    im.wrap("<a href='" + im.attr("src") + "' rel='lightbox[uniqueID|filename]' />");

    Complete code:

    p = $('<div>');
    						p.addClass('panel');
    						im = $('<img />');
    						im.attr('src',j_frames.eq(i).find('img').eq(0).attr('src')).appendTo(p);
    						im.wrap("<a href='" + im.attr("src") + "' rel='lightbox[uniqueID|filename]' />");
    						p.prependTo(j_gallery);
    						j_frames.eq(i).find('.panel-overlay').remove().appendTo(p);

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.