[Plugin: jQuery Colorbox] colorbox-manual added to IMG tag, not A tag
-
I just updated to the latest version of your plugin, and thinks went wrong on the site I’m developing. The plugin is adding class=”cboxElement” to A tag hyperlinks for images on posts ONLY and not to pages or other places. The plugin adds “colorbox-manual” to the IMG tags elsewhere, but NOT to the A tag. This is resulting in the colorbox not working on non-posts.
Example on Resulting Post (Where it Works):
<a class="cboxElement" href="/image.jpg"> <img class="size-thumbnail imgleft colorbox-890" width="90" height="60" src="/image.jpg" alt="Image Test" title="Image Test"> </a>
Example on a Resulting Page (Where it DOESN’T Work):
<a href="/image.jpg"> <img class="size-thumbnail imgleft colorbox-manual" width="90" height="60" src="/image.jpg" alt="Image Test" title="Image Test"> </a>
Other factors: I am using timthumb and also cformsII (ver 11.5). Although everything was working just fine BEFORE the upgrade.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘[Plugin: jQuery Colorbox] colorbox-manual added to IMG tag, not A tag’ is closed to new replies.