I have a dynamic part of my website that shows a table if there are values and hides the table if there are no values. When it shows the table, the values in the table are in different colors that represent different definitions. I want to be able to add hover text with a color key for these definitions. Originally, I wanted a hover to have a little square of that color with the definition next to the color. I thought that might be too difficult after looking around, so I've resorted to just trying to change the actual color of the definition in order to show the link between the value/color/definition . However...I can't even figure out how to do that. i need the hover to occur on mouseover, so right now i have this until I figure out how to get colors / change the color text IN the hover paragraph:
$myResults.find('.Solutions').bind("mouseover", function(){
$(".myTable").attr('title', 'blue - value1 \n red - value2 \n olive - value3 \n');
});
I tried using tooltipster and couldn't get that to work.