栏目导航
热点推荐
- DEDECMS专题制作方法
- 用dedecms实现拼音显示文章标题
- linux和windows主机实现dedecms
- dedecms 评论盖楼实现楼层数,类
- Dedecms会员注册验证邮箱的实现
- DEDECMS更换模板的方法
- DedeCMS v5.3 归档插件+列表生成
- 活用DedeCms进行SEO优化全攻略
- DEDECMS打造实用漂亮的翻页效果!
- dedecms完美调用dz(discuz)论坛
- DEDE小技巧:DEDECMS会员登陆后
- DedeCmsV5.1函数及文件参考手册
阅览排行
DEDE图片横向滚动代码
www.jz123.cn 2008-10-19 来源: 中国建站 编辑整理 我要投递新闻
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="http://www.pnmhw.com/pic/" 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添加迅雷专用链接 下一篇:DEDE隔行变色以及分组加线