{{indexmenu_n>250}}
====== Ticker (horizontal) ======
A horizontal ticker //(treadmill)// whitch can be used **in each cp with own template** //(preferably text-CPs)//.
----
V1.0 18.02.2010
Docu: -- \\
Forum: [[http://forum.phpwcms.org/viewtopic.php?p=122557]] \\
**Autor:** K.Heermann (flip-flop) http://planmatrix.de \\
**Enhanced:** Uwe367 //(+ JavaScript)//
**CMS Version:** >= 1.3 \\
**Version:** V1.0 \\
Tag: -- \\
Filename: ** *.tmpl **
Folder: ** template/inc_cntpart/* **
**Condition:** --
----
----
\\
==== Template ====
Example for the cp "plain text"
* **Copy and paste the code into the file ##ticker.tmpl## in ##template/inc_cntpart/plaintext/ ##**
\\
**Without JavaScript:**
[TITLE]{TITLE}
[/TITLE]
[SUBTITLE]{SUBTITLE}
[/SUBTITLE]
\\
**Using JavaScript:** Stop rotating when the mouse hovers over the treadmill.
[TITLE]{TITLE}
[/TITLE]
[SUBTITLE]{SUBTITLE}
[/SUBTITLE]
\\
==== CSS ====
/* ==== CSS simple Ticker */
.ticker-wrap {
width: 250px;
height:20px;
padding-top: 7px;
background-color: #eee;
}
.ticker p {
font-family: Arial, Verdana, Helvetica;
font-size: 14px;
font-weight: bold;
color: #777;
}
/* ==== ENDE simple Ticker */