JS仿flash动态切换(横向,带分页器控制,自动正反向循环轮播)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" href="http://www.zbw123.com/webmaster/08/styles/index.css" type="text/css" media="screen" />
<script type="text/javascript" src="http://www.zbw123.com/webmaster/08/scripts/index.js"></script>
<script type="text/javascript">
addOnloadEvent(autoShowAll);
</script>
</head>
<body>
<div class="ad_show">
<div class="cover_t_l"></div>
<div class="cover_t_r"></div>
<div class="cover_b_l"></div>
<div class="cover_b_r"></div>
<div class="cover_b"> <img src="http://www.zbw123.com/webmaster/08/images/ad_show_pre.gif" id="adShowPre" /> <span id="adShowNow"></span><span>/</span><span id="adShowAll"></span> <img src="http://www.zbw123.com/webmaster/08/images/ad_show_next.gif" id="adShowNext" /> </div>
<div id="adShowImg">
<div><a href="#" target="_blank"><img src="http://www.zbw123.com/webmaster/08/images/ad_show1.jpg" /></a><a href="#" target="_blank"><img src="http://www.zbw123.com/webmaster/08/images/ad_show2.jpg" /></a><a href="#" target="_blank"><img src="http://www.zbw123.com/webmaster/08/images/ad_show3.jpg" /></a><a href="#" target="_blank"><img src="http://www.zbw123.com/webmaster/08/images/ad_show4.jpg" /></a><a href="#" target="_blank"><img src="http://www.zbw123.com/webmaster/08/images/ad_show5.jpg" /></a></div>
</div>
</div>
</body>
</html>

原文地址:https://www.cnblogs.com/zerogo/p/2209164.html