DEDE图片横向滚动代码
来源:asp之家 时间:2009-02-14 08:15:00
DEDE图片横向滚动代码
<DIV id=brand align="center">
<div style="width:898px; height:110px; border:1px solid #97DAF7; margin-top:5px;">
<table width="898" height="110" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30" align="center" valign="middle" bgcolor="#fff0e0"><a href=https://www.aspxhome.com/ target="_blank"><font style="font-size:14px; color:#0099D3; font-weight:bold; text-decoration: none;">图<br />片<br />聚<br />焦</font></a></td>
<td>
<style type="text/css">
<!--
.sjlm_home_table {line-height:20px;}
.sjlm_home_table img {width:100px; height:75px; border:0px;}
body {
margin: 0px; font-size:12px;
}
a:link {
color:#333333;
text-decoration: none;
}
a:visited {
text-decoration: none;
color:#333333;
}
a:hover {
text-decoration: underline;
color:#ff3333;
}
a:active {
text-decoration: none;
color:#ff3333;
}
a {
font-size: 12px;
}
-->
</style>
<table width="880" height="100" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<DIV id=demo style="OVERFLOW: hidden; WIDTH: 880px" align=center>
<TABLE cellSpacing=0 cellPadding=0 width="880px" align=center border=0>
<TBODY>
<TR>
<TD id=demo1 vAlign=top>
<TABLE style="MARGIN-TOP: 0px" cellSpacing=0 cellPadding=0 width="880" align=center border=0>
<TBODY>
<TR vAlign=top>
<TD>
<table width="880" height="90" border="0" cellpadding="10" cellspacing="0" class="sjlm_home_table">
<tr>
<td>
{dede:arclist row=10 titlelen=12 orderby=pubdate col=10 type='image' imgwidth='100' imgheight='75'}
<table cellspacing=3 cellpadding=0 width="98%" border=0>
<tbody>
<tr>
<td align=middle>[field:imglink/]</td></tr>
<tr>
<td align=middle>[field:textlink/]</td></tr></tbody></table>
{/dede:arclist}
</td>
</tr>
</table>
</TD></TR></TBODY></TABLE></TD>
<TD id=demo2 vAlign=top></TD></TR></TBODY></TABLE>
</DIV>
</td>
</tr>
</table>
<SCRIPT>
<!--
var Picspeed=20;
demo2.innerHTML=demo1.innerHTML
function Marquee1()
{
if(demo2.offsetWidth-demo.scrollLeft<=0)
demo.scrollLeft-=demo1.offsetWidth;
else
demo.scrollLeft++;
}
var MyMar1=setInterval(Marquee1,Picspeed)
demo.onmouseover=function() {clearInterval(MyMar1)}
demo.onmouseout=function() {MyMar1=setInterval(Marquee1,Picspeed)}
-->
</SCRIPT>
</td>
</tr>
</table>
</div>
</DIV>
标签:代码,滚动,横向,图片,dede
0
投稿
猜你喜欢
推广经验 企业网络营销策划的8个注意事项
2009-02-28 11:03:00
麦田:博客已经过时了。。。
2008-07-26 12:42:00
IIS中的MIME类型介绍
2007-11-12 19:15:00
Windows服务器组件安全设置策略
2009-10-18 07:41:00
关于Linux网络安全的内在限制
2009-09-19 20:03:00
谷歌营销的秘密:网页好坏直接影响网站收入
2009-07-14 14:20:00
最新的IIS“服务没有及时响应启动或控制请求"处理方法
2010-03-15 12:58:00
美国主机hostgator 1美分空间购买图文教程
2010-03-28 07:33:00
百度收录减少原因分析 百度快照更新心得
2008-06-10 11:51:00
Win2008 R2 管理三:创建文件服务器
2009-09-09 12:25:00
新手教程:Dedecms栏目自定义字段的方法
2011-09-22 20:27:07
NTFS下磁盘簇大小的设置
2007-08-14 15:59:00
adsense如何更改收款人姓名
2008-03-16 15:30:00
基于WordPress网站的优化
2011-05-12 14:26:00
加固基于Windows 2003平台的WEB服务器
2009-01-06 17:14:00
免费开源IIS过滤器
2009-08-09 15:35:00
空间不足引起Exchange邮件服务器罢工
2010-03-01 18:41:00
Google搜索引擎快速收录网页最佳方法
2009-02-06 13:41:00
通过googleAdSense赚取美元这4年
2008-11-04 13:18:00
一个完美网站的101项指标.第一部分.概述
2008-02-29 21:52:00