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 links in those descriptions. I know it’s possible with code for characters, I just don’t remember what those are.
Thanks
This can be done with the
longdescattribute:And then, in thedescription.html:
One alternative way to do this is by using an
OBJECTelement, as follows:Also, since you asked for it, here is how to convert html entities automatically in jquery: