Changeset 1546 for trunk/Docs/Plugins/Tips.md
- Timestamp:
- 05/05/08 10:36:32 (1 week ago)
- Files:
-
- 1 modified
-
trunk/Docs/Plugins/Tips.md (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Docs/Plugins/Tips.md
r1485 r1546 26 26 ### Options: 27 27 28 * showDelay - (*number*: defaults to 100) The delay the onShow method is called.29 * hideDelay - (*number*: defaults to 100) The delay the onHide method is called.28 * showDelay - (*number*: defaults to 100) The delay the show event is fired. 29 * hideDelay - (*number*: defaults to 100) The delay the hide hide is fired. 30 30 * className - (*string*: defaults to null) the className your tooltip container will get. Useful for extreme styling. 31 31 * The tooltip element inside the tooltip container above will have 'tip' as classname. … … 38 38 ### Events: 39 39 40 * onHide: fires when the tip is shown41 * onShow: fires when the tip is being hidden40 * hide: fires when the tip is shown 41 * show: fires when the tip is being hidden 42 42 43 43 ### Example: … … 52 52 53 53 54 Tips Event: onShow {#Tips:onShow}54 Tips Event: show {#Tips:show} 55 55 --------------------------------- 56 56 … … 67 67 ### Example: 68 68 69 myTips.addEvent(' onShow', function(tip){69 myTips.addEvent('show', function(tip){ 70 70 tip.fade('in'); 71 71 }); 72 72 73 Tips Event: onHide {#Tips:onHide}73 Tips Event: hide {#Tips:hide} 74 74 --------------------------------- 75 75 … … 86 86 ### Example: 87 87 88 myTips.addEvent(' onHide', function(tip){88 myTips.addEvent('hide', function(tip){ 89 89 tip.fade('out'); 90 90 });