八屏动态焦点图代码

版权:原创 更新时间:1年以上
[该文章底部包含文件资源,可根据自己情况,决定是否下载资源使用,时间>金钱,如有需要,立即查看资源]

以下是 八屏动态焦点图代码 的示例演示效果:

当前平台(PC电脑)
  • 平台:

部分效果截图:

八屏动态焦点图代码

HTML代码(index.html):

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>234234</title>
<style type="text/css">
body{text-align:center;}
td{font-size:12px}
.pdboder{BORDER-LEFT: #ffffff 1px solid}
.title{
word-break:break-all;
word-wrap:break-word;
layout-flow:vertical-ideographic;
color:#ffffff;
font-size:12px;
cursor:hand; 
font-weight:bold; 
text-align:center;TEXT-DECORATION: none}
.title A:link {COLOR: #ffffff; TEXT-DECORATION: none}
.title A:visited {COLOR: #ffffff; TEXT-DECORATION: none}
.title A:hover {COLOR: #ffffff; TEXT-DECORATION: none}
.title A:active {COLOR: #ffffff; TEXT-DECORATION: none}
.title1 {word-break:break-all;
word-wrap:break-word;
layout-flow:vertical-ideographic;
color:#ffffff;
font-size:12px;
cursor:hand; 
font-weight:bold; 
text-align:center;TEXT-DECORATION: none}
</style>
</head>
<body>
<table width="493" border="0" cellpadding="0" cellspacing="0">

  <tr>
    <td><table border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="279"><div id=divhl01>
            <div><a href="#" target="_blank"><img src="images/ad-01.jpg" width="325" height="190" border="0"></a></div>
        </div></td>
        <td width="20" onMouseOver="content_mouse(1)" valign="top" bgcolor="#FE8E0A" class="pdboder"><table width=20 border=0 cellpadding=0 cellspacing=0>
            <tr>
              <td width=20 height="23" align="center"><img src="images/arrow.gif" width="12" height="12"></td>
            </tr>
            <tr>
              <td align=center><a href="#" target="_blank" class="title1">壹  搜集整理</a></td>
            </tr>
        </table></td>
        <td><div id=divhl02 style="display:none">
            <div><a href="#" target="_blank"><img src="images/ad-02.jpg" width="325" height="190" border="0"></a></div>
        </div></td>
        <td width="20" onMouseOver="content_mouse(2)" valign="top" bgcolor="#FA5886" class="pdboder"><table width=20 border=0 cellpadding=0 cellspacing=0>
            <tr>
              <td width=20 height="23" align="center"><img src="images/arrow.gif" width="12" height="12"></td>
            </tr>
            <tr>
              <td align=center><a href="#" target="_blank" class="title1">貮  搜集整理</a></td>
            </tr>
        </table></td>
        <td><div id=divhl03 style="display:none">
            <div><a href="#" target="_blank"><img src="images/ad-03.jpg" width="325" height="190" border="0"></a></div>
        </div></td>
        <td width="20" valign="top" onMouseOver="content_mouse(3)" bgcolor="#ED3FBA" class="pdboder"><table width=20 border=0 cellpadding=0 cellspacing=0>
            <tr>
              <td width=20 height="23" align="center"><img src="images/arrow.gif" width="12" height="12"></td>
            </tr>
            <tr>
              <td align=center><a href="#" target="_blank" class="title1">叁  搜集整理</a></td>
            </tr>
        </table></td>
        <td><div id=divhl04 style="display:none">
            <div><a href="#" target="_blank"><img src="images/ad-04.jpg" width="325" height="190" border="0"></a></div>
        </div></td>
        <td width="20" valign="top" onMouseOver="content_mouse(4)" bgcolor="#916DCB" class="pdboder"><table width=20 border=0 cellpadding=0 cellspacing=0>
            <tr>
              <td width=20 height="23" align="center"><img src="images/arrow.gif" width="12" height="12"></td>
            </tr>
            <tr>
              <td align=center><a href="#" target="_blank" class="title1">肆  搜集整理</a></td>
            </tr>
        </table></td>
        <td><div id=divhl05 style="display:none">
            <div><a href="#" target="_blank"><img src="images/ad-05.jpg" width="325" height="190" border="0"></a></div>
        </div></td>
        <td width="20" align=center valign="top" onMouseOver="content_mouse(5)" bgcolor="#4FB9E1" class="pdboder"><table width=20 border=0 cellpadding=0 cellspacing=0>
            <tr>
              <td width=20 height="23" align="center"><img src="images/arrow.gif" width="12" height="12"></td>
            </tr>
            <tr>
              <td align=center><a href="#" target="_blank" class="title1">伍  搜集整理</a></td>
            </tr>
        </table></td>
        <td><div id=divhl06 style="display:none">
            <div><a href="#" target="_blank"><img src="images/ad-06.jpg" width="325" height="190" border="0"></a></div>
        </div></td>
        <td width="20" align=center valign="top" onMouseOver="content_mouse(6)" bgcolor="#CCCC66" class="pdboder"><table width=20 border=0 cellpadding=0 cellspacing=0>
            <tr>
              <td width=20 height="23" align="center"><img src="images/arrow.gif" width="12" height="12"></td>
            </tr>
            <tr>
              <td align=center><a href="#" target="_blank" class="title1">陆  搜集整理</a></td>
            </tr>
        </table></td>
        <td><div id=divhl07 style="display:none">
            <div><a href="#" target="_blank"><img src="images/ad-07.jpg" width="325" height="190" border="0"></a></div>
        </div></td>
        <td width="20" align=center valign="top" onMouseOver="content_mouse(7)" bgcolor="#FF99CC" class="pdboder"><table width=20 border=0 cellpadding=0 cellspacing=0>
            <tr>
              <td width=20 height="23" align="center"><img src="images/arrow.gif" width="12" height="12"></td>
            </tr>
            <tr>
              <td align=center><a href="#" target="_blank" class="title1">柒  搜集整理</a></td>
            </tr>
        </table></td>
        <td><div id=divhl08 style="display:none">
            <div><a href="#" target="_blank"><img src="images/ad-08.jpg" width="325" height="190" border="0"></a></div>
        </div></td>
        <td width="20" align=center valign="top" onMouseOver="content_mouse(8)" bgcolor="#99CC33" class="pdboder"><table width=20 border=0 cellpadding=0 cellspacing=0>
            <tr>
              <td width=20 height="23" align="center"><img src="images/arrow.gif" width="12" height="12"></td>
            </tr>
            <tr>
              <td align=center><a href="#" target="_blank" class="title1">捌  搜集整理</a></td>
            </tr>
        </table></td>
      </tr>
    </table>
    <script language=JavaScript src="js/scrollad.js"></script></td>
  </tr>
</table>
</body>
</html>



JS代码(scrollad.js):

var timeout2=5000;
	//�л�ʱ��var timeout3=10000;
	//mouse over ���л�ʱ��var now_content=0;
	var total_content=8;
	var way=1;
	var start_content=Math.round(Math.random()*(total_content-1))+1;
	//�����Ϊ��һ��ʾ��function content_mouse(num){
	now_content=num;
	window.clearInterval(theTimer2);
	for (var i=1;
	i<=total_content;
	i++){
	document.getElementById('divhl0'+i).style.display='none';
}
document.getElementById('divhl0'+num).style.display='block';
	theTimer2=setTimeout('change_content()',timeout3);
}
function change_content(){
	for (var i=1;
	i<=total_content;
	i++){
	document.getElementById('divhl0'+i).style.display='none';
}
document.getElementById('divhl0'+now_content).style.display='block';
	if (way) now_content++;
	else now_content--;
	if(now_content>total_content){
	now_content=total_content-1;
	way=0;
}
else if(now_content==0){
	now_content=1;
	way=1;
}
theTimer2=setTimeout('change_content()',timeout2);
}
theTimer2=setTimeout(function(){
	now_content=1;
	change_content();
}
,timeout2);
	
附件:下载该文件资源,减少时间成本(增值服务)
留言
该资源可下载
File Source
.rar
165.85 KB
Html Js 手拉琴特效
最新结算
股权转让协议意向书模板
类型: .docx 金额: CNY 2.23¥ 状态: 待结算 详细>
股权转让协议意向书模板
类型: .docx 金额: CNY 0.28¥ 状态: 待结算 详细>
CSS3图片向上3D翻转渐隐消失特效
类型: .rar 金额: CNY 0.29¥ 状态: 待结算 详细>
CSS3图片向上3D翻转渐隐消失特效
类型: .rar 金额: CNY 2.31¥ 状态: 待结算 详细>
.net c# 将金额转人名币大写金额
类型: .rar 金额: CNY 2.39¥ 状态: 待结算 详细>
.net c# 将金额转人名币大写金额
类型: .rar 金额: CNY 0.3¥ 状态: 待结算 详细>
合伙退伙协议书范本模板
类型: .doc 金额: CNY 2.23¥ 状态: 待结算 详细>
合伙退伙协议书范本模板
类型: .doc 金额: CNY 0.28¥ 状态: 待结算 详细>
合伙退伙协议书范本模板
类型: .doc 金额: CNY 2.23¥ 状态: 待结算 详细>
合伙退伙协议书范本模板
类型: .doc 金额: CNY 0.28¥ 状态: 待结算 详细>
我们力求给您提供有用的文章,再此基础上,会附加营收资源,不做任何广告,让平台可以更好发展 若您发现您的权利被侵害,或使用了您的版权,请发邮件联系 sunlifel@foxmail.com ggbig觉得 : 不提供源码的文章不是好文章
合作伙伴
联系我们
  • QQ:21499807
  • 邮箱:sunlifel@foxmail.com
  • QQ扫一扫加QQ
    QQ扫一扫
Copyright 2023-2024 ggbig.com·皖ICP备2023004211号-1
打赏文章