DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> WEB網站前端 >> 網頁特效代碼 >> HoverTree菜單示例
HoverTree菜單示例
編輯:網頁特效代碼     
HoverTree菜單示例:
http://hovertree.com/texiao/h/hovertree/

本示例為 HoverTree菜單 0.1.3版本。hovertree菜單是一款jQuery菜單插件。二級菜單可以展開收起。

在HoverTreeTop項目中也使用該菜單作為後台菜單,效果:http://hovertree.com/h/bjag/mej790la.htm

代碼如下:
<!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>HoverTree菜單_何問起</title><base target="_blank" />
<meta charset="utf-8" />
<link href="http://hovertree.com/texiao/h/hovertree/jquery.hovertree.0.1.3a.css" rel="stylesheet" />
<script src="http://down.hovertree.com/jquery/jquery-1.12.4.min.js"></script>
<script src="http://hovertree.com/texiao/h/hovertree/jquery.hovertree.0.1.3.js"></script>
<style>
#hovertreecontainer{max-width:920px;margin:0px auto}
#hovertreecontent{width:800px;float:right;}
#hovertreeleft{margin: 0px; width: 110px; float: left;}
#hewenqititle{text-align:center}
</style>
</head>
<body>
<div id="hovertreecontainer">
<div id="hewenqititle">
<h2>HoverTree菜單</h2>
</div>
<div id="hovertreeleft">
<div id="hovertreemenu" class="hovertree">
<div class="hovertreeitem hvtcurrent">
<h3>
<b></b><a>菜單</a>
</h3>
<ul>
<li><a href="http://hovertree.com/">何問起</a></li>
<li><a href="http://hovertree.com/top/">HoverTreeTop</a></li>
</ul>
</div>
<div class="hovertreeitem hvtcurrent">
<h3>
<b></b><a>內容</a>
</h3>
<ul>
<li><a href="http://hovertree.com/tiku/">題庫</a></li>
<li> <a href="http://hovertree.com/h/bjaf/l3c6nm7b.htm" target="_blank">何問起鍵盤</a></li>
<li><a href="http://hovertree.com/code/">代碼</a></li>
<li><a href="http://hovertree.com/map/">導航</a></li>

</ul>
</div>
<div class="hovertreeitem">
<h3>
<b></b><a>更多</a>
</h3>
<ul>
<li><a href="http://hovertree.com/about/">關於</a></li>
<li><a href="http://hovertree.com/guestbook/">留言</a></li>
<li><a href="http://hovertree.com/about/follow.htm">關注</a></li>
</ul>
</div>
</div>
</div>

<div id="hovertreecontent">
hovertree菜單是一款jQuery菜單插件。效果如左邊所示。二級菜單可以展開收起。

</div>

</div>
<script type="text/javascript">
$("#hovertreemenu").hovertree({
"width": "keleyi", "initStatus": 'keleyi', "subMenuShowSpeed": 200,
"subMenuShowWay": "slidedown"
});
</script>
</body>
</html>
XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved