Scroll content on pages
The Composite.Web.Html.Scroller package allows you to have content auto-scrolled in a box on a page. For scrolling the content, it uses jQuery.
How to implement
- Edit a page.
- Insert the
Composite.Web.Html.Scroller function (
Insert |
Function) or add similar code:
<f:function name="Composite.Web.Html.Scroller" xmlns:f="http://www.composite.net/ns/function/1.0"> <f:param name="Content" value="<html xmlns="http://www.w3.org/1999/xhtml"> 	<head></head> 	<body> <p>Your text to autoscroll<br /></p> 	</body> </html>" /> <f:param name="Title" value="" /> <f:param name="Width" value="250" /> <f:param name="Height" value="300" /> </f:function>
- In the Content parameter, provide content to auto-scroll on a page in a box.
- Specify the optional parameters if necessary:
- Title: The title of the auto-scrolling box (none by default)
- Width: The width of the auto-scrolling box (250 by default)
- Height: The height of the auto-scrolling box (300 by default)
Customization
You can customize the layout by editing the style sheet:
- ~\Frontend\Composite\Web\Html\Scroller\Styles.css
Requirements
Composite C1 version 3.0 or later