object505 / tipso

A Lightweight Responsive jQuery Tooltip Plugin
http://tipso.object505.com/
MIT License
319 stars 119 forks source link

specify bg color from data attribute #49

Closed dcbaldwin1 closed 8 years ago

dcbaldwin1 commented 8 years ago

Or can you just use $(this).attr('data-bgcolor') like: jQuery(element).tipso({ speed : 400, background : $(this).attr('data-bgcolor') });