DIV CSS 佈局教程網

HovertreeImg 圖片輪播插件使用教學
編輯:JQuery常見問題     

HovertreeImg 是一款輕巧易用的圖片輪播切換插件,它自帶圓點導航,既能自動播放,也支援手動切換,接入起來十分方便。

效果圖:

線上預覽:https://hovertree.com/jq/hovertreeimg/

下載地址:https://hovertree.com/h/bjaf/gk8mko69.htm

使用步驟如下,首先引入相關的樣式與腳本文件,然後在頁面中放置輪播所需的結構,最後調用插件並按需配置參數即可:

<link href="jquery.hovertreeimg.css" type="text/css" rel="stylesheet"/>
<div id="hovertreeimg">
<a href="https://hovertree.com/texiao/game/" title="見縫插針" target="_blank"><img src="https://hovertree.com/themes/img/jfcz.gif" alt="見縫插針" /></a>
<div id="hovertreeimgcontent">
<a href="https://hovertree.com/h/bjaf/easysector.htm" title="HTML5百分比餅圖" target="_blank"><img src="https://hovertree.com/themes/img/easysector.gif" alt="EasySector插件" /></a>
<a href="https://hovertree.com/h/bjaf/hovertreeimg.htm" title="HovertreeImg" target="_blank"><img src="https://hovertree.com/jq/hovertreeimg/hovertreeimg.jpg" alt="HovertreeImg插件" /></a>
</div>
</div>
<script src="https://hovertree.com/ziyuan/jquery/jquery-1.12.0.min.js"></script>
<script src="https://hovertree.com/jq/hovertreeimg/jquery.hovertreeimg.js"></script>
<script>
$("#hovertreeimg").hovertreeimg({
"h_circlePosition": "",//left,right,center
"h_width": 768,
"h_height": 66,
"h_borderColor":"silver",
"h_circleWidth": 14
});
</script>
XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved