WordPress.org

Forums

jQuery Colorbox
[resolved] rel attribute to enable colorbox? (3 posts)

  1. rjpinney
    Member
    Posted 4 years ago #

    Hello,

    I have the plugin installed - the problem is that I don't want it enabled on all images, only some (graphs, for example).

    I'm aware that you can set it to run on all images and then exclude some with the attribute 'colorbox-off' but for some reason the 'enable on all images' option prevents text from wrapping around those images in blog posts.

    Could someone let me know what the rel attribute would be to turn colorbox ON for a particular image? (IE: it is off by default, and then enabled on particular images?)

    Thanks

    http://wordpress.org/extend/plugins/jquery-colorbox/

  2. rjpinney
    Member
    Posted 4 years ago #

    I've since figured this out (CSS class 'colorbox-123).

  3. techotronic
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,
    I am aware of a problem with floating images when you select the zoom overlay option, but nothing else...
    When you select the "enable on all images" option, the only thing the plugin does is add a CSS class "colorbox-ID" where the ID is the ID of the post or page that contains the image...

    Cheers,
    Arne

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • jQuery Colorbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic