HBCMS更多的中文手册参考:

BEHAVIOR Attribute | behavior参数属性

DHTML文档教程

Sets or retrieves how the text scrolls in the marquee.

dhtml语法

HTML<MARQUEE BEHAVIOR = sScroll... >
ScriptingMARQUEE.behavior [ = sScroll ]

DHTML可能的值

sScrollString that specifies or receives one of the following values.
scrollDefault. Marquee scrolls in the direction specified by the direction property. the text scrolls off the end and starts over.
alternatemarquee scroll direction reverses when its content reaches the edge of the container.
slideMarquee scrolls in the direction specified by the direction property. The text scrolls to the end and stops.

The property is read/write. The property has a default value of scroll.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.

DHTML代码范例

This example moves a piece of text down the page using a marquee object.

<MARQUEE loop=1 height=200  width=740
style="position:absolute; top:0; left:10"
SCROLLAMOUNT=10 SCROLLDELAY=20 BEHAVIOR="SLIDE" DIRECTION="DOWN">
<UL>Use Dynamic HTML to differentiate your content and create
compelling Web sites
</UL>
</MARQUEE>
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

是否符合公共标准

This property is part of a proposed addition to Cascading Style Sheets (CSS) Non-Microsoft link.

Applies To

MARQUEE

更多语法参考

How to Fly Text in DHTML