Commit ef946146 authored by Andy Hausmann's avatar Andy Hausmann

Added option for control navigation.

parent 1ed2a494
......@@ -36,6 +36,18 @@
</TCEforms>
</settings.slideDirection>
<settings.controlNav>
<TCEforms>
<label>
LLL:EXT:flexslider/Resources/Private/Language/locallang_be.xml:flexforms_settings.controlNav
</label>
<config>
<type>check</type>
<default>1</default>
</config>
</TCEforms>
</settings.controlNav>
<settings.directionNav>
<TCEforms>
<label>
......
......@@ -25,6 +25,7 @@ plugin.tx_flexslider {
# Integer: Set the speed of animations, in milliseconds
animationDuration = 600
# Boolean: Create navigation for previous/next navigation? (true/false)
controlNav = 1
directionNav = 1
# Boolean: Allow slider navigating via keyboard left/right keys
keyboardNav = 1
......
......@@ -31,6 +31,7 @@
<label index="flexforms_settings.slideshow">Auto Play</label>
<label index="flexforms_settings.slideshowSpeed">Slideshow Speed (in ms), defaults to 7000</label>
<label index="flexforms_settings.animationDuration">Animation duration (in ms), defaults to 600</label>
<label index="flexforms_settings.controlNav">Show control navigation</label>
<label index="flexforms_settings.directionNav">Show direction navigation</label>
<label index="flexforms_settings.randomize">Randomize slide order</label>
<label index="flexforms_settings.animationLoop">Loop slides</label>
......@@ -68,6 +69,7 @@
<label index="flexforms_settings.slideshow">Automatisches Abspielen</label>
<label index="flexforms_settings.slideshowSpeed">Slideshow-Geschwindigkeit (in ms), Standard: 7000</label>
<label index="flexforms_settings.animationDuration">Animationsdauer (in ms), Standard: 600</label>
<label index="flexforms_settings.controlNav">Zeige Kontroll-Navigation</label>
<label index="flexforms_settings.directionNav">Zeige Richtungs-Navigation</label>
<label index="flexforms_settings.randomize">Sortierung nach Zufall</label>
<label index="flexforms_settings.animationLoop">Slides am Ende wiederholen</label>
......
......@@ -8,6 +8,7 @@ $(window).load(function() {
slideshow: <f:if condition="{settings.slideshow} > 0"><f:then>true</f:then><f:else>false</f:else></f:if>,
slideshowSpeed: <f:if condition="{settings.slideshowSpeed} > 0"><f:then>{settings.slideSpeed}</f:then><f:else>7000</f:else></f:if>,
animationDuration: <f:if condition="{settings.animationDuration} > 0"><f:then>{settings.animationDuration}</f:then><f:else>600</f:else></f:if>,
controlNav: <f:if condition="{settings.controlNav} > 0"><f:then>true</f:then><f:else>false</f:else></f:if>,
directionNav: <f:if condition="{settings.directionNav} > 0"><f:then>true</f:then><f:else>false</f:else></f:if>,
keyboardNav: <f:if condition="{settings.keyboardNav} > 0"><f:then>true</f:then><f:else>false</f:else></f:if>,
mousewheel: <f:if condition="{settings.mousewheel} > 0"><f:then>true</f:then><f:else>false</f:else></f:if>,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment