Hi Dylan,

I'm honored that you're using clueTip! :-)

It looks like you came up with a workaround for your issue, but for future reference, as of version 0.9.5 you can override defaults globally like so:

$.fn.cluetip.defaults.cluetipClass = 'jtip';

Hope that helps.


--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Mar 5, 2008, at 5:09 AM, Dylan Verheul wrote:


I'd like to set a default style for cluetips in my project. Since I'm
abstracting cluetip for my fellow programmers by wrapping it in PHP, I
don't like to add "cluetipClass: 'jtip'" to every call.

Can I do something like:

$.cluetip.setup({ cluetipClass: 'jtip' });
$("a.cluetip").cluetip();
$("a.cluetip2").cluetip({ some:other_option });

I tried, but it doesn't work like this now.
A global style would be a major improvement I think, you shouldn't
have to set the style for every cluetip.

Reply via email to