All that can probably be done. To include HTML or an image as HTML in a description, use single quotes to delimit the caption, example:
Code:
imagearray: [
["http://i26.tinypic.com/11l7ls0.jpg", "", "", '<span style="font-weight:bold;">Nothing</span> beats relaxing next to the pool when the weather is hot.'],
["http:/ . . .
You can include an image in the same way, just use an img tag. It's probably best to supply the width and height attributes to make it easier for the script to lay it out in the description area.
As for changing the background color for each image, that would be a little more complicated. I'm not sure when to change it. The script has an onslide function, but depending upon when the description is revealed, that might be too late. I have an add on that provides an onbeforeslide function, but that may be too early. What sort of descreveal are you using? Unless we made up a set of overriding styles and switched out additional classes on the background panel we could no longer use overriding style in a stylesheet for the .descpanelbg selector, it would override anything we try to do in the script to change it.
If you don't mind the background color being 100% opaque, you could try making a div within the description field for each imagearray entry that includes the background color:
Code:
imagearray: [
["some.jpg", "", "", '<div style="background-color:blue;"><span style="font-weight:bold;">Nothing</span> beats relaxing.</div>'],
["http:/ . . .
You might have to specify height and/or width at 100%, but perhaps not.
Bookmarks