LightBox: Possible to edit HTML source to add 'rel' tags dynamically?
Hello, I've just spent the last two hours pulling my hair out, finally digging around somewhere that the HTML source cannot be altered via javascript. It can be modified in memory, but the actual source cannot be, which sucks cause LightBox (for jquery) reads the 'rel' tags from the source, and not from memory. Is it possible to alter this behavior? I can change the 'rel' tags via jQuery, and confirm their changed with alerts, but the LIghtBox plugin will not accept those and uses the source. I'm using this Balupton plugin:
http://www.balupton.com/sandbox/jquery-lightbox/demo/
Any ideas would be great, if not possible than I'll have to maybe think of an AJAX solution. Thanks for your time