<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    如何學(xué)好java

    如何學(xué)好java,其實很簡單,只要用心體會,慢慢積累!
    posts - 106, comments - 7, trackbacks - 0, articles - 3
      BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

    花開花落

    Posted on 2011-04-21 23:34 哈希 閱讀(103) 評論(0)  編輯  收藏 所屬分類: Js and Jquery 常用總結(jié)
    <!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>jQuery插件實現(xiàn)感應(yīng)鼠標(biāo)的圖片遮罩動畫效果丨芯晴網(wǎng)頁特效丨CsrCode.Cn</title>
    <meta http-equiv="content-type" content="text/html;charset=gb2312">
    <!--把下面代碼加到<head>與</head>之間-->
    <style type="text/css">
    html, body, div,ul, li {
     margin: 0;
     padding: 0;
    }
    div.examples_body {
         width: 750px;
      margin: 0px auto;
      clear: both;
      overflow: hidden;
    }
    /* The main banner unordered list */
    .bannerHolder {
     width: 726px;
     margin: 20px 0 15px 0;
     padding: 20px 10px 20px 10px;
     background-color: #f7f7f7;
     border: 1px solid #eee;
     overflow: hidden;
     /* CSS3 rounded corners */
     -moz-border-radius:12px;
     -webkit-border-radius:12px;
     border-radius:12px;
    }
    /* Hiding the bullets of the li elements: */
    .bannerHolder li {
     list-style: none;
     display: inline;
    }
    /* The banner divs */
    .banner {
     position: relative;
     width: 125px;
     height: 125px;
     overflow: hidden;
     float: left;
     display: inline;
     margin: 0 10px
    }
    /* The banner divs */
    .banner img {
     display: block;
     border: none;
    }
    /* The dark animated divs */
    .banner div {
     position: absolute;
     z-index: 100;
     background-color: #222;
     width: 60px;
     height: 60px;
     cursor: pointer;
     /* Setting a really big value for border-radius
     will make the divs perfect circles */
     -moz-border-radius:100px;
     -webkit-border-radius:100px;
     border-radius:100px;
    }
    /* Positioning the animated divs outside the
    corners of the visible banner area: */
    .banner .cornerTL {
     left:-63px;
     top:-63px;
    }
    .banner .cornerTR {
     right:-63px;
     top:-63px;
    }
    .banner .cornerBL {
     left:-63px;
     bottom:-63px;
    }
    .banner .cornerBR {
     right:-63px;
     bottom:-63px;
    }
    /* The "Visit Company" text */
    .banner p {
     display: none; /* hidden by default */
     left: 0;
     top: 57px;
     width: 100%;
     z-index: 200;
     position: absolute;
     font-family: Tahoma, Arial, Helvetica, sans-serif;
     color: #FFF;
     font-size: 11px;
     text-align: center;
     cursor: pointer;
    }
    </style>
    <script type="text/javascript" src="http://www.tkk7.com/images/jquery-1.4.1.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){
    // Lowering the opacity of all slide in divs
    $('.banner div').css('opacity',0.4);
    // Using the hover method
    $('.banner').hover(function(){
      // Executed on mouseenter
      var el = $(this);
      // Find all the divs inside the banner div,
      // and animate them with the new size
      el.find('div').stop().animate({width:200,height:200},'slow',function(){
       // Show the "Visit Company" text:
       el.find('p').fadeIn('fast');
      });
    },function(){
      // Executed on moseleave
      var el = $(this);
      // Hiding the text
      el.find('p').stop(true,true).hide();
      // Animating the divs
      el.find('div').stop().animate({width:60,height:60},'fast');
    }).click(function(){
      // When clicked, open a tab with the address of the hyperlink
      window.open($(this).find('a').attr('href'));
    });
    });
    </script>
    </head>
    <body>
    預(yù)覽效果時左下角會提示錯誤,而且看不到效果,刷新一下就可以看到效果了;當(dāng)然,在實際使用中,不會出現(xiàn)這樣的問題。<br>
    <!--把下面代碼加到<body>與</body>之間-->
    <div class="examples_body">
     <ul class="bannerHolder">
      <li>
       <div class="banner">
        <a target="_blank"><img height="125" width="125" alt="紅葉傳情" src="http://www.tkk7.com/images/m01.jpg"></a>
        <p class="companyInfo">紅葉傳情</p>
        <div class="cornerTL"></div>
        <div class="cornerTR"></div>
        <div class="cornerBL"></div>
        <div class="cornerBR"></div>
       </div>
      </li>
      <li>
       <div class="banner">
        <a target="_blank"><img height="125" width="125" alt="野花綻放" src="http://www.tkk7.com/images/m02.jpg"></a>
        <p class="companyInfo">野花綻放</p>
        <div class="cornerTL"></div>
        <div class="cornerTR"></div>
        <div class="cornerBL"></div>
        <div class="cornerBR"></div>
       </div>
      </li>
      <li>
       <div class="banner">
        <a target="_blank"><img height="125" width="125" alt="往事如茶" src="http://www.tkk7.com/images/m03.jpg"></a>
        <p class="companyInfo">往事如茶</p>
        <div class="cornerTL"></div>
        <div class="cornerTR"></div>
        <div class="cornerBL"></div>
        <div class="cornerBR"></div>
       </div>
      </li>
      <li>
       <div class="banner">
        <a target="_blank"><img height="125" width="125" alt="油菜花開" src="http://www.tkk7.com/images/m04.jpg"></a>
        <p class="companyInfo">油菜花開</p>
        <div class="cornerTL"></div>
        <div class="cornerTR"></div>
        <div class="cornerBL"></div>
        <div class="cornerBR"></div>
       </div>
      </li>
      <li>
       <div class="banner">
        <a target="_blank"><img height="125" width="125" alt="玫瑰情思" src="http://www.tkk7.com/images/m05.jpg"></a>
        <p class="companyInfo">玫瑰情思</p>
        <div class="cornerTL"></div>
        <div class="cornerTR"></div>
        <div class="cornerBL"></div>
        <div class="cornerBR"></div>
       </div>
      </li>
     </ul>
    </div>
    </body>
    </html>

    <br><br><hr><p align="center"><font color=black>本特效由 <a target="_blank">芯晴網(wǎng)頁特效</a>丨CsrCode.Cn 收集于互聯(lián)網(wǎng),只為興趣與學(xué)習(xí)交流,不作商業(yè)用途。來源:中國站長天空</font></p>


    主站蜘蛛池模板: 性做久久久久免费看| 最近新韩国日本免费观看| 永久在线毛片免费观看| 一本色道久久88—综合亚洲精品| 6080午夜一级毛片免费看| 亚洲国产人成在线观看69网站| 大地资源网高清在线观看免费| 亚洲人精品午夜射精日韩| 在线观看人成视频免费无遮挡| 亚洲色欲久久久综合网| 久久国产精品成人免费| 91情国产l精品国产亚洲区 | 亚洲电影一区二区三区| 久久精品人成免费| 国产午夜亚洲精品| 国产一级做a爱免费视频| 人人鲁免费播放视频人人香蕉| 亚洲国产另类久久久精品黑人| 无码国产精品一区二区免费vr| 亚洲黄色在线网站| 成人性生交视频免费观看| 羞羞漫画登录页面免费| 国产亚洲色婷婷久久99精品| 亚洲成年人免费网站| 亚洲AV无码AV男人的天堂不卡| 久久精品国产亚洲Aⅴ蜜臀色欲| 免费精品一区二区三区第35| 亚洲午夜国产精品| 免费一级毛片在线播放不收费| 你懂得的在线观看免费视频| 亚洲春色另类小说| 免费一级一片一毛片| 日本免费中文视频| 亚洲精品无码你懂的| 中文字幕第13亚洲另类| 国产精品爱啪在线线免费观看| 国产亚洲情侣久久精品| 亚洲国产成人私人影院| 国产精品免费视频一区| 日本免费高清视频| 国产亚洲精品美女|