Tippy 5.0.0 features:
- tippy.php is now object-oriented. This has been on my to-do for a while; all major plugin functions are now wrapped in the Tippy class. I have left a few functions outside the class as helpers and for backwards-compatibility.
- Tooltips have a new . This cannot yet be set on a per-tooltip basis, but you can globally specify whether or not to allow tooltips to be drug around, and if dragging should only occur when the user click-drags the header.
- Renamed dom_tooltip.css and dom_tooltip.js to tippy.css/.js to help standardize naming.
- Also renamed classes, ie, domTip_tipHeader is now .tippy_header. All elements still retain the original class name, the new names are additions. You won’t have to rework any existing styling, but this should make things more straightforward going forward.
- Modified the default styling. I did this with some trepidation because Tippy now sets fewer options by default, relying on global theme styling. This could be a good thing, making the tooltip fit in to the site’s theme better, or it could be a problem for sites which don’t have universal styling for links and such (like mine until I get around to updating that). Let me know what you think.
- Fixed an issue with the close link text not displaying when the tooltip didn’t have a header.
- A few other tweaks and improvements throughout.
That’s about it! As always, get more info from the Tippy page. And one of these days I will finally put together a complete reference.