Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flexslider
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hebotek
flexslider
Commits
fe808fc4
Commit
fe808fc4
authored
Apr 19, 2012
by
Andy Hausmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Randomize option.
parent
19dd0c90
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
3 deletions
+22
-3
flexform.xml
Configuration/FlexForms/flexform.xml
+12
-0
setup.txt
Configuration/TypoScript/setup.txt
+5
-3
README.md
README.md
+2
-0
locallang_be.xml
Resources/Private/Language/locallang_be.xml
+2
-0
List.html
Resources/Private/Templates/FlexSlider/List.html
+1
-0
No files found.
Configuration/FlexForms/flexform.xml
View file @
fe808fc4
...
...
@@ -102,6 +102,18 @@
</TCEforms>
</settings.directionNav>
<settings.randomize>
<TCEforms>
<label>
LLL:EXT:flexslider/Resources/Private/Language/locallang_be.xml:flexforms_settings.randomize
</label>
<config>
<type>
check
</type>
<default>
0
</default>
</config>
</TCEforms>
</settings.randomize>
<settings.pauseOnHover>
<TCEforms>
<label>
...
...
Configuration/TypoScript/setup.txt
View file @
fe808fc4
...
...
@@ -13,15 +13,17 @@ plugin.tx_flexslider {
# String: Select the sliding direction, "horizontal" or "vertical"
slideDirection = horizontal
# Boolean: Animate slider automatically
slideshow =
0
slideshow =
false
# Integer: Set the speed of the slideshow cycling, in milliseconds
slideshowSpeed = 7000
# Integer: Set the speed of animations, in milliseconds
animationDuration = 600
# Boolean: Create navigation for previous/next navigation? (true/false)
directionNav = 1
directionNav = true
# Boolean: Randomize slide order
randomize = false
# Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering
pauseOnHover =
0
pauseOnHover =
false
}
}
...
...
README.md
View file @
fe808fc4
...
...
@@ -65,6 +65,8 @@ _This section isn't completed yet._
animationDuration = 600
# Boolean: Create navigation for previous/next navigation? (true/false)
directionNav = 1
# Boolean: Randomize slide order
randomize = false
# Boolean: Pause the slideshow when hovering over slider, then resume when no longer hovering
pauseOnHover = 0
}
...
...
Resources/Private/Language/locallang_be.xml
View file @
fe808fc4
...
...
@@ -20,6 +20,7 @@
<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.directionNav"
>
Show direction navigation
</label>
<label
index=
"flexforms_settings.randomize"
>
Randomize slide order
</label>
<label
index=
"flexforms_settings.pauseOnHover"
>
Pause the slideshow when hovering
</label>
</languageKey>
<languageKey
index=
"de"
type=
"array"
>
...
...
@@ -37,6 +38,7 @@
<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.directionNav"
>
Zeige Richtungs-Navigation
</label>
<label
index=
"flexforms_settings.randomize"
>
Sortierung nach Zufall
</label>
<label
index=
"flexforms_settings.pauseOnHover"
>
Slideshow pasusiren bei Mouseover
</label>
</languageKey>
</data>
...
...
Resources/Private/Templates/FlexSlider/List.html
View file @
fe808fc4
...
...
@@ -17,6 +17,7 @@ $(window).load(function() {
directionNav
:
<
f
:
if
condition
=
"{settings.directionNav} > 0"
><
f
:
then
>
true
<
/f:then><f:else>false</
f
:
else
><
/f:if>
,
prevText
:
"<f:translate key="
prevText
">vor</f:translate>"
,
nextText
:
"<f:translate key="
nextText
">weiter</f:translate>"
,
randomize
:
<
f
:
if
condition
=
"{settings.randomize} > 0"
><
f
:
then
>
true
<
/f:then><f:else>false</
f
:
else
><
/f:if>
,
pauseOnHover
:
<
f
:
if
condition
=
"{settings.pauseOnHover} > 0"
><
f
:
then
>
true
<
/f:then><f:else>false</
f
:
else
><
/f:if
>
<!
[
CDATA
[
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment