width
number (in pixels like 1280px or in percent like 100%). Default: 1280px
The width of the slider. For best results set this to the width of your slide image width's and use the slider with the option "responsive (default on)".
height
number (in pixels like 720px). Default: 720px
The height of the slider. For best results set this to the height of your slide image height's and use the slider with the option "responsive (default on)".
firstLayer
number (positive integer) or 'random'. Default: 1
LayerSlider will begin with this layer. Use the word 'random' to start with a random layer.
autoPlayVideos
on or off. Default: on
If on, slider will autoplay youtube / vimeo videos - you can use it with autoPauseSlideshow.
autoPauseSlideshow
'auto', true or false. Default: 'auto'
auto, on or off. 'auto' means, if autoPlayVideos is set to on, slideshow will stop UNTIL the video is playing and after that it continues. True means slideshow will stop and it won't continue after video is played.
youtubePreview
Default: maxresdefault.jpg
Default thumbnail picture of YouTube videos. Can be 'maxresdefault.jpg', 'hqdefault.jpg', 'mqdefault.jpg' or 'default.jpg'. Note, that 'maxresdefault.jpg' os not available to all (not HD) videos.
autoStart
on or off. Default: on
If on, slideshow will automatically start after loading the page.
twoWaySlideshow
on or off. Default: off
If on, slideshow will go backwards if you click the prev button.
randomSlideshow
on or off. Default: off
If on, LayerSlider will change to a random layer instead of changing to the next / prev layer. Note that 'loops' feature won't work with randomSlideshow!
imgPreload
on or off. Default: on
Image preload. Preloads all images and background-images of the next layer.
pauseOnHover
on or off. Default: on
If on, SlideShow will pause when you move the mouse pointer over the LayerSlider container.
loops
number (0 or a positive integer). Default: 0
Number of loops if autoStart set true (0 means infinite).
forceLoopNum
on or off. Default: on
If true, the slider will always stop at the given number of loops even if the user restarts the slideshow.
showBarTimer
on or off. Default: off
You can show or hide the bar timer.
showCircleTimer
on or off. Default: on
You can show or hide the circle timer.
skin
name_of_the_skin Default: glass
You can change the skin of the Slider. You can choose one of the pre-installed skin on the list or type a own skin name in. The skin name represents the folder where the skin files are located. If you choose a own skin you have set 'skinsPath' manually!
Pre-installed skins:
- borderlessdark
- borderlessdark3d
- borderlesslight
- borderlesslight3d
- carousel
- darkskin
- defaultskin
- fullwidth
- fullwidthdark
- glass
- lightskin
- minimal
- noskin
- v5
skinsPath
path_of_the_skins_folder. Default: internal
You can change the default path of the skins folder. Example: /fileadmin/templates/my_awsome_skin