Bug Tracker

Opened 11 years ago

Closed 10 years ago

#3464 closed enhancement (invalid)

[tooltip] Sticky tooltips and event handlers

Reported by: ReneLeonhardt Owned by:
Priority: major Milestone: 1.3
Component: plugin Version: 1.2.6
Keywords: sticky, handler Cc:
Blocked by: Blocking:

Description

I needed to add required functionality to jQuery.tooltip:

$("*[title]").tooltip({

    // Bind event handlers on tooltip element (helper.parent = div)
    handler: {click: function(event) { alert(this); } },

    // Comparable to delay: do not hide tooltip immediately.
    // If tooltip is entered during the sticky delay,
    // (after leaving the current element) the timeout stops
    // and is reactivated when leaving the tooltip.
    sticky: 2000}

Attachments (2)

jquery.tooltip-1.3+sticky+handler.js.diff.zip (4.4 KB) - added by ReneLeonhardt 11 years ago.
jquery.tooltip-1.3+sticky+handler+tracking.js.diff.zip (4.6 KB) - added by ReneLeonhardt 11 years ago.
Added stopping and restarting tracking functionality to sticky tooltips

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by ReneLeonhardt

Changed 11 years ago by ReneLeonhardt

Added stopping and restarting tracking functionality to sticky tooltips

comment:1 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

This is not a jQuery core bug. Please report plugin bugs to the plugin's author, or ask on the jQuery forums. jQuery UI bugs should be reported on the UI bug tracker, http://dev.jqueryui.com .

Note: See TracTickets for help on using tickets.