WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Colorbox
rewrite of jquery-colorbox-autojs (3 posts)

  1. James Revillini
    Member
    Posted 3 years ago #

    jQuery(function($) {
        $("img").not('.colorbox-manual').addClass('colorbox-manual');
    });

    tested and works - ff 3.6, chromium 6.

  2. techotronic
    Member
    Plugin Author

    Posted 3 years ago #

    wow, thanks, will test and replace the script in my plugin.

    Cheers,
    Arne

  3. techotronic
    Member
    Plugin Author

    Posted 3 years ago #

    Hi again,
    I just came around testing this, and I can at least partially use it.
    Since I only want to add the "colorbox-manual"-class to images that do not already have a colorbox-class, I do the first part differently.
    Thanks for the second part, though, this is much better than the stuff I am currently using ;-)
    If you would like to be named as a contributor, I will need your website or email adress.
    Cheers,
    Arne

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic