WordPress.org

Ready to get started?Download WordPress

Forums

jQuery Colorbox
[resolved] colorbox class not working on all images (3 posts)

  1. duanek
    Member
    Posted 1 year ago #

    I'm using jquery colorbox and it works great for images in posts. However, I also have a slickr-flickr showing 9 thumbs in the site footer that I've applied the colorbox class to. On pages displaying posts with image(s), both the post images AND the footer thumbs open in colorbox perfectly. But on pages not displaying a post with image(s), the footer thumbs just open the image links in a new tab/window.

    I see the colorbox scripts and css are loading in my <head> section, and the colorbox div is at the bottom of the code, so it looks like everything's loading fine. Does colorbox not get initialized on all pages? I.e. does the $(whatever-class).colorbox() code only exist when a page has post images or colorbox-link styles?

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

  2. techotronic
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,
    can you post a link to the site?
    Cheers,
    Arne

  3. duanek
    Member
    Posted 1 year ago #

    Hi Arne, thanks for the reply. I should've updated my post. Everything is working now. I switched to loading colorbox scripts in the footer and so must've been a conflict with another plugin.

    Sorry, too, for not posting a link — couldn't as it's a political site that was still in dev mode, but live now. It's at http://www.marcgarneau.ca if you care to see, but as said colorbox is working fine now.

    Excellent plugin all 'round. Many thanks!

    Duane

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic