multiple text colors in jQuery Tooltip

30 Views Asked by At

I'm trying to get some words in a jQuery tooltip text, another colour. Is this possible? I would like to give the words 'CONTROL PANEL BUTTON' another colour. I already give the tooltip a custom class. Can I for instance use two classes for different parts of the tooltip text? Here's my script:

$("#ControlBTN").tooltip({
    content: "CONTROL PANEL BUTTON<br><br>Click to show or hide the Fluid Control Panel.",
    tooltipClass: "ui-tooltip_trans"
})
0

There are 0 best solutions below