Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
dist
node_modules
npm-debug.log
133 changes: 133 additions & 0 deletions dist/CHANGELOG.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
v1.3.0:
date: TBD
diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.2.0...master
description: API enhancements, new options, and several bug fixes
changes:
- section: Features & Improvements
changes:
- Added openEvents and closeEvents options.
- Added popupClass option for custom tooltip classes.
- section: API
changes:
- The destroy() API method elements argument is now optional. When omitted all instances will be destroyed.
- Added toggle() method to the API.
- section: Bug Fixes
changes:
- The closeDelay timer is now correctly shared between all tooltips.
- Browser dimensions cache is now initialized as soon as PowerTip loads.
- Fixed queuing issue when the API hide() method is called immediately after show().
- Fixed error when an element with an open tooltip is deleted.
- The mouseOnToPopup option will now be ignored (forced false) when the manual option is enabled.
- Fixed possible repeated event hooks when mouseOnToPopup is enabled.
- Fixed mouseOnToPopup events being applied to other instances where manual is enabled.
- section: Miscellaneous
changes:
- Fixed script url in the examples HTML file incuded in the release.
- Documented the caching quirks for changing tooltip content.
v1.2.0:
date: 2013-04-03
diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.1.0...v1.2.0
description: Major release with lots of improvements and a significant code rewrite
changes:
- section: Features & Improvements
changes:
- Mouse-follow tooltips will now flip out of the way if they become trapped in the bottom-right corner.
- Escape key will now close tooltip for selected element.
- Added support for elastic tooltips.
- Added manual option to disable the built-in event listeners.
- Added nw-alt, ne-alt, sw-alt, and se-alt placement options.
- Added support for SVG elements.
- PowerTip will now use right position for right aligned tooltips, and bottom position for nothern tooltips.
- Data attributes powertip and powertipjq now accept a function.
- powerTip() will now overwrite any previous powerTip() calls on an element.
- Added support for AMD loading of PowerTip.
- section: API
changes:
- Added show() and hide() methods to the API.
- Added reposition() method to the API.
- Added destroy() method to the API.
- You can now pass API method names as strings to the powerTip() function.
- showTip and hideTip API methods are now deprecated in favor of the new show and hide API methods (but they will continue to work until 2.0).
- section: CSS
changes:
- Added 8 new tooltip CSS themes.
- Changed default z-index in CSS themes to int max.
- Added RGB color fallbacks for tooltip arrows (meaning arrows arrows now work in IE8).
- section: Bug Fixes
changes:
- Fixed bug that would cause the CSS position to be updated even when the tooltip is closed.
- Fixed issue that could cause tooltips to close prematurely during the closeDelay period.
- section: Miscellaneous
changes:
- Project now has a fully automated build process.
- Added a complete test suite and hooked up Travis CI.
- Significant rewrite of the code.
v1.1.0:
date: 2012-08-08
diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.0.4...v1.1.0
description: Major release with several significant improvements
changes:
- section: Features & Improvements
changes:
- Added smart placement feature.
- Added custom events.
- Added support for keyboard navigation.
- Added support for jsFiddle.
- section: API
changes:
- Added API with showTip() and closeTip() methods.
- section: Bug Fixes
changes:
- Fixed mouse-follow constraint
v1.0.4:
date: 2012-07-31
diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.0.3...v1.0.4
description: Minor release to address issues with IE8
changes:
- section: CSS
changes:
- Added RBG background color fallback for browsers that do not support RGBA.
- section: Bug Fixes
changes:
- Fixed positioning problems with Internet Explorer 8.
v1.0.3:
date: 2012-07-31
diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.0.2...v1.0.3
description: Minor release to address a couple issues
changes:
- section: Features & Improvements
changes:
- Added mouse position tracking to scroll events.
- section: Bug Fixes
changes:
- Fixed rare issue that would make fixed placement tooltips follow the mouse.
v1.0.2:
date: 2012-07-26
diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.0.1...v1.0.2
description: Minor release to make a couple small improvements and bug fixes
changes:
- section: Features & Improvements
changes:
- Added placement class to tooltip element.
- Added CSS arrows to tooltips.
- Add nw, ne, sw, and sw placement options.
- Changed default closeDelay to 100ms.
- Changed default fadeOutTime to 100ms.
- Changed default placement to north.
- section: Bug Fixes
changes:
- Fixed error when there is no tooltip content.
- Fixed rare error when moused entered a tooltip during its fadeOut cycle.
v1.0.1:
date: 2012-07-11
diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.0.0...v1.0.1
description: Minor release to fix a tip tracking issue
changes:
- section: Bug Fixes
changes:
- Fixed rare issue that caused tooltips to become desynced.
v1.0.0:
date: 2012-07-01
description: Initial public release
changes:
- section: Initial public release
20 changes: 20 additions & 0 deletions dist/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2014 Steven Benner (http://stevenbenner.com/)

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
102 changes: 102 additions & 0 deletions dist/css/jquery.powertip-blue.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
/**
* PowerTip
* http://stevenbenner.github.io/jquery-powertip/
*
* Stylesheet for the blue theme.
*/

#powerTip {
cursor: default;
background-color: #d2e6fa;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #a5d2fa inset;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #a5d2fa inset;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #a5d2fa inset;
border: 1px solid #4b91d2;
border-radius: 6px;
color: #000000;
display: none;
padding: 10px;
position: absolute;
white-space: nowrap;
z-index: 2147483647;
}
#powerTip:before {
content: "";
position: absolute;
}
#powerTip.n:before, #powerTip.s:before {
border-right: 5px solid transparent;
border-left: 5px solid transparent;
left: 50%;
margin-left: -5px;
}
#powerTip.e:before, #powerTip.w:before {
border-bottom: 5px solid transparent;
border-top: 5px solid transparent;
margin-top: -5px;
top: 50%;
}
#powerTip.n:before {
border-top: 10px solid #4b91d2;
border-top: 10px solid rgba(75, 145, 210, 0.8);
bottom: -10px;
}
#powerTip.e:before {
border-right: 10px solid #4b91d2;
border-right: 10px solid rgba(75, 145, 210, 0.8);
left: -10px;
}
#powerTip.s:before {
border-bottom: 10px solid #4b91d2;
border-bottom: 10px solid rgba(75, 145, 210, 0.8);
top: -10px;
}
#powerTip.w:before {
border-left: 10px solid #4b91d2;
border-left: 10px solid rgba(75, 145, 210, 0.8);
right: -10px;
}
#powerTip.ne:before, #powerTip.se:before {
border-right: 10px solid transparent;
border-left: 0;
left: 10px;
}
#powerTip.nw:before, #powerTip.sw:before {
border-left: 10px solid transparent;
border-right: 0;
right: 10px;
}
#powerTip.ne:before, #powerTip.nw:before {
border-top: 10px solid #4b91d2;
border-top: 10px solid rgba(75, 145, 210, 0.8);
bottom: -10px;
}
#powerTip.se:before, #powerTip.sw:before {
border-bottom: 10px solid #4b91d2;
border-bottom: 10px solid rgba(75, 145, 210, 0.8);
top: -10px;
}
#powerTip.nw-alt:before, #powerTip.ne-alt:before,
#powerTip.sw-alt:before, #powerTip.se-alt:before {
border-top: 10px solid #4b91d2;
border-top: 10px solid rgba(75, 145, 210, 0.8);
bottom: -10px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
left: 10px;
}
#powerTip.ne-alt:before {
left: auto;
right: 10px;
}
#powerTip.sw-alt:before, #powerTip.se-alt:before {
border-top: none;
border-bottom: 10px solid #4b91d2;
border-bottom: 10px solid rgba(75, 145, 210, 0.8);
bottom: auto;
top: -10px;
}
#powerTip.se-alt:before {
left: auto;
right: 10px;
}
9 changes: 9 additions & 0 deletions dist/css/jquery.powertip-blue.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

102 changes: 102 additions & 0 deletions dist/css/jquery.powertip-dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
/**
* PowerTip
* http://stevenbenner.github.io/jquery-powertip/
*
* Stylesheet for the dark monochrome theme.
*/

#powerTip {
cursor: default;
background-color: #424242;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.2) inset, 0 -2px 2px #323232 inset;
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.2) inset, 0 -2px 2px #323232 inset;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.2) inset, 0 -2px 2px #323232 inset;
border: 1px solid #000000;
border-radius: 6px;
color: #ffffff;
display: none;
padding: 10px;
position: absolute;
white-space: nowrap;
z-index: 2147483647;
}
#powerTip:before {
content: "";
position: absolute;
}
#powerTip.n:before, #powerTip.s:before {
border-right: 5px solid transparent;
border-left: 5px solid transparent;
left: 50%;
margin-left: -5px;
}
#powerTip.e:before, #powerTip.w:before {
border-bottom: 5px solid transparent;
border-top: 5px solid transparent;
margin-top: -5px;
top: 50%;
}
#powerTip.n:before {
border-top: 10px solid #000000;
border-top: 10px solid rgba(0, 0, 0, 0.8);
bottom: -10px;
}
#powerTip.e:before {
border-right: 10px solid #000000;
border-right: 10px solid rgba(0, 0, 0, 0.8);
left: -10px;
}
#powerTip.s:before {
border-bottom: 10px solid #000000;
border-bottom: 10px solid rgba(0, 0, 0, 0.8);
top: -10px;
}
#powerTip.w:before {
border-left: 10px solid #000000;
border-left: 10px solid rgba(0, 0, 0, 0.8);
right: -10px;
}
#powerTip.ne:before, #powerTip.se:before {
border-right: 10px solid transparent;
border-left: 0;
left: 10px;
}
#powerTip.nw:before, #powerTip.sw:before {
border-left: 10px solid transparent;
border-right: 0;
right: 10px;
}
#powerTip.ne:before, #powerTip.nw:before {
border-top: 10px solid #000000;
border-top: 10px solid rgba(0, 0, 0, 0.8);
bottom: -10px;
}
#powerTip.se:before, #powerTip.sw:before {
border-bottom: 10px solid #000000;
border-bottom: 10px solid rgba(0, 0, 0, 0.8);
top: -10px;
}
#powerTip.nw-alt:before, #powerTip.ne-alt:before,
#powerTip.sw-alt:before, #powerTip.se-alt:before {
border-top: 10px solid #000000;
border-top: 10px solid rgba(0, 0, 0, 0.8);
bottom: -10px;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
left: 10px;
}
#powerTip.ne-alt:before {
left: auto;
right: 10px;
}
#powerTip.sw-alt:before, #powerTip.se-alt:before {
border-top: none;
border-bottom: 10px solid #000000;
border-bottom: 10px solid rgba(0, 0, 0, 0.8);
bottom: auto;
top: -10px;
}
#powerTip.se-alt:before {
left: auto;
right: 10px;
}
9 changes: 9 additions & 0 deletions dist/css/jquery.powertip-dark.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading