码迷,mamicode.com
首页 > Web开发 > 详细

js图片切换左右点击

时间:2015-07-22 20:34:36      阅读:108      评论:0      收藏:0      [点我收藏+]

标签:


<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>带索引和左右箭头图片轮播 - 柯乐义</title><base target="_blank" />
<style type="text/css">
body { background: #ecfaff; }
</style>
<link href="http://keleyi.com/keleyi/phtml/image/15/KeleyiEffcet.css" type="text/css" rel="Stylesheet" />
</head>
<body>
<div style="width:500px;margin:0px auto;"><h2>带索引和左右箭头图片轮播</h2>
<a href="http://keleyi.com/a/bjac/v6c7x9fq.htm" target="_blank">原文</a>
</div>
<div style="width:500px;margin:0px auto;">
<div class="box-keleyi-com" id="slider-keleyi-com">
<ul>
<li><a href="http://keleyi.com/a/bjac/cu727al8.htm"><img src="http://down.keleyi.com/images/bing/2013-8-10_Toulouse_ZH-CN7808794431_keleyi.jpg" title="多彩图标按钮动画下拉菜单" /></a></li>
<li><a href="http://keleyi.com/a/bjac/0ttmf3ib.htm"><img src="http://down.keleyi.com/images/bing/2013-9-27_BoliviaSalt_ZH-CN10259156901_keleyi.jpg" title="jQuery焦点新闻图片轮播" /></a></li>
<li><a href="http://keleyi.com/a/bjac/3pipmkmg.htm"><img src="http://down.keleyi.com/images/bing/2013-8-22_KataleKhorCave_ZH-CN6707191757_keleyi.jpg" title="HTML5烟花特效" /></a></li>
<li><a href="http://keleyi.com/a/bjac/600xsi0s.htm"><img src="http://keleyi.com/keleyi/phtml/picnext/images/k05.jpg" title="javascript俄罗斯方块游戏" /></a></li>
<li><a href="http://keleyi.com/a/bjac/s3sw6q5t.htm"><img src="http://keleyi.com/keleyi/phtml/picqiehuan/p3.jpg" title="图片轮播汇总" /></a></li>
</ul>
</div>
</div>
<script src="http://keleyi.com/keleyi/phtml/image/15/keleyieffect.js"></script>
<script type="text/javascript">
Effect.slider({
‘targetElement‘: ‘slider-ke‘+‘leyi-com‘,
‘showMarkers‘: true,
‘showControls‘: true
});
</script>

</body>
</html>

js图片切换左右点击

标签:

原文地址:http://www.cnblogs.com/ingstyle/p/4668440.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!