Skip to content Skip to sidebar Skip to footer

Setting Id And Adding Css Class To Poshy Tip Tooltip Div

How do I set the id or add an extra CSS class to a tooltip div created with Poshy Tip? I'd like to be able to distinguish between different tooltips that are displayed at the same

Solution 1:

I couldn't get the text-decoration to work but I did change the color:

I commented out classname: 'tip-yellow'

and added this at the bottom:

$('.tip-yellow:last').addClass('extraClass');

Your Fiddle v2

UPDATE: add ID to it as well

Your Fiddle v3

Post a Comment for "Setting Id And Adding Css Class To Poshy Tip Tooltip Div"