Commit Graph

54 Commits

Author SHA1 Message Date
Jörn Zaefferer
fb57cc8aba Tooltip: Change default to flipfit for both dimensions, now that it is available. Fixes positioning issue when tooltipped element is at the top of the screen. 2011-08-18 21:39:27 +02:00
Jörn Zaefferer
2803417dc4 Tooltip: Handle ESCAPE key event to close tooltip when target has focus. 2011-07-13 18:06:16 -04:00
Scott González
e530d06c98 Tooltip: Pass the tooltip element in the open and close events. 2011-05-30 18:42:06 -04:00
Scott González
1b52cefc26 Widget: Fixed _show() and _hide() implementation and added tests. 2011-05-30 18:27:48 -04:00
Scott González
8c085cd27c Tooltip: Fixed handling of disabled tooltips. 2011-05-29 20:50:21 -04:00
Scott González
b6cda3dfee Tooltip: Added some comments. 2011-05-29 19:41:57 -04:00
Scott González
0fc41bcc4d Tooltip: Use bgiframe if available 2011-05-29 19:28:35 -04:00
Scott González
133fba2ad9 Tooltip: Don't close tooltips on mouseleave if the element is still focused. 2011-05-29 19:21:31 -04:00
Scott González
917d2b1358 Tooltip: Don't mess with the title attribute if it doesn't exist. Prevents the creation of a title attribute if there wasn't one to begin with. 2011-05-29 13:34:37 -04:00
Scott González
2a92b3ad8e Tooltip: Change default collision detection to 'flip fit' since the default vertical positioning is centered and can't flip 2011-05-29 12:29:11 -04:00
Scott González
8fc6ee6a19 Tooltip: Coding standards. 2011-05-28 20:30:14 -04:00
Scott González
9e4576bca9 Tooltip: Alphabetized options. 2011-05-28 20:19:23 -04:00
Scott González
74df32f91e Tooltip: Removed click handler. 2011-05-28 20:15:26 -04:00
Scott González
6bc220587e Tooltip: Fixed tracking of tooltip elements. 2011-05-28 19:38:01 -04:00
Scott González
2155993096 Tooltip: Fixed tooltipClass option and added test. 2011-05-28 17:55:45 -04:00
Scott González
4dbfdcede3 Tooltip: Allow content updates via async response regardless of whether a sync response came back. Added more tests. 2011-05-28 17:36:57 -04:00
Scott González
2fbd310a15 Tooltip: Added a destroy method to remove generated tooltip elements. 2011-05-28 16:20:01 -04:00
Scott González
6a5b21fda2 All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances. 2011-05-28 15:39:55 -04:00
Scott González
2f3284811c Tooltip: Proper handled of disabled option. 2011-05-28 15:25:05 -04:00
Scott González
d43118dfba Tooltip: Cleanup. 2011-05-28 11:43:57 -04:00
Scott González
d4f6f17c8d Tooltip: Changed custom animation demo and changed the logic for showing tooltips so custom position options can perform animations. 2011-05-28 10:18:39 -04:00
Scott González
e7be72ff06 Tooltip: Coding standards. 2011-05-27 20:05:20 -04:00
Jörn Zaefferer
66b96cbbe4 Tooltip: Also close on click. Essential for tooltips on menu buttons. 2011-05-04 08:21:57 +02:00
Jörn Zaefferer
0496a50238 Tooltip: Replace offset property with inline my+offset to make it easier
to override the offset. Fixes the odd offset in the video player demo.
Also doesn't need units.
2011-05-02 18:22:00 +02:00
jzaefferer
3bb9ab2626 Tooltip: Add support for delaying showing/hiding. Still need to figure
out how to combine that with non-animated show/hide.
2011-04-21 14:30:42 +02:00
jzaefferer
3950a0515d Stop show animation on hide. Now that we don't reuse the tooltip
element, we can safely do that.
2011-04-15 16:53:05 +02:00
jzaefferer
e609bebaae Custom tooltip animations based on widget-animations branch. 2011-04-15 16:49:29 +02:00
jzaefferer
67d49f593b Overhaul tooltip implementation. Avoid queuing and other problems by
creating the tooltip element on the fly, never reusing it.
Use aria-describedby attribute to find the associated tooltip again.
Allows customizing animations much easier (just replace fadeIn/fadeOut),
still open.
Updated demos and visual test to replace now-missing .widget() method.
Added tooltipClass for that.
2011-04-13 14:01:46 +02:00
Scott González
31a181abfc Tooltip: Make sure we have a target before trying to open the tooltip. 2011-02-26 15:06:06 +01:00
Scott González
b4d75c1083 Tooltip: Rename _show to _open. 2011-02-26 15:04:33 +01:00
Scott González
678ff6326a Added version property to plugins that were missing them. 2011-02-03 12:01:26 -05:00
Scott González
6e0482a9cb Updated copyright year. 2011-01-17 09:13:18 -05:00
Scott González
56c4c6aca9 Change destroy to _destroy and remove calls to $.Widget.prototype.destroy in widgets with simple destroy methods. 2011-01-14 17:11:22 -05:00
jzaefferer
1fd34199ef Tooltip: Seperate restoring title attribute from assigning current-variable, in case currentTitle is undefined. 2010-12-03 18:14:20 +01:00
jzaefferer
2c4d4180c3 Tooltip: Update license header. 2010-11-20 15:43:13 +01:00
jzaefferer
48a5977d33 Tooltip: Implementing event delegation support. 2010-10-26 17:07:22 +02:00
jzaefferer
9556eccc0b Tooltip: Update _init to _create 2010-10-26 14:41:14 +02:00
jzaefferer
bd22613af7 Tooltip: Removing application role, should be set on application level 2010-10-26 14:40:48 +02:00
jzaefferer
8b4245ac7e Tooltip: Removing tooltipClass option; use .tooltip("widget").addClass("whatever") instead 2010-10-26 14:32:03 +02:00
jzaefferer
732a485676 Tooltip: Adding another ajax example to visual testcase. Fixing async response handling (taking IE cached response quirk into account) and simplifying fade animations a ton. 2010-10-21 21:03:48 +02:00
jzaefferer
96977edecc Use pushStack in tooltip's widget method. See #5732 2010-07-30 14:30:43 +02:00
jzaefferer
52c31650b0 Tooltip: Updated positioning - let user also customize of-property 2010-07-20 14:00:43 +02:00
jzaefferer
9b9b66d6ad Updated copyright headers to make it clear that you can choose between MIT and GPLv2. Also added a link to http://jquery.org/license. 2010-07-09 15:36:06 +02:00
jzaefferer
18a526ad78 Show tooltip before positioning it to fix scrolling issue, then hide again before animation 2010-05-19 18:51:38 +02:00
jzaefferer
99900d57ce Tooltip: Improve fadeout animation to handle case where tooltip overlays the element, causing it to hide instantly and never appearing again 2010-04-23 09:41:19 +02:00
jzaefferer
84e0ce168f Tooltip: Unit tests for tooltip and a fix to pass through event objects to triggered events 2010-04-15 09:45:35 +02:00
jzaefferer
6204e1a3c4 The accidental merge of tooltip into master was reverted in master, that revert got merged back into tooltip; now reverting that revert to get the tooltip stuff back, should then make it easy to merge into master once tooltip is done 2010-04-08 23:21:47 +02:00
jzaefferer
00fdd8bcd9 Revert accidental "Merge branch 'tooltip' of github.com:jquery/jquery-ui"
This reverts commit df31e22b95, reversing
changes made to ab8d155217.

Need to revert this revert later on when actually merging the tooltip branch into master.
2010-04-01 09:33:25 +02:00
unknown
ebac9717fd Tooltip: Renamed show to open and open to _show (based on spec), changed trigger(show) to trigger(open) and added trigger(close); always use element as target, enabling programmatic opening and closing 2010-03-31 20:17:45 +02:00
jzaefferer
a3286b12be Tooltip: Added comment about asny response handling 2010-03-25 15:28:34 -04:00