jQuery(function($) {
$("img").not('.colorbox-manual').addClass('colorbox-manual');
});
tested and works - ff 3.6, chromium 6.
jQuery(function($) {
$("img").not('.colorbox-manual').addClass('colorbox-manual');
});
tested and works - ff 3.6, chromium 6.
wow, thanks, will test and replace the script in my plugin.
Cheers,
Arne
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
This topic has been closed to new replies.