主题:  谁能给我讲讲滚动新闻的道理?谢谢

groove

职务:普通成员
等级:1
金币:0.0
发贴:35
#12004/10/23 18:49:12
谁能给我讲讲滚动新闻的道理?谢谢
就是那只显示固定条数的那种,谢谢!!



蓝鲸

职务:版主
等级:5
金币:42.1
发贴:2614
#22004/10/23 22:29:50
不是很理解你的意思


非常大鱼

ericwdf

职务:普通成员
等级:1
金币:0.0
发贴:22
#32004/10/26 21:13:58
滚动新闻栏实现ASP+access怎么做?



蓝鲸

职务:版主
等级:5
金币:42.1
发贴:2614
#42004/10/26 21:58:36
<script language=javascript>
var version = "other"
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

if (browserName == "Netscape" && browserVer >= 3) version = "n3";
else if (browserName == "Netscape" && browserVer < 3) version = "n2";
else if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) version = "e4";
else if (browserName == "Microsoft Internet Explorer" && browserVer < 4) version = "e3";

function marquee1(mhidht)
{
if (version == "e4")
    {
document.write("<marquee behavior=scroll direction=up height=" + mhidht + " scrollamount=1 scrolldelay=75 onmouseover='this.stop()' onmouseout='this.start()'>")
}
}

function marquee2()
{
if (version == "e4")
{
document.write("</marquee>")
    }
}
</script>

<script language=javascript>marquee1(85);</script>
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="fontDef01">
    <tr>
        <td><span class="ins-font01">·</span> 美英波拟三分伊拉克 弗兰克斯将担任总指挥</td>
    </tr>
    <tr>
        <td><span class="ins-font01">·</span> 萨达姆堂兄被美国2500万美元买通</td>
    </tr>
    <tr>
        <td><span class="ins-font01">·</span> 美军“扑克牌通缉令”成市场宠儿单价50美元</td>
    </tr>
</table>
<script language=javascript>marquee2();</script>


非常大鱼