Mouse-over triggered window-drawing JS effect

Source: Internet
Author: User
Tags dsn

<! DOCTYPE html>

<meta charset= "Utf-8" >

<meta name= "Author" content= "http://www.jb51.net/"/>

<title> mouse over trigger window JS effect </title>

<link rel= "stylesheet" href= "Http://pcss1.4008000000.com/app_css/4008000000/v20/base.css"/>

<link rel= "stylesheet" href= "Http://pcss1.4008000000.com/app_css/4008000000/v20/public.css"/>

<style type= "Text/css" >

. f44{font-size:44px;}

. how_buy{width:1210px;margin:auto;font-family: ' Microsoft Yahei '; height:247px;overflow:hidden;}

. How_buy ul{position:relative;left:5px;}

. how_buy a{color: #fff;}

. how_buy li{width:297px;border-right:4px Solid #fff;p osition:relative;float:left;overflow:hidden;cursor:pointer;}

. Hb_link:hover{text-decoration:none;color: #fff;}

/* Matte Background */

. hbli_mask{height:80px;width:100%;p Osition:absolute;bottom:20px;left:0;z-index:2;background: #000; Filter:Alpha ( OPACITY=30); opacity:0.3;}

/* Brief Description */

. hbli_resume{height:70px;width:100%;p Osition:absolute;bottom:20px;left:0;z-index:3;line-height:1.8;padding-top : 10px;padding-left:15px;color: #fff;}

/* Narrowest background layer */

. hbli_ico{height:246px;text-align:center;padding-top:1px;width:193px;}

. Hbli_ico1{background: #c3a27e;}

. Hbli_ico2{background: #f1b849;}

. Hbli_ico3{background: #ff6633;}

. Hbli_ico4{background: #878373;}

. Hbli_ico img{margin-top:35px;}

. Hbli_ico3 img{margin-top:25px;}


. Hbli_tip{position:absolute;z-index:0;left:468px;top:0;width:12px;height:247px;display:none;background:url ( http://pimg1.4008000000.com/app_images/4008000000/v20/index/hbli_ico_bg.png) No-repeat;_background:url (HTTP// pimg1.4008000000.com/app_images/4008000000/v20/index/hbli_ico_bg.gif) No-repeat;}

. hb_li1. Hbli_tip{background-position:right top;}

. Hb_li2. hbli_tip{background-position:right-250px;}

. Hb_li3. hbli_tip{background-position:right-500px;}

. Hb_li4. hbli_tip{background-position:right-750px;}


/* Current LI style */

. Hbli_cur_con{position:absolute;width:420px;left:32px;top:15px;z-index:3;color: #fff;}

. hbli_box_link,.hbli_box_link:hover {Display:inline-block;*display:inline;*zoom:1;text-decoration:none;}

. hblicc_title {min-height:80px;_height:80px;}

. hblicc_recommend{height:38px;}

. Hbliccr_title{line-height:30px;width:95px;color: #fff;}

. hbliccr_con{display:inline-block;*display:inline;*zoom:1;width:310px;line-height:19px;}

. hblicc_buy{margin-top:25px;position:relative;}

. hblicc_buy a,.hblicc_buy A:hover{display:inline-block;*display:inline;*zoom:1;width:144px;color: #f63; text-align : center;line-height:45px;background: #fff;p osition:absolute;top:8px;right:0;font-size:18px;}

. Hb_li1{background:url (http://pimg1.4008000000.com/app_images/4008000000/v20/index/hb_li_bg1.jpg) Top right No-repeat;}

. Hb_li2{background:url (http://pimg1.4008000000.com/app_images/4008000000/v20/index/hb_li_bg2.jpg) Top right No-repeat;}

. Hb_li3{background:url (http://pimg1.4008000000.com/app_images/4008000000/v20/index/hb_li_bg3.jpg) Top right No-repeat;}

. Hb_li4{background:url (http://pimg1.4008000000.com/app_images/4008000000/v20/index/hb_li_bg4.jpg) Top right No-repeat;}

</style>

<script type= "Text/javascript" src= "Http://pscript1.4008000000.com/app_js/paui/1.0.1/build/pa.ui.min.js" > </script>

<body>

<div class= "How_buy" >

<ul class= "C" >

<li class= "Hb_li1" >

<p class= "Hbli_mask" ></p>

<p class= "Hbli_resume" >

<span class= "F20 fwb" > Novice driver </span><br/><span class= "F14" > Driver Friends under 2 years of age </span>

</p>

<div class= "Hbli_ico hbli_ico1" >

</div>

<div class= "Hbli_tip" ></div>

<div class= "Hbli_cur_con DSN" >

<a href= "http://www.4008000000.com/zaixiangoumai/chexian/xinshou.shtml" otitle= "Novice driver-auto insurance how to buy" otype= "button" target= "_blank" class= "Hbli_box_link" >

<p class= "Hblicc_title f18 FWB" > Novice on the road, full of fright, how to give themselves and the car better protection? </p>

<p class= "Hblicc_recommend C" >

<span class= "fl hbliccr_title f18 FWB" > Recommended:</span>

<span class= "fl hbliccr_con F14" > Comprehensive Business Insurance and additional insurance coverage, only buy right not to buy expensive, if it is a new car, online shopping than 4S shop cost-effective AH </span>

</p>

</a>

<p class= "Hblicc_buy" >

<a href= "http://www.4008000000.com/zaixiangoumai/chexian/xinshou.shtml" id= "t-ljgm1" otitle= "go to see-novice driver-auto insurance how to buy" Otype= "button" target= "_blank" > go to see </a>

</p>

</div>

</li>


<li class= "Hb_li2" >

<p class= "Hbli_mask" ></p>

<p class= "Hbli_resume" >

<span class= "F20 FWB" > Female drivers </span><br/><span class= "F14" > Women drivers who need to drive independently </span>

</p>

<div class= "Hbli_ico Hbli_ico2" >

</div>

<div class= "Hbli_tip" ></div>

<div class= "Hbli_cur_con DSN" >

<a href= "http://www.4008000000.com/zaixiangoumai/chexian/nvxing.shtml" otitle= "female driver-auto insurance how to buy" otype= " Button "target=" _blank "class=" Hbli_box_link ">

<p class= "Hblicc_title f18 FWB" > Road situation, in case of a traffic accident, the vehicle broke down, how should I deal with? </p>

<p class= "Hblicc_recommend C" >

<span class= "fl hbliccr_title f18 FWB" > Recommended:</span>

<span class= "fl hbliccr_con F14" > Suitable Business Insurance and additional insurance, more comprehensive protection, while there are free road rescue services, the road situation, one step solution. </span>

</p>

</a>

<p class= "Hblicc_buy" >

<a href= "http://www.4008000000.com/zaixiangoumai/chexian/nvxing.shtml" id= "t-ljgm2" otitle= "go see-female driver-how to buy car insurance" Otype= "button" target= "_blank" > go to see </a>

</p>

</div>

</li>


<li class= "Hb_li3" >

<p class= "Hbli_mask" ></p>

<p class= "Hbli_resume" >

<span class= "F20 fwb" > Family </span><br/><span class= "F14" > Car owners who often travel with their families </span>

</p>

<div class= "Hbli_ico Hbli_ico3" >

</div>

<div class= "Hbli_tip" ></div>

<div class= "Hbli_cur_con DSN" >

<a href= "http://www.4008000000.com/zaixiangoumai/chexian/jiating.shtml" otitle= "family-auto insurance how to buy" otype= "button" target= "_blank" class= "Hbli_box_link" >

<p class= "Hblicc_title f18 FWB" > Leisure time, will take family self-driving travel, buy auto insurance, in addition to the protection of the car, but also value to protect the family </p>

<p class= "Hblicc_recommend C" >

<span class= "fl hbliccr_title f18 FWB" > Recommended:</span>

<span class= "fl hbliccr_con F14" > Perfect Business Insurance and additional insurance, plus accidental insurance combination purchase, car insurance, a move to take care of </span>

</p>

</a>

<p class= "Hblicc_buy" >

<a href= "http://www.4008000000.com/zaixiangoumai/chexian/jiating.shtml" id= "t-ljgm3" otitle= "go see-family-car insurance how to buy" Otype= "button" target= "_blank" > go to see </a>

</p>

</div>

</li>


<li class= "Hb_li4" >

<p class= "Hbli_mask" ></p>

<p class= "Hbli_resume" >

<span class= "F20 fwb" > Test a family </span><br/><span class= "F14" > Come and poke me. Test a Test </span>

</p>

<div class= "Hbli_ico Hbli_ico4" >

</div>

<div class= "Hbli_tip" ></div>

<div class= "Hbli_cur_con DSN" >

<a href= "http://www.4008000000.com/fuwuzhongxin/chexian/xqfx/index.shtml" otitle= "quick to poke me test-car insurance how to buy" Otype= "button" target= "_blank" class= "Hbli_box_link" >

<p class= "Hblicc_title f18 FWB" > Just a few steps to help you with the most suitable insurance package <br> online car insurance, it is so simple </p>

<p class= "Hblicc_recommend C" ></p>

</a>

<p class= "Hblicc_buy" >

<a href= "http://www.4008000000.com/fuwuzhongxin/chexian/xqfx/index.shtml" id= "T-ljgm4" otitle= " Come on, poke me. Test a family-auto insurance how to buy "otype=" button "target=" _blank "> Quick poke Me test a test </a>

</p>

</div>

</li>

</ul>

</div>


<script>

(function () {

var t=600,

t2=200;

$ ('. How_buy li '). Hover (function () {

var _this=$ (this);

$ (this). Stop (). Animate ({' width ': 610},t)

. Find ('. Hbli_ico '). Stop (). Animate ({' Width ': 468},t+10,function () {

_this.find ('. Hbli_tip '). Show ();

})

. FIND (' img '). Hide ()

. End (). Siblings ('. Hbli_cur_con '). FadeIn (T2)

. Siblings ('. Hbli_resume '). FadeOut (T2);

$ (this). Siblings (' Li '). Stop (). Animate ({' width ': 193},t)

. Find ('. Hbli_ico '). Stop (). Animate ({' width ': 193},t+10)

. FIND (' img '). Show ()

. End (). Siblings ('. Hbli_tip '). Hide ()

. End (). Siblings ('. Hbli_cur_con '). FadeOut (T2)

. Siblings ('. Hbli_resume '). FadeIn (T2);

});

$ ('. How_buy '). Hover (function () {},function () {

$ ('. How_buy li '). Stop (). Animate ({' width ': 297},t)

. Find ('. Hbli_ico '). Stop (). Animate ({' width ': 193},t+10)

. FIND (' img '). Show ()

. End (). Siblings ('. Hbli_tip '). Hide ()

. Siblings ('. Hbli_cur_con '). FadeOut (T2)

. Siblings ('. Hbli_resume '). FadeIn (T2);

});

})();

</script>

</body>


Mouse-over triggered window-drawing JS effect

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.