图片滚动

lehua549 2008-11-22 05:10:20
我想向上滚动图片,图片是从数据库调用的.代码应该怎么写
...全文
48 点赞 收藏 5
写回复
5 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
veiny 2008-11-23
[Quote=引用 3 楼 sy_binbin 的回复:]
http://www.popub.net/script/MSClass.html
[/Quote]

楼主看看这个,超好用~!~1
回复
pumnfood 2008-11-22
<marquee direction=up height=50 onmouseout=this.start() onmouseover=this.stop() scrollAmount=1 scrollDelay=60>
<table width="100" height="240" border="0" cellpadding="0" cellspacing="0" class="body">
<tr><td>文字</td></tr><tr><td>文字</td></tr><tr><td>文字</td></tr><tr><td>文字</td></tr>
</table></marquee>
回复
sy_binbin 2008-11-22
http://www.popub.net/script/MSClass.html
回复
virgo2008 2008-11-22
读数据库循环你应该会吧!
回复
virgo2008 2008-11-22

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Copyright" content="懒人图库 http://lanren.makewing.com/" />
<meta name="description" content="学会偷懒,并懒出境界是提高工作效率最有效的方法!" />
<meta content="懒人图库" name="keywords" />
<title>懒人图库</title>
<style type="text/css">
<!--
TD {FONT-SIZE: 12px;}
</style>
</head>

<body>
<div id=link_logo style="OVERFLOW: hidden; WIDTH: 160px; HEIGHT: 235px">
<div id=link_logo1 style="OVERFLOW: hidden">
<table cellspacing=0 cellpadding=0 width=164 border=0>
<tbody>
<tr>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a
href="http://eladies.sina.com.cn/media/index.shtml"
target=_blank><img alt=""
src="images/sina_lady_2.gif"
border=0></a></td>
</tr>
</tbody>
</table></td>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a href="http://lady.tom.com/"
target=_blank><img alt=""
src="images/tomlady2_1.jpg"
border=0></a></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a href="http://luxury.qq.com/"
target=_blank><img alt=""
src="images/qqfashion_1.gif"
border=0></a></td>
</tr>
</tbody>
</table></td>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a href="http://women.sohu.com/"
target=_blank><img alt=""
src="images/sohuwomen_logo_1.gif"
border=0></a></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a href="http://www.trendsmag.com/"
target=_blank><img alt=""
src="images/LOGOshishang.gif"
border=0></a></td>
</tr>
</tbody>
</table></td>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a href="http://www.sh.xinhuanet.com/"
target=_blank><img alt=""
src="images/xinhu_1.jpg"
border=0></a></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a href="http://wzy.xingkong.com.cn/"
target=_blank><img alt=""
src="images/wuyuan_logo_1.jpg"
border=0></a></td>
</tr>
</tbody>
</table></td>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a href="http://fashion.phoenixtv.com/"
target=_blank><img alt=""
src="images/phoenix_logo_1.gif"
border=0></a></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a href="http://www.chinasspp.com/"
target=_blank><img alt=""
src="images/zgsslogo_1.jpg"
border=0></a></td>
</tr>
</tbody>
</table></td>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a href="http://www.265.com/"
target=_blank><img alt=""
src="images/265_2.gif"
border=0></a></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a
href="http://www.enet.com.cn/elady/index.shtml"
target=_blank><img alt=""
src="images/elady8831_1_1.gif"
border=0></a></td>
</tr>
</tbody>
</table></td>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a href="http://www.1619.com.cn/"
target=_blank><img alt=""
src="images/1619_logo_1.gif"
border=0></a></td>
</tr>
</tbody>
</table></td>
</tr>
<tr>
<td valign=top align=middle height=33><table cellspacing=0 cellpadding=2 border=0>
<tbody>
<tr>
<td align=middle><a href="http://www.chinaren.com/"
target=_blank><img alt=""
src="images/mmchina_logo_1.jpg"
border=0></a></td>
</tr>
</tbody>
</table></td>
</tbody>
</table>
</div>
<div id=link_logo2></div>
</div>
<script>
var speed=65
link_logo2.innerHTML=link_logo1.innerHTML
function Marquee2(){
if(link_logo2.offsetTop-link_logo.scrollTop<=0)
link_logo.scrollTop-=link_logo1.offsetHeight
else{
link_logo.scrollTop++
}
}
var MyMar2=setInterval(Marquee2,speed)
link_logo.onmouseover=function() {clearInterval(MyMar2)}
link_logo.onmouseout=function() {MyMar2=setInterval(Marquee2,speed)}
</script>
</body>
</html>
回复
相关推荐
发帖
ASP
创建于2007-09-28

2.8w+

社区成员

ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
申请成为版主
帖子事件
创建了帖子
2008-11-22 05:10
社区公告
暂无公告