zoukankan      html  css  js  c++  java
  • jQuery tooltip提示框的演示,鼠标悬停显示信息

    转自 https://blog.csdn.net/qq_39822451/article/details/83303186

    html源码:

    <!doctype html>
    <html>
    <head>
      <meta charset="utf-8">
      <title>jQuery UI Tooltip - Default functionality</title>
      <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
      <script src="//code.jquery.com/jquery-1.10.2.js"></script>
      <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
      <link rel="stylesheet" href="/resources/demos/style.css">
      <script>
      $(function() {
        $( document ).tooltip();
      });
      </script>
      <style>
      label {
        display: inline-block;
         5em;
      }
      </style>
    </head>
    <body>
     
    <p><a href="#" title="这就是Tooltips这个小工具">Tooltips</a> 很是强大</p>
    <p>但是
    <a href="http://jqueryui.com/themeroller/" title="ThemeRoller2: jQuery UI的主题创建应用">ThemeRoller</a>
    也挺厉害</p>
    <p>Tooltips 对表单元素很有用,可以在某些区域显示指定内容</p>
    <p><label for="age">Your age:</label><input id="age" title="输入年龄只做统计使用"></p>
    <p>鼠标悬停去看tooltip的效果.</p>
     
     
    </body>
    </html>
    

     

    效果图:

  • 相关阅读:
    DG查看恢复进度
    dataguard主备延迟多长时间的查询方法
    DG动态性能视图详解
    Django之ORM的增删改查操作流程
    IPython
    render函数和redirect函数的区别+反向解析
    http状态码
    图的基本概念
    图的遍历
    vue之webpack打包工具的使用
  • 原文地址:https://www.cnblogs.com/emanlee/p/14118115.html
Copyright © 2011-2022 走看看