{"id":2858,"date":"2018-06-19T23:01:01","date_gmt":"2018-06-19T15:01:01","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=2858"},"modified":"2024-01-30T23:16:09","modified_gmt":"2024-01-30T15:16:09","slug":"tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/","title":{"rendered":"40+ Tooltip Scripts in CSS, JavaScript, and jQuery"},"content":{"rendered":"<p>Tooltip elements are a fascinating user interface feature. They display a small box with information when your <strong>mouse cursor hovers over text or an image<\/strong>. These elements are crucial in enhancing the <a href=\"https:\/\/www.hongkiat.com\/blog\/ux-and-ux-designers\/\">user experience<\/a>, as they provide instant information <strong>without requiring any clicks<\/strong>.<\/p>\n<p>While the simplest method to add tooltips is through the <code>&lt;ACRONYM&gt;<\/code> or <code>&lt;TITLE&gt;<\/code> HTML tags, there are various <strong>impressive designs and styles achievable with JavaScript and CSS<\/strong> through tooltip scripts. Let\u2019s explore some of these options.<\/p>\n<hr>\n<h2>CSS Tooltips<\/h2>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/kazzkiq.github.io\/balloon.css\/\">Balloon.css<\/a><\/h3>\n<p>Balloon.css is a CSS library <strong>built with Sass and LESS<\/strong> to create interactive tooltips. You can customize the tooltip\u2019s content and position using the <code>data-<\/code> attribute. The tooltip can be positioned to the left, right, or both sides. Moreover, you can even <strong>include Emojis in your tooltip content<\/strong>. You can install Balloon.css via NPM or load it from <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/cdnjs.com\/libraries\/balloon-css\">CDNJS<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/balloon-css.gif\" width=\"620\" height=\"596\" alt=\"Interactive tooltip example from Balloon.css library\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/arashmanteghi\/simptip\">Simptip<\/a><\/h3>\n<p>Simptip is a Sass-based toolkit that allows for <strong>easy customization and recompilation to suit your specific needs<\/strong>. The position and content of the tooltip are adjustable through class names and the <code>data-tooltip<\/code> attribute. Simptip is available for download as an <strong>NPM, Yarn, or Bower package<\/strong>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/simpletip.jpg\" width=\"722\" height=\"236\" alt=\"Simptip tooltip customization example\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/chinchang\/hint.css\">Hint.css<\/a><\/h3>\n<p>Hint.css is a widely-used CSS library for tooltip design, adopted by well-known websites like <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.hongkiat.com\/blog\/go\/fiverr\">Fiverr<\/a>, Webflow, and Tridiv. Unlike other CSS libraries, <strong>Hint.css utilizes the <code>aria-label<\/code> for accessibility, and its size and color can be customized using class names<\/strong> following the <a href=\"https:\/\/www.hongkiat.com\/blog\/css-writing-methodologies\/\">BEM methodology<\/a>. Hint.css is available on NPM, Bower, and <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/cdnjs.com\/libraries\/hint.css\">CDNJS<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/hint-css.jpg\" width=\"1564\" height=\"342\" alt=\"Hint.css library usage example on various websites\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/ghosh\/microtip\">Microtip<\/a><\/h3>\n<p>Microtip is an excellent CSS library designed with a focus on \u201cAccessibility\u201d. It <strong>employs the <code>aria-label<\/code> for tooltip content and the <code>data-<\/code> attribute to adjust tooltip size and positioning<\/strong>. The library uses CSS variables, enabling customization directly within your CSS file. Supported by a range of web and mobile browsers, Microtip is available as an NPM, Yarn package, and on the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/unpkg.com\/microtip\/microtip.css\">UNPkg CDN<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/microtip.gif\" width=\"960\" height=\"336\" alt=\"Microtip CSS library for accessible tooltips\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/tiaanduplessis\/wenk\">Wenk<\/a><\/h3>\n<p>Wenk is a super lightweight CSS library, weighing just 733 bytes. It\u2019s <strong>crafted in cutting-edge CSS using CSSNext, LESS, and SCSS<\/strong>, allowing for extensive customization and recompilation. You can download Wenk from NPM, Yarn, and access it via free CDN services like <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/unpkg.com\/wenk\/dist\/wenk.css\">rawgit.com<\/a> and <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/cdn.rawgit.com\/tiaanduplessis\/wenk\/master\/dist\/wenk.css\">unpkg.com<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/wenk-css.jpg\" width=\"716\" height=\"370\" alt=\"Wenk tooltip library\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/alcidesqueiroz\/tooltippy\">Tooltippy<\/a><\/h3>\n<p>Tooltippy is another <strong>compact CSS library<\/strong>, just about 1 KB in size. It offers a variety of pre-made themes for tooltip styling. Developed with the CSS pre-processor Stylus, Tooltippy allows for easy <strong>theme extension and customization<\/strong>. Detailed instructions for use and customization are available <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/alcidesqueiroz\/tooltippy#usage\">here<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/tooltippy.gif\" width=\"800\" height=\"257\" alt=\"Tooltippy CSS library for stylish tooltips\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/gw19\/eleganttips.css\">ElegantTips<\/a><\/h3>\n<p>ElegantTips comes with a selection of <strong>pre-designed themes<\/strong>, easily modified <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/gw19\/eleganttips.css#styles\">using provided class names<\/a>. This library is unique in that, unlike others that rely on HTML5 <code>data-<\/code> or <code>aria-label<\/code>, it requires an additional element to create the tooltip. This feature allows for <strong>including various content types within the tooltip, beyond just text<\/strong>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/elegant-tips.jpg\" width=\"1362\" height=\"282\" alt=\"ElegantTips CSS library showcasing diverse tooltips\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/eliortabeka\/tootik\">Tootik<\/a><\/h3>\n<p>Tootik is a versatile CSS library offering stylesheets in CSS, LESS, and Sass formats. What sets it apart is its <strong>user-friendly GUI for easy tooltip customization<\/strong>. With Tootik, creating custom tooltips is as simple as copying and pasting the generated HTML code.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/tootik.gif\" width=\"640\" height=\"439\" alt=\"Tootik tooltip library with GUI customization tool\"><\/figure>\n<hr>\n<h2>VanillaJS Tooltips<\/h2>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/atomiks\/tippyjs\">TippyJS<\/a><\/h3>\n<p>TippyJS, powered by Popper.js, is a robust JavaScript library that offers <strong>a wealth of customization options for tooltips<\/strong>. You can tweak animations, the tooltip arrow, width, size, theme, and more. It also features Callback functions, allowing you to <strong>execute specific actions when the tooltip is shown or hidden<\/strong>. These capabilities place TippyJS among the most powerful libraries for creating tooltips in JavaScript.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/tippy-js.jpg\" width=\"1412\" height=\"402\" alt=\"TippyJS features and customization options\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/darsain\/tooltip\">Darsain Tooltip<\/a><\/h3>\n<p>Darsain Tooltip provides a fundamental yet flexible tooltip implementation. It offers <strong>extensive configuration options and a set of class names to modify the tooltip\u2019s appearance<\/strong>. This library is compatible with older browsers, including IE9, and can be adjusted for IE8 compatibility.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/darsain-js.jpg\" width=\"1966\" height=\"590\" alt=\"Darsain Tooltip compatibility and features\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/frdnrdb\/bubb\">Bubb<\/a><\/h3>\n<p>Ideal for advanced JavaScript users, Bubb offers <strong>comprehensive APIs for more than just simple text display<\/strong>. Users can programmatically add complex HTML content to tooltips. The extensive capabilities of Bubb can be explored in its <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/bubb.surge.sh\/\">documentation and examples<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/bubb.gif\" width=\"300\" height=\"300\" alt=\"Bubb advanced JavaScript tooltip library\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/floating-ui\/floating-ui\">Popper<\/a><\/h3>\n<p>Popper is a sophisticated library designed for creating elements that \u201cpop\u201d, such as tooltips, popovers, and dropdowns. It serves as the foundation for TippyJS and is utilized by prominent entities like Bootstrap, Microsoft, and Atlassian, showcasing its wide applicability and reliability.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/popper-js.jpg\" width=\"844\" height=\"538\" alt=\"Popper library used in various applications\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/davidfig\/tooltip\">YY Tooltip<\/a><\/h3>\n<p>YY Tooltip stands out among its counterparts as it <strong>eliminates the need for HTML elements or attributes<\/strong>. Functioning solely with JavaScript, it allows for defining content, position, and colors through an Object, making it an ideal choice for full JavaScript web applications.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/yy-tooltip.jpg\" width=\"722\" height=\"302\" alt=\"YY Tooltip JavaScript-based library\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/ambar\/position.js\">Position.js<\/a><\/h3>\n<p>Position.js is another top-notch native JavaScript library for tooltips, offering a <strong>GUI for easy configuration and code generation<\/strong>. This library is highly compatible and can be used effectively with frameworks like React.js or Vue.js.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/position-js.jpg\" width=\"1676\" height=\"680\" alt=\"Position.js GUI and integration capabilities\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/bezet\/tooltip\">Bezet Tooltip<\/a><\/h3>\n<p>Bezet Tooltip provides <strong>14 distinct options for tooltip display<\/strong>, such as on the <code>right<\/code>, <code>left<\/code>, <code>bottom<\/code>, and more. It smartly <strong>adjusts the tooltip\u2019s position based on the available space<\/strong> around it. Explore its functionalities in the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/bezet.github.io\/tooltip\/\">demo<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/bezet.jpg\" width=\"1628\" height=\"634\" alt=\"Bezet Tooltip with various positioning options\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/joeleisner\/purejs-mousetip\">MouseTip<\/a><\/h3>\n<p>MouseTip is a JavaScript library that creates a <strong>tooltip which moves along with the cursor position<\/strong>. Uniquely, it configures the tooltip with a non-standard <code>mousetip-<\/code> attribute, differing from the typical HTML5 <code>data-<\/code> attribute. This library is conveniently available as an NPM module.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/mousetip.jpg\" width=\"1184\" height=\"232\" alt=\"MouseTip with cursor-following feature\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/jhartman86\/internetips\">Internetips<\/a><\/h3>\n<p>Internetips offers a tooltip experience similar to MouseTip, with the tooltip <strong>tracking the cursor\u2019s movement<\/strong>. Configuration is managed through JavaScript objects rather than HTML, and the attributes are optimized for modern browsers. This library is noted for being both lightweight and quick.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/internetips.jpg\" width=\"468\" height=\"182\" alt=\"Internetips with dynamic cursor-following tooltips\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/manishjanky\/mtip\">MTip<\/a><\/h3>\n<p>MTip is a JavaScript tooltip library known for its <strong>excellent browser compatibility<\/strong>, including IE8. It\u2019s fully customizable through various <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/manishjanky\/mtip#options\">options<\/a> and can be applied to any element, including an <code>img<\/code> tag. This flexibility makes it a versatile choice for web developers.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/mtip.jpg\" width=\"978\" height=\"310\" alt=\"MTip compatible with various browsers\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/viclafouch\/bubblesee\">Bubblesee<\/a><\/h3>\n<p>Bubblesee is a straightforward and lightweight JavaScript library for creating tooltips. Its simplicity makes it easy to use without complex configuration options. A Sass file is included for those who wish to customize the tooltip\u2019s appearance. Explore its functionalities in the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/viclafouch.github.io\/bubblesee\/demo.html\">demo<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/bubblesee.jpg\" width=\"392\" height=\"248\" alt=\"Bubblesee simple and lightweight tooltip\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/figuarnieri\/tipfy\">Tipfy<\/a><\/h3>\n<p>Tipfy, crafted with modern JavaScript ES6, is impressively compact at just 2 KB. The library offers two versions: <code>tipfy.min.js<\/code> for <strong>modern ES6 syntax<\/strong>, and <code>tipfy.es5.min.js<\/code> for compatibility with older browsers. It utilizes the <strong><code>data-<\/code> attribute<\/strong> for customization, such as <code>data-tipfy-side<\/code> for tooltip direction and <code>data-tipfy-text<\/code> for tooltip content.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/tipfy.jpg\" width=\"1078\" height=\"690\" alt=\"Tipfy's modern and compact tooltip design\"><\/figure>\n<hr>\n<h2>jQuery Tooltips<\/h2>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/calebjacob\/tooltipster\">Tooltipster<\/a><\/h3>\n<p>Tooltipster is a jQuery library offering vast customization options such as <strong>theme, animation, touch support, content, open-and-close triggers<\/strong>, and more. It features custom event listeners and callbacks, enabling developers to enhance the tooltip with bespoke functions. Additionally, its compatibility with older browsers like IE6 varies based on the jQuery version used.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/tooltipster.jpg\" width=\"1242\" height=\"339\" alt=\"Tooltipster with extensive customization options\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/wintercounter\/Protip\">Protip<\/a><\/h3>\n<p>Protip, another comprehensive jQuery plugin, supports 49 positions, <strong>HTML content, icon support, custom callbacks<\/strong>, and more. It provides <a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/protip.rocks\/\">a user-friendly GUI<\/a> for easy tooltip customization.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/protip.jpg\" width=\"1800\" height=\"722\" alt=\"Protip with diverse positioning and customization features\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/stevenbenner\/jquery-powertip\">PowerTip<\/a><\/h3>\n<p>PowerTip is a jQuery plugin enriched with numerous options and APIs, giving developers various implementation methods. It supports <strong>keyboard navigation<\/strong>, allowing tooltips to appear when elements are navigated using the <kbd>Tab<\/kbd> key. Available as an NPM module, it\u2019s compatible with RequireJS and Browserify.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/powertip.jpg\" width=\"1618\" height=\"336\" alt=\"PowerTip supporting keyboard navigation\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/nico3333fr\/jquery-accessible-dialog-tooltip-aria\">Accessible Aria Tooltip<\/a><\/h3>\n<p>This jQuery plugin focuses on accessibility, presenting a <strong>dialog box with a title, multiline text, and a close button<\/strong>. It stands out for its unique approach to tooltip design.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/accessible-aria.jpg\" width=\"940\" height=\"556\" alt=\"Accessible Aria Tooltip focusing on dialog box presentation\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/skyout\/tips.js\">TipsJS<\/a><\/h3>\n<p>TipsJS is a straightforward jQuery plugin with unique features. The <strong>tooltip content is set using a <code>data-tooltip<\/code> attribute<\/strong>, and the content can be formatted similarly to Markdown, using symbols like <code>*<\/code> for bold, <code>~<\/code> for italic, and <code>^<\/code> for headings.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/tips-js.jpg\" width=\"1438\" height=\"212\" alt=\"TipsJS with Markdown-like formatting capabilities\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/rubentd\/darktooltip\">Dark Tooltip<\/a><\/h3>\n<p>Dark Tooltip offers unique features such as the ability to <strong>add a confirm button (Yes and No), dim the background during display, and include HTML elements<\/strong> in the content. The <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/rubentd.com\/darktooltip\/\">demo page<\/a> showcases its capabilities vividly.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/dark-tooltip.jpg\" width=\"1104\" height=\"438\" alt=\"Dark Tooltip with confirm button and dimming feature\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/DavideTriso\/aria-tooltip\">Aria Tooltip<\/a><\/h3>\n<p>Aria Tooltip is a jQuery plugin compliant with WAI-ARIA 1.1, emphasizing accessibility. It\u2019s responsive, offering <strong>different configurations for varying viewport sizes<\/strong>. Available as an NPM module under the name <code>t-aria-tooltip<\/code>, it\u2019s a versatile choice for various applications.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/aria-tooltip.jpg\" width=\"898\" height=\"256\" alt=\"Aria Tooltip with responsive and accessible design\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/paulkinzett\/toolbar\">Toolbar.js<\/a><\/h3>\n<p>Unlike typical tooltip plugins, <strong>Toolbar.js creates an interactive toolbar within the tooltip<\/strong>. It contains links with icons that perform actions on click, similar to a standard toolbar. More details can be found in the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/paulkinzett.github.io\/toolbar\/\">documentation and examples<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/toolbar-js.jpg\" width=\"744\" height=\"392\" alt=\"Toolbar.js featuring a functional toolbar in tooltips\"><\/figure>\n<hr>\n<h2>VueJS Tooltips<\/h2>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/Akryum\/floating-vue\">V-Tooltip<\/a><\/h3>\n<p>V-Tooltip is a Vue.js component that leverages <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/floating-ui\/floating-ui\">Popper.js<\/a>. It introduces a <strong>new directive, <code>v-tooltip<\/code>, applicable to any element for creating tooltips<\/strong>. This directive can hold either the tooltip content or various <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/Akryum\/floating-vue#other-options\">options<\/a>. Additionally, the <code>v-popover<\/code> component allows for <strong>embedding more complex content<\/strong>, such as Vue.js components or HTML, into tooltips.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/v-tooltip.jpg\" width=\"1198\" height=\"400\" alt=\"V-Tooltip in Vue.js\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/vue-bulma\/tooltip\">Vue-Bulma Tooltip<\/a><\/h3>\n<p>Vue-Bulma Tooltip is a component of the Vue.js ecosystem, based on the Bulma UI Framework. As part of the <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/vue-bulma\">Vue Bulma<\/a> collection, this <strong>tooltip component is also available as a standalone NPM module named <code>vue-bulma-tooltip<\/code><\/strong>, enhancing its usability in various projects.<\/p>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/hekigan\/vue-directive-tooltip\">Vue-Directive-Tooltip<\/a><\/h3>\n<p>Similar to V-Tooltip, Vue-Directive-Tooltip is another component based on Popper.js. It offers the same <code>v-tooltip<\/code> directive for tooltip creation, though it <strong>does not include the <code>v-popover<\/code> component<\/strong> found in V-Tooltip.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/vue-directive-tooltip.jpg\" width=\"692\" height=\"270\" alt=\"Vue-Directive-Tooltip\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/KABBOUCHI\/vue-tippy\">Vue-Tippy<\/a><\/h3>\n<p>Vue-Tippy integrates <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/atomiks.github.io\/tippyjs\/\">Tippy.js<\/a> into Vue.js as a component. It features a <strong>custom directive, <code>v-tippy<\/code>, for adding tooltip content or options<\/strong>. Notably, it can render a custom Vue.js component inside the tooltip using the <code>html<\/code> option.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/vue-tippy.jpg\" width=\"984\" height=\"230\" alt=\"Vue-Tippy integration with Tippy.js\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/euvl\/vue-js-popover\">VueJS-Popover<\/a><\/h3>\n<p>VueJS-Popover is a custom Vue.js tool featuring a directive named <code>v-popover<\/code> and two components, <code>&lt;popover&gt;<\/code> and <code>&lt;tooltip&gt;<\/code>. This combination offers developers flexible ways to integrate tooltips into Vue.js applications.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/vue-js-popper.jpg\" width=\"1182\" height=\"506\" alt=\"VueJS-Popover flexibility in Vue.js\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/VdustR\/vue-hint.css\">Vue-Hint<\/a><\/h3>\n<p>Vue-Hint is a Vue.js plugin that wraps around <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/kushagragour.in\/lab\/hint\/\">Hint.css<\/a>. It features the <code>v-hint-css<\/code> directive, enabling the addition of tooltips. This plugin <strong>retains the same options as Hint.css<\/strong>, allowing them to be added either as a JavaScript object or as Vue.js modifiers.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/vue-hint.jpg\" width=\"514\" height=\"474\" alt=\"Vue-Hint incorporating Hint.css\"><\/figure>\n<hr>\n<h2>ReactJS Tooltips<\/h2>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/gilbarbara\/react-joyride\">React Joyride<\/a><\/h3>\n<p>React Joyride is a React component designed to display a series of tooltips that <strong>help new users navigate and familiarize themselves with your application<\/strong>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/react-joyride.jpg\" width=\"858\" height=\"556\" alt=\"React Joyride for user guidance\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/gilbarbara\/react-floater\">React Floater<\/a><\/h3>\n<p>React Floater wraps Popper.js into a React component, inheriting all its robust features. It enables the addition of tooltips and popups, and offers a <strong>playground for experimentation<\/strong> with the component through <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/codesandbox.io\/s\/84vn36m178\">this sandbox<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/react-floater.jpg\" width=\"1058\" height=\"584\" alt=\"React Floater with Popper.js features\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/meinstein\/react-autotip\">React Autotip<\/a><\/h3>\n<p>React Autotip is a straightforward component that <strong>automatically adjusts the tooltip\u2019s position<\/strong> based on the surrounding available space, ensuring optimal visibility and placement.<\/p>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/tvkhoa\/react-tippy\">React Tippy<\/a><\/h3>\n<p>Built on Tippy.js and Popper.js, React Tippy introduces a <strong><code>Tooltip<\/code> component that easily integrates into React applications<\/strong>, enhancing their interactivity and user experience.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/react-tippy.jpg\" width=\"878\" height=\"296\" alt=\"React Tippy based on Tippy.js\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/slmgc\/react-hint\">React Hint<\/a><\/h3>\n<p>React Hint is an extension of Hint.css for React, adding several new features such as <strong>auto-positioning, delay settings, and Callback functions<\/strong>, further enhancing the tooltip\u2019s flexibility and functionality.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/react-hint.png\" width=\"590\" height=\"218\" alt=\"React Hint with extended features\"><\/figure>\n<hr>\n<h2>More Tooltip Scripts<\/h2>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/sir-dunxalot\/ember-tooltips\">Ember Tooltips<\/a><\/h3>\n<p>Ember Tooltips is an Ember.js component built on Popper.js, focusing on creating accessible tooltips. It is continuously evolving to ensure compliance with Accessibility standards, particularly in the area of 508 compliance.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/ember-tooltip.jpg\" width=\"1626\" height=\"634\" alt=\"Ember Tooltips with accessibility focus\"><\/figure>\n<h3><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/Caged\/d3-tip\">D3 Tip<\/a><\/h3>\n<p>D3 Tip is a plugin for D3.js, a JavaScript library known for its data visualization capabilities like charts, maps, and diagrams. This plugin enables the display of tooltips over these data visualizations, enhancing the interpretability of complex information.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/d3-tip.jpg\" width=\"720\" height=\"552\" alt=\"D3 Tip for data visualization\"><\/figure>","protected":false},"excerpt":{"rendered":"<p>Tooltip elements are a fascinating user interface feature. They display a small box with information when your mouse cursor hovers over text or an image. These elements are crucial in enhancing the user experience, as they provide instant information without requiring any clicks. While the simplest method to add tooltips is through the &lt;ACRONYM&gt; or&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3393],"tags":[507,4117,1057],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>40+ Tooltip Scripts in CSS, JavaScript, and jQuery - Hongkiat<\/title>\n<meta name=\"description\" content=\"Tooltip elements are a fascinating user interface feature. They display a small box with information when your mouse cursor hovers over text or an image.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"40+ Tooltip Scripts in CSS, JavaScript, and jQuery\" \/>\n<meta property=\"og:description\" content=\"Tooltip elements are a fascinating user interface feature. They display a small box with information when your mouse cursor hovers over text or an image.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-19T15:01:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-30T15:16:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/balloon-css.gif\" \/>\n<meta name=\"author\" content=\"Hongkiat Lim\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hongkiat Lim\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"17 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/\"},\"author\":{\"name\":\"Hongkiat Lim\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e3613a3bf757e4f67770f0b7a339edd0\"},\"headline\":\"40+ Tooltip Scripts in CSS, JavaScript, and jQuery\",\"datePublished\":\"2018-06-19T15:01:01+00:00\",\"dateModified\":\"2024-01-30T15:16:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/\"},\"wordCount\":1784,\"commentCount\":47,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/balloon-css.gif\",\"keywords\":[\"CSS\",\"Javascripts\",\"tooltips\"],\"articleSection\":[\"Toolkit\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/\",\"name\":\"40+ Tooltip Scripts in CSS, JavaScript, and jQuery - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/balloon-css.gif\",\"datePublished\":\"2018-06-19T15:01:01+00:00\",\"dateModified\":\"2024-01-30T15:16:09+00:00\",\"description\":\"Tooltip elements are a fascinating user interface feature. They display a small box with information when your mouse cursor hovers over text or an image.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/balloon-css.gif\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/balloon-css.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"40+ Tooltip Scripts in CSS, JavaScript, and jQuery\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e3613a3bf757e4f67770f0b7a339edd0\",\"name\":\"Hongkiat Lim\",\"description\":\"Founder and Editor in Chief of Hongkiat.com. Hongkiat is also a designer, developer, entrepreneur, and an active investor in the US stock market.\",\"sameAs\":[\"http:\\\/\\\/www.hongkiat.com\\\/blog\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/hongkiat\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"40+ Tooltip Scripts in CSS, JavaScript, and jQuery - Hongkiat","description":"Tooltip elements are a fascinating user interface feature. They display a small box with information when your mouse cursor hovers over text or an image.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/","og_locale":"en_US","og_type":"article","og_title":"40+ Tooltip Scripts in CSS, JavaScript, and jQuery","og_description":"Tooltip elements are a fascinating user interface feature. They display a small box with information when your mouse cursor hovers over text or an image.","og_url":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2018-06-19T15:01:01+00:00","article_modified_time":"2024-01-30T15:16:09+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/balloon-css.gif","type":"","width":"","height":""}],"author":"Hongkiat Lim","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Hongkiat Lim","Est. reading time":"17 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/"},"author":{"name":"Hongkiat Lim","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e3613a3bf757e4f67770f0b7a339edd0"},"headline":"40+ Tooltip Scripts in CSS, JavaScript, and jQuery","datePublished":"2018-06-19T15:01:01+00:00","dateModified":"2024-01-30T15:16:09+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/"},"wordCount":1784,"commentCount":47,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/balloon-css.gif","keywords":["CSS","Javascripts","tooltips"],"articleSection":["Toolkit"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/","url":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/","name":"40+ Tooltip Scripts in CSS, JavaScript, and jQuery - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/balloon-css.gif","datePublished":"2018-06-19T15:01:01+00:00","dateModified":"2024-01-30T15:16:09+00:00","description":"Tooltip elements are a fascinating user interface feature. They display a small box with information when your mouse cursor hovers over text or an image.","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/balloon-css.gif","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/balloon-css.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/tooltips-scripts-50-scripts-with-ajax-javascripts-css-tutorials\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"40+ Tooltip Scripts in CSS, JavaScript, and jQuery"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e3613a3bf757e4f67770f0b7a339edd0","name":"Hongkiat Lim","description":"Founder and Editor in Chief of Hongkiat.com. Hongkiat is also a designer, developer, entrepreneur, and an active investor in the US stock market.","sameAs":["http:\/\/www.hongkiat.com\/blog"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/hongkiat\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-K6","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/2858","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=2858"}],"version-history":[{"count":4,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/2858\/revisions"}],"predecessor-version":[{"id":71168,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/2858\/revisions\/71168"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=2858"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=2858"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=2858"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=2858"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}