Test de la librairie jsFF - Composant htmlScroller
htmlScroller create a div which scrolls html content into the given container.
Note that the container need to have width and height assigned to work properly.
The new div has the same id as its parent plus '_scroller' (ex: div_container => div_container_scroller).
id_element : id of the html container for the scroller.
html : content to scroll.
options :
- width : of the scroller div, default width of the container.
- height : of the scroller div, default height of the container.
- speed : of the scroller, bigger => faster (period = 50ms / speed), default 1.
- direction : of the scroller can be (top, bottom, right, left), default top.
- stopOnHover : if true, the scroller stops when the mouse is over, default true.
- startVisible : if true, the content is visible since the beggin of the scrolling, default false.
- loop : if true, the content is scrolled infinitely, default true.