zoukankan      html  css  js  c++  java
  • div滑入与滑出

    html

    <div class="pop_tit">
    <span class="p_tit1" title="大连未来城LECITY">大连未来城LECITY</span><br />
    </div>

    css

    .pop_tit { 350px; height:45px; padding:10px 10px 5px 10px; /*position:absolute; left:5px; top:5px; z-index:29;*/ background:url(../images/zp_titbg.png) no-repeat 0px 0px; display:none;}
    .p_tit1 { line-height:18px; color:#ffffff; font-size:18px; padding-right:18px;}

    js

    //case
    $(".case li a").live('mouseenter',function(){
    //alert('enter');
    $(this).children().stop(false,true);
    $(this).children(".pop_tit").slideDown("fast");
    }).live('mouseleave',function(){
    //alert('out');
    $(this).children().stop(false,true);
    $(this).children(".pop_tit").slideUp("fast");
    });

  • 相关阅读:
    NOIP2012 借教室
    bzoj1816 扑克牌
    TYVJ1359 收入计划
    NOIP2015 跳石头
    易错点
    散列表
    数学模板
    12. 17 哈理工网络赛
    哈理工 网络赛
    三角形
  • 原文地址:https://www.cnblogs.com/zhouyx/p/5677526.html
Copyright © 2011-2022 走看看