Hi Chris,

I just updated the clueTip plugin to allow you to display data from a javascript function (or a string). It's not in a packaged release yet, but you can grab the file from the svn here:

http://jqueryjs.googlecode.com/svn/trunk/plugins/cluetip/jquery.cluetip.js

So, now you can do something like this if you want:

$('a.mytooltip').cluetip('Hello. This will appear in the clueTip contents.');

And you can still include other options. For example:

$('a.mytooltip2').cluetip('Hello. This will appear in the clueTip contents.', {sticky: true});

And you can do something like this:

function moreStuff() {
    return 'more stuff!';
}

$('a.mytooltip3').cluetip( moreStuff() );


My testing was pretty cursory, so if you run into any problems with it, let me know and I'll try to fix them asap.

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



On May 19, 2008, at 3:21 PM, Chris Hall wrote:


Does anyone know if a plugin exists that can display a tooltip from
information received via ajax or from the output of a javascript
function?

I see a few that use ajax but I'm unable to modify them to also
display tooltip data from a javascript function.

Many thanks for the help.

Reply via email to