Content - News Menu - Ressources Menu - Sitemap - Share your code - Code library - Reference
Formidable is part of the TYPO3 Project and is supported by Ameos
Revision: 327
Author: lzeca
Date: 18:06:04, vendredi 6 mars 2009
Message:
rdt_ticker/api/class.tx_rdtticker.php:
-> new: control which scroll something into the page.
This can presents either a simple html text or a list of images or something more complex.
This control function like a box with childs, where each child can be defined by a html or a datasource.
Properties:
-> /width: int : default 450: in pixels(px). Sets up the width of ticker.
-> /height: int : default 18: in pixels(px). Sets up the height of ticker.
-> /offsettop: int : default 0: in pixels(px). Sets up the position of content from the top of ticker.
-> /offsetleft: int : default 0: in pixels(px). Sets up the position of content from the left of ticker.
-> /background: string : default none: Specify the background of ticker.
-> /bgcolor: string : default transparent: Specify the background color of ticker.
-> /border: string : default none: Specify a border for the ticker.
-> /bordercolor: string : default white: Specify a border color for the ticker.
-> /itemwidth: int : default 0: in pixels(px). Sets the width of each item presented into the ticker.
-> /itemheight: int : default 0: in pixels(px). Sets the height of each item presented into the ticker.
-> /itemstyle: string: List of styles to be applied to each child of box.
-> /scrolling/mode: string : default horizontal : Possibles choices: horizontal or vertical. Specify the way how the content will scroll into the page.
-> /scrolling/direction: string : Possibles choices: left, right, top or bottom. Specify the direction of the scroll.
IF mode=horizontal THEN the default value of direction is left.
IF mode=vertical THEN the default value of direction is top.
-> /scrolling/startdelay: int : default 2500 : The time passed before the first scroll starts.
-> /scrolling/nextdelay: int : default 100 : The time passed before the execution of the next scroll starts.
-> /scrolling/amount: int : default 1 : How far the scroll will jump, in pixels(px).
-> /scrolling/stop: bool : default false : Sets to TRUE if you want to stop the scroll. For instance, at the begin when you are designing the ticker.
-> /html: as usual
-> /datasource: as usual
-> /datasource/limit: int : default 5 : Specify the max number of items to show on ticker.
-> /datasource/orderby: string : default tstamp : Specify the field used to sort the items.
-> /datasource/orderdir: string : default DESC : Specify the way how the items will be sorted: ASC or DESC.
-> /template: as usual, when we have a datasource
-> /childs: as usual, like for any renderlet:BOX. It is used when we have a datasource.
rdt_ticker/res/js/ticker.js:
-> new: js used to scroll a complex HTML into a page
----
Added : /trunk/api/base/rdt_ticker
Added : /trunk/api/base/rdt_ticker/api
Added : /trunk/api/base/rdt_ticker/api/class.tx_rdtticker.php
Added : /trunk/api/base/rdt_ticker/ext_emconf.php
Added : /trunk/api/base/rdt_ticker/ext_icon.gif
Added : /trunk/api/base/rdt_ticker/res
Added : /trunk/api/base/rdt_ticker/res/js
Added : /trunk/api/base/rdt_ticker/res/js/ticker.js
Modified : /trunk/ext_emconf.php
Modified : /trunk/ext_localconf.php
Modified : /trunk/ext_typoscript_setup.txt