jQuery鼠標懸停彈出遮罩顯示按鈕效果



69 275 92



特效描述:jQuery 鼠標懸停 彈出遮罩 顯示按鈕效果,jQuery鼠標懸停彈出遮罩顯示按鈕效果

代碼結構

1. 引入CSS

<link href="css/ke.css" type="text/css" rel="stylesheet" />

2. 引入JS

<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script src="js/jquery.easing.1.3.js" type="text/javascript"></script>
<script src="js/jquery.zalki_hover_img.min-0.2.js" type="text/javascript"></script>

3. HTML代碼

<div id="container">
  <div class="main_box user_style1" data-hipop="one">
    <img src="images/1.jpg"> <a href="#" class="popup"> </a></div>
  <div class="main_box user_style2" data-hipop="two">
    <img src="images/2.jpg"> <a href="#" class="popup"> </a><a href="#" class="popup2"></a></div>
  <div class="main_box user_style3" data-hipop="one-horizontal">
    <img src="images/3.jpg"> <a href="#" class="popup"> BUY</a> </div>
  <div class="main_box user_style4" data-hipop="two-horizontal">
    <img src="images/4.jpg"> <a href="#" class="popup"> </a><a href="#" class="popup2"></a></div>
  <div class="main_box user_style5" data-hipop="text_content">
    <img src="images/5.jpg" title alt="Img preview">
    <p class="textTitle"> Title Here </p>
    <p class="textBox">
      Lorem ipsum dolor sit amet, consectetur adipiscing 
      elit. Aliquam vel mauris orci, nec lobortis sem. Ut urna dui, vehicula vel 
      gravida non, egestas nec eros. Vivamus euismod, erat quis lobortis ullamcorper, 
      libero justo hendrerit velit, in ornare erat ipsum scelerisque nisl. Etiam 
      pharetra sodales dui, nec dignissim nisi adipiscing vel. Integer luctus 
      mi elementum mi ullamcorper eu varius enim rutrum. Morbi gravida dolor eu 
      leo dictum vestibulum. Lorem ipsum dolor sit amet, consectetur adipiscing 
      elit. Aliquam vel mauris orci, nec lobortis sem. Ut urna dui, vehicula vel 
      gravida non, egestas nec eros. <a href="#">Read More</a>
    </p>
  </div>
  <div class="main_box user_style6" data-hipop="text_content">
    <img src="images/6.jpg" title alt="Img preview">
    <p class="textTitle"> Title Here </p>
    <p class="textBox">
      Lorem ipsum dolor sit amet, consectetur adipiscing 
      elit. Aliquam vel mauris orci, nec lobortis sem. Ut urna dui, vehicula vel 
      gravida non, egestas nec eros. Vivamus euismod, erat quis lobortis ullamcorper, 
      libero justo hendrerit velit, in ornare erat ipsum scelerisque nisl. <a href="#">Link</a>
    </p>
  </div>
  <div class="main_box user_style11" data-hipop="text_content2">
    <img src="images/11.jpg" title alt="Img preview">
    <p class="textTitle"> $7 </p>
    <p class="textBox">
      Lorem ipsum dolor sit amet, consectetur adipiscing 
      elit. Ut nec est viverra velit venenatis faucibus. Maecenas adipiscing, 
      lectus a hendrerit vulputate, tellus urna accumsan felis, semper tempor 
      mauris massa in odio. Duis sit amet nunc eu sem sagittis malesuada. <a href="#">Link</a>
    </p>
  </div>
  <div class="main_box user_style12" data-hipop="one-horizontal">
    <img src="images/12.jpg"> <a href="#" class="popup"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut nec est viverra 
    velit venenatis faucibus. Maecenas adipiscing, lectus a hendrerit vulputate, 
    tellus urna accumsan felis, semper tempor mauris massa in odio. Duis sit 
    amet nunc eu sem sagittis malesuada. </a></div>
  <div class="main_box user_style13" data-hipop="one">
    <img src="images/13.jpg"> <a href="#" class="popup"> </a></div>
  <div class="main_box user_style7" data-hipop="text_content2">
    <img src="images/7.jpg" title alt="Img preview">
    <p class="textTitle"> Title Here </p>
    <p class="textBox">
      Lorem ipsum dolor sit amet, consectetur adipiscing 
      elit. Aliquam vel mauris orci, nec lobortis sem. Ut urna dui, vehicula vel 
      gravida non, egestas nec eros. <a href="#">Link</a>
    </p>
  </div>
  <div class="main_box user_style8" data-hipop="rub">
    <img src="images/8.jpg"> <a href="#" class="r_board">AWESOME</a> </div>
  <div class="main_box user_style9" data-hipop="rub">
    <img src="images/9.jpg"> <a href="#" class="r_board"></a></div>
  <div class="main_box user_style10" data-hipop="rub">
    <img src="images/10.jpg"> <a href="#" class="r_board">$7</a> </div>
</div>



用戶評論
大牛,別默默的看了,快登錄幫我點評一下吧!:)      登錄 | 注冊


熱門標簽: 彈出層拖動 窗口 彈出 彈窗 彈出層 提示框 對話框 遮罩 遮罩層 彈窗插件 滑動星星打分 其他 提示框/彈出層 鼠標滑過 鼠標懸停 跟隨鼠標移動
?
×
×

注冊

官方QQ群

掃描上面二維碼加微信群

官方QQ群

jQuery/js討論群
群號:642649996
Css3+Html5討論群
群號:322131262

加群請備注:從官網了解到

湖北30选5开奖结果走势图表