Bootstrap Basic Plug-in Learning Notes ToolTip tips tool (a) _javascript tips

Source: Internet
Author: User
Tags button type

The Hint tool (TOOLTIP) plug-in generates content and markup based on requirements, by default, by placing the cue tool (Tooltip) behind their triggering elements.

<! DOCTYPE html>
 
 

The Hint tool (Tooltip) plugin is not a pure CSS plug-in, unlike the Drop-down menus and other plug-ins discussed earlier. To use this plug-in, you must use JQuery to activate it (read JavaScript). Use the following script to enable all the ToolTip tools (Tooltip) on the page:

$ (function () {
//Start all ToolTip tool
  $ (' [data-toggle= ' tooltip] '). tooltip ();
}

Here is an example:

<! DOCTYPE html>  

The effect is as follows:

If you want to further study, you can click here to learn, and then attach 3 wonderful topics:

Bootstrap Learning Course

Bootstrap Practical Course

Bootstrap Plugin Usage Tutorial

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.