On Fri, May 30, 2008 at 5:17 PM, Karl Swedberg <[EMAIL PROTECTED]>
wrote:

> You might want to take a look at my clueTip plugin. It allows you to load
> the contents of the tooltip with the title attribute, the text contents of
> an element on the current page, or the result of an ajax request. Also, in
> the most recent version, if you can use a string as the first argument, it
> will use that for the contents. Use an anonymous function and it will use
> the return value of that function.
>

I like clueTip, but there are two things I wish it could do:
    - display the tooltips only after a small delay (configurable, although
500ms seems reasonnable)
    - automatically hide the tooltip whenever the mouse is pressed: if you
have set the tooltip on an input field, it really
      should disappear when you type to give the focus to the input. Perhaps
same on keypress events

I am not sure, also, whether it can take only part of the loaded ajax
document (similar to what load() allows). I use that
in my application where I have a single file containing all the tooltip
texts, and select the one I want. Since the file is
cached on the client, I don't have too many http requests, and I found it
more convenient for internationalization.

I might, of course, have misunderstood the documentation and code, sorry if
that's the case.

regards
Emmanuel

Reply via email to