加入侃日照,和我们一起侃侃侃吧!
您需要 登录 才可以下载或查看,没有账号?侃注册
×
打开tongji.asp的241行,找到下面的代码:
response.write "document.write('<marquee id=""shownews"" behavior=""alternate"" direction=""left"" scrollamount=""4"" scrolldelay=""1"" hspace=""0"" vspace=""0"">');"
将其中的behavior=""alternate""改为behavior=""scroll""即可。
另外,说明一下相关的参数含义: behavior=""scroll"" → 显示方式为滚动条。 =""slide"" → 显示方式为幻灯片。 =""alternate"" → 显示方式为交替。 direction=""left"" → 文字向左移动。 =""right"" → 文字向右移动。 =""up"" → 文字向上移动。 =""down"" → 文字向下移动。 scrollamount=""4""→ 移动速度,数字越小速度越慢。 scrolldelay="1" → 移动速度延时,数字越大速度越慢。 style=""color:#FF00FF;font-family: 宋体 (serif);font-size: 12"" → 文字格式,color可设置文字颜色,font-family可设置字体,font-size可设置字号大小 |