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?
- The topic ‘colorbox class not working on all images’ is closed to new replies.