skip wrote:how to change queue of images in slideshow
I try with change firs letter - no result
I want put first image in slideshow to 3th position for example .how to do it
Thanx
You can control many aspects of the slideshow as follows:
(Always backup original file first)
In 'slideshow.tpl' located at:
catalog/view/theme/default/template/module/slideshow.tpl
If you have your own theme then 'default' becomes 'your theme name'.
Find:
Code: Select all
<script type="text/javascript"><!--
$(document).ready(function() {
$('#slideshow<?php echo $module; ?>').nivoSlider();
});
--></script>
and change to:
Code: Select all
<script type="text/javascript"><!--
$(document).ready(function() {
$('#slideshow<?php echo $module; ?>').nivoSlider(
{"effect":"random","slices":20,"animSpeed":500,"pauseTime":3000,"startSlide":3,"captionOpacity":1,"directionNav":true,"directionNavHide":true,"controlNav":false,"controlNavThumbs":false,"keyboardNav":false,"pauseOnHover":true,"manualAdvance":false,"controlNavThumbsFromRel":true} );
});
--></script>
The available effects are:
sliceDown
sliceDownLeft
sliceUp
sliceUpLeft
sliceUpDown
sliceUpDownLeft
fold
fade
random
slideInRight
slideInLeft
boxRandom
boxRain
boxRainReverse
boxRainGrow
boxRainGrowReverse
A combination of effects can be entered eg in the above instead of "random" enter:
"fold,fade,sliceDownLeft"
The following describes what each item in the code does:
effect: 'random', // Specify sets like: 'fold,fade,sliceDown'
slices: 15, // For slice animations
boxCols: 8, // For box animations
boxRows: 4, // For box animations
animSpeed: 500, // Slide transition speed
pauseTime: 3000, // How long each slide will show
startSlide: 0, // Set starting Slide (0 index)
directionNav: true, // Next & Prev navigation arrows show on hover
directionNavHide":false, // Next & Prev navigation arrows show or not show all the time
controlNav: true, // 1,2,3... navigation
controlNavThumbs: false, // Use thumbnails for Control Nav
pauseOnHover: true, // Stop animation while hovering
manualAdvance: false, // Force manual transitions
prevText: 'Prev', // Prev directionNav text
nextText: 'Next', // Next directionNav text
randomStart: false, // Start on a random slide
Enjoy!