I'm using the script found on here (http://css3.bradshawenterprises.com/cfimg/#cfimg7), and I'm just wondering if it's possible to add links to the images?
Adding links to the html around the images doesn't work, and I tried adding a bit of javascript link code from looking online but it wouldn't work either (I'm 99% sure I used it wrongly though)
Anyways, part of the code says this
$("#cf7 img").eq(newImage).addClass("opaque");
This is the part I tried adding from How do I create a link using javascript?, I'm not surprised it didn't work though.
$("#cf7 img").eq(newImage).setAttribute("href", testlink);
$("#cf7 img").eq(newImage).innerHTML = linktext;
document.body.appendChild($("#cf7 img").eq(newImage));
Any help would be appreciated, there's a total of 5 images I would like to link to their own URL's (they're big images, so clicking on any of them should bring it up to full size)
Cheers :)