Yii2-telex demo


Showing 1-3 of 3 items.
IdClassContent 
 
m1msg-lightgreen<strong>Yii2-telex</strong> is a scrolling news ticker widget
m2msg-amberIt can be used in any Yii2 View
m3msg-tealTry the options below

Yii2-telex is a widget for the Yii 2.0 PHP Framework. It continuously displays breaking news, traffic information, stock quotes, and the like. Yii2-telex renders my Javascript/jQuery UI widget Telex.

It is free software, distributed under the MIT License.

Use it in your View like this:

<?php
    use sjaakp\telex\Telex;
?>

    ...
<?= Telex::widget([
    'options' => [
        'messages' => [
                [
                    'id' => 'm1',
                    'class' => 'msg-lightgreen',
                    'content' => 'Yii-telex is a scrolling news ticker widget'
                ],
                [
                    'id' => 'm2',
                    // ...
                ],
                // ... more messages ...
            ],
        // ... more client options for the underlying Telex widget ...
    ],
    'htmlOptions' => [
        'id' => 'telex'     // optional
        // ... more HTML options, a class, maybe
    ]
]) ?>
    ...

Consult the documentation for more options.