Learn HTML Code Tutorial Reference Guide

Attribute for <MARQUEE ...>
BEHAVIOR = SCROLL | SLIDE | ALTERNATE

BEHAVIOR indicates how the contents scroll.

BEHAVIOR=SCROLL, which is the default, indicates that the content should scroll off the edge of the marquee area, then reappear on the other side:

this code produces this
<MARQUEE BEHAVIOR=SCROLL>
Hello

BEHAVIOR=SLIDE is almost the same, except that it indicates that when the leading part content reaches the left edge it should stop without scrolling off. Notice in this example that the contents stop scrolling as soon as the "H" reaches the left side:

this code produces this
<MARQUEE BEHAVIOR=SLIDE>
Hello

BEHAVIOR=ALTERNATE makes the content bounce back and forth, all of it remaining visible all the time (assuming of course that it all fits).

this code produces this
<MARQUEE BEHAVIOR=ALTERNATE>
Hello




 

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   Privacy Policy   |   About
Copyright ©1997-2002 Idocs and ©2002-2014 HTML Code Tutorial