點擊這裡查看效果
效果圖(查看大圖):
本效果使用 responsiveSlides 外掛,支援自動播放、圓圈分頁與左右箭頭切換,常用於首頁大圖輪播。以下是原始碼:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jquery 帶圓圈箭頭只有大圖左右切換效果 - </title>
<link href="https:///keleyi/phtml/jqtexiao/17/css/keleyi.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="https:///keleyi/pmedia/jquery/jquery-1.10.2.min.js"></script>
<script>
/* responsiveSlides 外掛壓縮程式碼 */
</script>
<script>
$(function() {
$(".f426x240").responsiveSlides({
auto: true,
pager: true,
nav: true,
speed: 700
});
$(".f160x160").responsiveSlides({
auto: true,
pager: true,
speed: 700
});
});
</script>
<style>
.keleyiimg{border:0px;width:640px;height:400px;}
</style>
</head>
<body>
<div class="new_banner">
<ul class="rslides f426x240">
<li><a href="https://"><img src="https:///image/a/4ux3f2i2.jpg" class="keleyiimg" /></a></li>
<li><a href="https:///a/bjac/06r1x7tg.htm"><img src="https:///image/a/t1srjuxw.jpg" class="keleyiimg" /></a></li>
</ul>
</div>
<div style="width:780px;margin:0px auto;clear:both;">來源:<a href="https:///a/bjad/8pwhsjna.htm">原文</a></div>
</body>
</html>
適用瀏覽器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗。