<div id=jsweb8_cn_top style=overflow:hidden;height:100px;width:150px;>
<div id=jsweb8_cn_top1>
<%
mess=split(fahuomess,"<br>")
for i=0 to ubound(mess) %>
<%=trim(mess(i))%> <hr>
<%next%>
</div>
<div id=jsweb8_cn_top2></div>
</div>
</td>
<td width="1%" STYLE='PADDING-LEFT: 12px'></td></tr>
</table>
<script>
var speed=50
jsweb8_cn_top2.innerHTML=jsweb8_cn_top1.innerHTML
function Marquee1(){
if(jsweb8_cn_top2.offsetTop-jsweb8_cn_top.scrollTop<=0)
jsweb8_cn_top.scrollTop-=jsweb8_cn_top1.offsetHeight
else{
jsweb8_cn_top.scrollTop++;
}
}
var MyMar1=setInterval(Marquee1,speed)
jsweb8_cn_top.onmouseover=function() {clearInterval(MyMar1)}
jsweb8_cn_top.onmouseout=function(){MyMar1=setInterval(Marquee1,speed)}
</script>
<div id=jsweb8_cn_top1>
<%
mess=split(fahuomess,"<br>")
for i=0 to ubound(mess) %>
<%=trim(mess(i))%> <hr>
<%next%>
</div>
<div id=jsweb8_cn_top2></div>
</div>
</td>
<td width="1%" STYLE='PADDING-LEFT: 12px'></td></tr>
</table>
<script>
var speed=50
jsweb8_cn_top2.innerHTML=jsweb8_cn_top1.innerHTML
function Marquee1(){
if(jsweb8_cn_top2.offsetTop-jsweb8_cn_top.scrollTop<=0)
jsweb8_cn_top.scrollTop-=jsweb8_cn_top1.offsetHeight
else{
jsweb8_cn_top.scrollTop++;
}
}
var MyMar1=setInterval(Marquee1,speed)
jsweb8_cn_top.onmouseover=function() {clearInterval(MyMar1)}
jsweb8_cn_top.onmouseout=function(){MyMar1=setInterval(Marquee1,speed)}
</script>
解决方案 »
- JS替换flash,请求支援
- window.location.replace跳转的,如何获取来路?
- fck 可以单独使用 "浏览服务器"功能吗?
- 不按ctrl键,点击鼠标左键就实现select控件项目的多选和反选?
- js中调用ActiveX控件的函数,如何处理类似DataBuf的输入参数
- 请问如何使用Javascript实现添加新的记录到Select选框里面
- frameset中怎么设置按钮的click事件去到另外一个页面(这个页面不能是在其中一个frame中)??
- 急呀!两个关联下拉列表框的可输入问题
- 请问为什么onload='if(parent.parent.document.ch.'+ee+'.value=="no"){parent.parent.document.ch.'+ee+'.value="ok";}'这个会出错!
- 求一个正则表达式
- jquery flexgrid 添加checkbox?
- ubb,怎样可以令输入的ubb标签作为文本字符串,而不被解释?
你看看你的样式可能哪里ff不兼容带把贴的不全帮补料你