thank you sir. i got four for the price of one :
a response, which is always welcome.
the solution to the problem.
an explanation of why it fixed it (something i always hope for).
i couldn't agree more about understanding the code i employ. otherwise it is just cut & paste & hope nothing goes wrong.
i will say that i thought that text was text, as others did :
Sorry, you've lost me. That caption is just one word. How is that relevant to your question about changing styles within a single string?
But there's no reason it couldn't have been
caption: 'The dog says <span style="color: red; font-weight: bold;">woof!</span>',
Just as an example.
but you made me laugh. and i did learn something.