[iTooltip] Replace the Original Advanced Tooltip Library

The JavaScript library lets you convert native tooltips into customizable overlays. iTooltip is a pure JS to replace the native tooltip that creates a custom pop-up hint and rich text from the title attribute of an element.

The library also has the ability to automatically reposition the tooltip when an item is too close to the edge of the screen. 

iTooltip Details

Post Nameitooltip Library
Author NameIns-V
CategoryTooltip
Official PageClick Here
Official Websitegithub.com
Publish DateSeptember 10, 2020
Last UpdateJune 28, 2023
DownloadLink Below
LicenseMIT

Options:

  • className – Sets the class name for a block with a hint. Default: ‘tooltip’;
  • indentX – Horizontal indent from the cursor (in pixels). Default: 10;
  • indentY – Vertical indent from the cursor (in pixels). Default: 15;
  • positionX – The initial position of the tooltip horizontally. Default: ‘right’. Variants: ‘left’, ‘right’, ‘center’;
  • positionY – The initial position of the tooltip vertically. Default: ‘bottom’. Variants: ‘top’, ‘bottom’, ‘center’;

WARNING! positionX and positionY can not simultaneously have the value “center”.

Must Read: Simple Lightweight jQuery Tooltip Plugin | Cooltip.js

How to make use of it:

Import the main JavaScript file iTooltip.js into the document.

<script src="./dist/iTooltip.js"></script>

Initialize the iTooltip.

window.onload = function () {
  let tooltip = new iTooltip()
  tooltip.init()
}

Insert any text or HTML content into the title attribute.

<span title="Image in the tooltip.<br><hr> //Add Image Here">WCF on hover tooltip.</span>

Possible options to customize the iTooltip.

tooltip.init({
  className: 'tooltip',
  indentX: 10,
  indentY: 15
})

See Demo And Download

iTooltip

Official Website(Ins-V): Click Here

This superior jQuery/javascript plugin is developed by Ins-V. For extra Advanced Usage, please go to the official website.

Related Posts

Floating-Whatsapp-Chat-Button

How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…

Data-Table-Generator-Tabulator

Interactive Data Table Generator with JS/jQuery and JSON | Tabulator

Tabulator allows you to create interactive tables in seconds from any HTML Table, JavaScript array, AJAX data source, or JSON format data. Just include the library in your…

alert-confirm-prompt-attention-js

Simple Alert, Confirm, Prompt Popup Using Vanilla JavaScript Library | attention.js

JavaScript provides various built-in functionality to display popup messages for different purposes. Attention JS is a vanillaJS plugin used to create a custom alert, confirm, or Prompt…

Bootstrap-4-Sidebar-Menu-Responsive-Template

Bootstrap 4 Sidebar Menu Responsive Template | MDB

Bootstrap Side Navbar – Responsive sidebar template based on the Bootstrap 4 framework. An easy-to-use, totally responsive, Google Material Design impressed aspect navigation for modern web app…

Bootstrap-4-Toast-Notification-Plugin

Lightweight Bootstrap 4 Toast Notification Plugin | BS4 Advanced Toast

A lightweight Bootstrap 4 Toast Notification plugin integrated with JS/jQuery. bs4-toast.js is a JavaScript library that enhances the native Bootstrap toast component with icons, buttons, callbacks, and…

Audio-Visualizations-Wave

How to Create Audio Visualizations with JavaScript | Wave.js

Audio Visualizer Library – wave.js is a vanilla javascript audio visualization library that provides 20+ creative audio visualization effects to bring more engagement to your visitor. Contribute…

Leave a Reply

Your email address will not be published. Required fields are marked *