I\'m actually needing to include html links in the longdesc attribute. I\'ve altered prettyphoto to use longdesc instead of title for images, but I need to include html link
This can be done with the longdesc
attribute:
And then, in thedescription.html:
Link
One alternative way to do this is by using an OBJECT
element, as follows:
Also, since you asked for it, here is how to convert html entities automatically in jquery:
$('').text('Some Link').html();
// the above evaluates to <a href="link.html">Some Link</a>