jQuery彈出深色系層菜單


低調奢華jQuery彈出層菜單,使用新版的jQuery庫,兼容多種瀏覽器。Demo展示:

http://hovertree.com/texiao/layer/3/

本特效可以作為網站的引導頁,使用jQuery實現導航菜單,鼠標懸停,在右側傾斜而出,可以關閉。大圖可以選用深色的圖片。

效果圖如下:


代碼如下:

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>彈出層導航 - 何問起</title><base target="_blank" />

<link type="text/css" href="http://hovertree.com/texiao/layer/3/css/index.css" rel="stylesheet">
<script type="text/javascript" src="http://down.hovertree.com/jquery/jquery-1.12.3.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
function anim(duration){
$('#hovertreemin').animate(
{height: 'toggle'},
{duration: duration}
);
}
$('#hover'+'treeclose').on("mouseover",function() {
$('#hov'+'ertreeminbar').hide();
anim(60);
});

$('#hover'+'treemin').on("click", function () {
anim(60);
$('#hovertreeminbar').show();
})    
});
</script>

</head>

<body> 

<div class="hovertreebj"><img src="http://hovertree.com/hvtimg/bjafje/7o1qq4ge.gif" /></div>

<div id="hovertreeminbar"><a id="hovertreeclose" target="_self" href="javascript:;"><img src="http://hovertree.com/texiao/layer/3/images/wd02.png" /></a></div>

<div id="hovertreemin" style="display:none;position:absolute;top:0;right:0px;">
<div class="box-nav-bj"><img style="right:0px; top:0px;" src="http://hovertree.com/texiao/layer/3/images/wd06.png" /></div>
<ul class="box-nav">
<li><a href="http://hovertree.com/about/">關於我們</a></li>
<li><a href="http://hovertree.com/menu/webfront/">產品展示</a></li>
<li><a href="http://hovertree.com/h/bjaf/l3c6nm7b.htm">案例展示</a></li>
<li><a href="http://hovertree.com/menu/zixun/">新聞中心</a></li>
<li><a href="http://hovertree.com/h/bjaf/rnqpxtsq.htm">新聞資訊</a></li>
<li><a href="http://hovertree.com/h/bjaf/meihua.htm">聯系我們</a></li>
</ul>
<img src="http://hovertree.com/texiao/layer/3/images/wd07.png" alt="絲帶"/>
<div class="box-phone">
<p>公司主頁:</p>
<p>hwq2.com</p>
</div>
</div>

<div class="box-dibu">
<div class="box-dibu1">
<p>網站引導頁</p>
<p>何問起,分享網頁特效,前端知識,題庫代碼等。<a href="http://hovertree.com/h/bjaf/yindaoye.htm">原文</a> <a href="http://hovertree.com">首頁</a> <a href="http://hovertree.com/texiao/">特效</a></p>
</div>
<div class="box-dibu2">
<a href="http://hovertree.com/map/"><img src="http://hovertree.com/texiao/layer/3/images/wd04.png" /></a>
<a href="http://hovertree.com/about/"><img src="http://hovertree.com/texiao/layer/3/images/wd05.png" /></a>
</div>
</div>

</body>
</html>

轉自:http://hovertree.com/h/bjaf/yindaoye.htm

推薦:http://www.cnblogs.com/roucheng/p/welcome.html

特效庫:http://www.cnblogs.com/roucheng/p/texiao.html


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM