Releases: stefangabos/Zebra_Tooltips
Releases · stefangabos/Zebra_Tooltips
Version 1.2.2 released
Version 1.2.1 released
- fixed a bug where the "show" and "hide" methods were not accepting a jQuery selector as per documentation, but a single element; thanks to Martin for reporting;
- fixed a bug with the "content" property, where its value was not used unless the "title" attribute was also set on the element the tooltip was attached to; thanks to Phill for reporting;
- added a new "default_position" property useful if you want the tooltips to be positioned, by default, below the elements they are attached to and above only if there isn't enough space below; before, tooltips were shown by default above the elements they were attached to and below only if there wasn't enough above; thanks to Sebastian Popa for suggesting;
Version 1.2.0 released
- tooltip content can now also be set via the "zebra-tooltip" data attribute;
- tooltips are not shown anymore if the title or the data attribute is empty;
- all the callback functions now receive as second argument the tooltip element, allowing for on-the-fly customization;
- minor code tweaks as suggested by JSHint;