I want to make a light box pop up from some linked images, but I have no control over its id or class, these come from an SMF forum.
I need to compare linked images to see if their src and href attributes are the same, and then use the light box plugin.
I managed to get this in the document ready function:
$('a.bbc_link:has(img.resized)').lightboxplugin();
This makes all images launch the lightbox plugin, but I need to compare the img src and the link href to see if they are the same, and then use the plugin.
Sadly, it has to be made with jQuery, which I have little experience with.