Using the most recent build of imgbox, encountering the same problem I had with LightBox2; mainly, the ‘title’ attribute. It makes a caption, but html likes to make a hovertext over the image link.
Like so:
<a id="example1-1" href="./painting/everythingieverwanted/everythingieverwanted.jpg" title="Lorem <a href=''> ipsum</a> dolor sit amet">
I went in and tried to manually switch all instances of ‘title’ in jquery.imgbox.js to ‘imagecaption’, and renamed my attributes accordingly, so:
<a id="example1-1" href="./painting/everythingieverwanted/everythingieverwanted.jpg" imagecaption="Lorem <a href=''> ipsum</a> dolor sit amet">
but that didn’t work. Any idea where I am going wrong?
I looks like imgBox comes with a second .jss file that needs to be altered that I didn’t notice at first: jquery.imgbox.pack.js
Basically I went through and replaced all “title” attributes with “imgboxcaption” in both
jquery.imgbox.pack.js
and
jquery.imgbox.js
and
imgbox.css
then, when writing it out, this works:
No html hover because of the title tag, and the caption is there.
Note that the titleh attribute does not need to be changed.