回 帖 发 新 帖 刷新版面

主题:请教高手啊,谢谢

<html>
<title>欢迎界面</title>
<head>
<script language="javascript">
function time1()
{
today = new Date()
    Document.write("欢迎您来到c/c++交流中心  今天日期为:"+
        today.getYear()+"/"+(today.getMonth()+1)+"/"+today.getDate());
}
</script>
</head>
<body>
<center>
<font size=10 face=隶书 color=red>欢迎您进入系统</font><p>
<marquee border="0" width="748" height="16">
<font color=blue></font>
</marquee>
</body>
</htm

我想把这个时间函数加到“欢迎您来到c/c++交流中心”之后滚动显示
怎么弄啊
谢谢您

回复列表 (共1个回复)

沙发

Document.write("欢迎您来到c/c++交流中心  今天日期为:"<marquee>+
        today.getYear()+"/"+(today.getMonth()+1)+"/"+today.getDate()</marquee>);

我来回复

您尚未登录,请登录后再回复。点此登录或注册