I find myself regularly wanting to have an interactive tooltip that appears after clicking a trigger somewhere around that trigger, that's the case with datepickers, colorpickers, bookmark buttons, etc.
Most of the tools like datepickers usually provide a way to do that, but they all do it differently and all feel different to the user, so I find myself disabling this feature, wrapping the widget in a div and implementing the show/hide myself so that all my widgets behave the same.
Basically it's nothing else than an interactive tooltip and the tooltip provided by jquery tools provides most of what is needed.
The only issue is that the show/hide logic is hardcoded, (mouseover/mouseout on elements, focus/blur on inputs).
That'd be great if it was configurable.
When you want your tooltip to be an interactive widget what you usually need is that it appears when the trigger is "clicked" and that it disappears when a click is performed anywhere outside of the widget.
Note that with the current system when the trigger is a form element and the tooltip is interactive, the simple fact of clicking somewhere (even inside the tooltip) is going to blur the trigger and close the tooltip.
To wrap it up, this tooltip tool is awesome, very flexible when it comes to styling; adding a bit more control over the show/hide logic would make it ridiculously good for all sort of things.
One more little thing, if instead of targeting ["input, textarea"] you targeted ":input" that would allow the focus/blur thing to work on select as well.
Most of the tools like datepickers usually provide a way to do that, but they all do it differently and all feel different to the user, so I find myself disabling this feature, wrapping the widget in a div and implementing the show/hide myself so that all my widgets behave the same.
Basically it's nothing else than an interactive tooltip and the tooltip provided by jquery tools provides most of what is needed.
The only issue is that the show/hide logic is hardcoded, (mouseover/mouseout on elements, focus/blur on inputs).
That'd be great if it was configurable.
When you want your tooltip to be an interactive widget what you usually need is that it appears when the trigger is "clicked" and that it disappears when a click is performed anywhere outside of the widget.
Note that with the current system when the trigger is a form element and the tooltip is interactive, the simple fact of clicking somewhere (even inside the tooltip) is going to blur the trigger and close the tooltip.
To wrap it up, this tooltip tool is awesome, very flexible when it comes to styling; adding a bit more control over the show/hide logic would make it ridiculously good for all sort of things.
One more little thing, if instead of targeting ["input, textarea"] you targeted ":input" that would allow the focus/blur thing to work on select as well.
