behavior: marquee

Automatic content scrolling of the element in vertical or horizontal dimension.

Elements

N/A

Attributes

that this behavior knows about:

  • marquee = horizontal | vertical - defines vertical or horizontal marquee;
  • marquee-direction = forward | reverse - defines scroll direction;
  • marquee-speed = normal | slow | fast - speed of auto-scroll;
  • marquee-play-count = undefined | <number> - number of cycles to play;
  • marquee-style = scroll | slide | alternate - style of marquee;
These attributes can be provided in form of DOM attributes or as CSS properties. To define them in CSS just prepend names above with '-':
  div.mymarquee 
  {
    width:100px;
    -marquee: horizontal;
    -marquee-speed: slow; 
  }

Events

N/A

h-smile/built-in-behaviors/marquee.txt · Last modified: 2010/06/07 23:51 by andrew
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0