永发信息网

在html中出了用<marquee direction=up>向上滚动的代码还有没有别的可以用的向上滚动的代码

答案:1  悬赏:0  手机版
解决时间 2021-07-29 17:59

文字

最佳答案

marquee只能作用于IE浏览器,下面的代码兼容所有浏览器



<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>向上无缝滚动</title>
</head>


<body>
<div id=demo >
<div id=demo1>
<table width="191" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_255.html>Congratulations! some tools are free shipping now!</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_254.html>Tacho Universal without times limitation</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_253.html>Latest version - Mercedes Benz Star 3/2009</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_252.html>BMW GT1 suits for any computers now!</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_251.html>New comer - Nissan Consult III</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_250.html>Update software - X431 & X431 TOOL 6/17/2009</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_249.html>Updated version - AK500 BENZ/BMW Key Programmer</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_248.html>Latest version - OP-COM v10/2008</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_247.html>New comer - Honda FLY100</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_246.html>New comer - Honda Airbag Resetter</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_245.html>TOYOTA ITIS come out</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_244.html>Latest version - VAG K CAN Commander 3.0</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td height="19" width="10" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="19"><img src="/images/dian.gif" width="4" height="4"/></td>
</tr>
</table>
</td>
<td align="left"><span class="STYLE4"><a href=/html/News/news_243.html>Latest version - Lexia3 Citroen/Peugeot</a></span></td>
</tr>
<tr>
<td height="10">
</td>
</tr>
</table>
</div>
<div id=demo2></div>
</div>
<script language="javascript">
var speed=40
demo2.innerHTML=demo1.innerHTML
function Marquee(){
if(demo2.offsetTop-demo.scrollTop<=0)
demo.scrollTop-=demo1.offsetHeight
else{
demo.scrollTop++
}
}
var MyMar=setInterval(Marquee,speed)
demo.onmouseover=function() {clearInterval(MyMar)}
demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</script>
</body>
</html>

我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
小时候两只脚,长大没有脚,长到二十多又出两
QQ飞车如何快打人
如何与恋人爱的长久?
诛仙飞升造化技能
什么的狐狸填适合的词,狸字能组什么词?
掇刀区荆门卤香小锅(城南新区店)哪位知道具体
求生之路 联网时,按什么键可以说话?
爱上一个花心的人怎么办?
水货手机刷机问题
潮汕话“卤死鲁”什么意思?
QQ音乐绿钻上传音乐之后生成链接么?
在问问上找不到关于我问题的分类怎么办啊?
夏洛克开罐子的任务怎么做?
怎样写出一手好字
风流才子唐伯虎有续集吗?
推荐资讯
在CuSO4中加H2S是否有CuS产生
为什么我唱歌就五音不全的呢?
人一天能眨多少下眼睛?
汉川市孝感少平特色鳝鱼面馆在什么地方啊,我
奥数里的一道题目 [ 标签:奥数,一道 题目,题
怎么样不在别人QQ上显示我的照片?
如果你是我 ,你会怎么办?
有谁能回答以下问题
通道侗族自治县怀化雄信铝材哪位知道具体地址
我想买台笔记本电脑,联想的,价格在5000左右,
怎样重装软件(在网站怎么下载)
奇门游侠能招哪四个宝宝
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?