I’m using the jquery Supersized 3.1.3 plugin, which all works well, and I was wondering if it was possible to add html to the images’ title attribute/slide captions? The code snippet below includes html in the title – found on a featured site – but I’m not sure how to re-encode it in the slidecaption div as html. Any help greatly appreciated, S.
The code (partial) which defines the image/s:
slides : [ //Slideshow Images
{
image : 'images/temp-image.jpg',
title : '<a href=/About/News/International_Innovation.aspx><h4>Building Bridges for International Innovation</h4> <p>Does studying art and design translate into creative business practices? RISD + Morisawa team up to find out. </a></p>',
url : 'http://www.nonsensesociety.com/2011/02/larissa/'
}
]
The slide captions are displayed in the following div:
<div id="slidecaption"></div>
It should work if you use regular HTML in the
title:.