js特效问题

来源:百度知道 编辑:UC知道 时间:2024/05/12 16:57:20
我想做一个从下到上滚动的字的效果,找到了一段代码,但是这段代码走了几遍就停了,不知道什么原因,哪些好心人给我看看,如果有好使的代码给我也行,代码如下:

<table width="180" height="161" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000">
<tr>
<td><table width="178" height="159" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F8F8F8">
<tr>
<td><DIV id=bulletindemo style="OVERFLOW: hidden; WIDTH: 170px; HEIGHT: 150px">
<DIV id=bulletindemo1>
<p>
<center>
<font color=red>热烈庆祝</font>
</center>
<br>

这个比那个好用

而且鼠标在上面还能停,离开又能继续走

<html>
<head>
<title> New Document </title>
<style>
A.News
{
FONT-SIZE:12px;
TEXT-decoration : none;
COLOR:#003366;
}
A.News:active
{
FONT-SIZE:12px;
TEXT-decoration : underline;
COLOR:#003366;
}
A.News:link
{
FONT-SIZE:12px;
TEXT-decoration : none;
COLOR:#003366;
}
A.News:visited
{
FONT-SIZE:12px;
TEXT-decoration : none;
COLOR:#003366;
}
A.News:hover
{
FONT-SIZE:12px;
TEXT-decoration : underline;
COLOR:#990000;
}
</style>
</head>

<body>
<MARQUEE onmouseover=this.stop() onmouseout=this.start()
scrollAmount=1 file://这里设置滚动速度,将1改成其它数看看
scrollDelay=4 direction=up
width=168 height=110 file://设置滚动区域的宽高