zoukankan      html  css  js  c++  java
  • jQuery鼠标悬停显示提示信息窗体

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>鼠标悬停显示提示信息窗体</title>
    <meta http-equiv="content-type" content="text/html;charset=gb2312">
    <style type="text/css">
    .contact{100px;height:15px;margin:20px 0 0 50px;background-color:#CCCCCC;text-align:center;}
    .us{display:none;300px;height:40px;padding:10px;position:relative;top:0px;left:50px;background-color:#0099FF;}
    </style>
    <script src="/ajaxjs/jquery-1.4.2.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){
    $(".contact").mouseover(function(){
    $(".us").show("slow");
    $(".contact").mouseout(function(){
    $(".us").hide("slow");
    });
    });
    })
    </script>
    </head>
    <body>
    <div class="contact">联系我们</div>
    <div class="us">提示内容。提示内容。提示内容!</div>
    <div><A href="http://www.999jiujiu.com/">http://www.999jiujiu.com/</A></div>
    </body>
    </html>
  • 相关阅读:
    js(一)
    css (一)
    html
    Spring MVC(四)
    Spring MVC(三)
    Spring MVC(二)
    Spring MVC(一)
    Druid应用
    C3P0使用
    jdbc(二)
  • 原文地址:https://www.cnblogs.com/gavanwanggw/p/7141184.html
Copyright © 2011-2022 走看看