yii2sly
This extension is a wrapper for the amazing jquery slider "sly" which can be found here:, (*1)
http://darsa.in/sly/, (*2)
Pls. take a closer look at all the plugin options, which can be passed over by adding them to
the "clientOptions" parameter as shown below., (*3)
A demo of the extension can be found here:, (*4)
http://yii2fullcalendar.beeye.org/index.php/site/sly, (*5)
Installation
Add this to your composer.json require section, (*6)
"philippfrenzel/yii2sly": "*",
And finaly the view should look like this:, (*7)
title); ?>
= philippfrenzel\yii2sly\yii2sly::widget([
'id' => 'sp_slider',
'items'=> [
['content' => ''],
['content' => ''],
['content' => ''],
['content' => ''],
['content' => '']
],
'options' => [
'style' => "height:400px;"
],
'clientOptions' => [
'horizontal' => 1,
'activateMiddle' => 1,
...
]
]); ?>
Currently it cause issues with having multiple sly's on one page, but we know this issue and are working on it., (*8)