I tried adding pause=”1″ and “0” to the shortcut but the slides still cycled automatically.
??
I didn’t say that you needed to do it. I was merely responding to David’s suggestion (which wasn’t the answer to the question you were asking). Adding the pause parameter isn’t supposed to solve anything in your case.
For your question see the second para of my response:
But I think the original post asks something different – it asks about not automatically starting the slideshow. This would require invoking the pause function on the JQuery Cycle object, as opposed to passing the pause parameter.
What you are asking for is a code change, which without testing I cannot provide with certainty. Basically if you open photonic.php and locate the code that does the slideshow, you will see this:
$j(this).cycle({
pause: <?php if (empty($pause)) echo 0; else echo 1; ?>,
fit: 1,
width: '100%',
<?php if (isset($fx)) { ?>
fx: '<?php echo $fx; ?>',
<?php } ?>
<?php if (isset($speed)) { ?>
speed: '<?php echo $speed; ?>',
<?php } ?>
<?php if (isset($timeout)) { ?>
timeout: '<?php echo $timeout; ?>',
<?php } ?>
<?php if ($style == 'strip-above' || $style == 'strip-below') { ?>
pager: '#' + thisId + '-nav',
pagerAnchorBuilder: function(idx, slide) {
var thumbIds = <?php echo json_encode($thumbs); ?>;
var image = slide.children[0];
var lastDash = image.id.lastIndexOf('-');
var imageId = image.id.substr(lastDash + 1);
var thumbDetails = thumbIds[imageId];
return '<li><a href="#" title="' + image.alt + '"><img src="' + thumbDetails[0] + '" width="<?php echo $thumb_width; ?>" height="<?php echo $thumb_height; ?>" alt="' + image.alt + '" /></a></li>';
}
<?php } ?>
});
Amend it to say:
$j(this).cycle({
pause: <?php if (empty($pause)) echo 0; else echo 1; ?>,
fit: 1,
width: '100%',
<?php if (isset($fx)) { ?>
fx: '<?php echo $fx; ?>',
<?php } ?>
<?php if (isset($speed)) { ?>
speed: '<?php echo $speed; ?>',
<?php } ?>
<?php if (isset($timeout)) { ?>
timeout: '<?php echo $timeout; ?>',
<?php } ?>
<?php if ($style == 'strip-above' || $style == 'strip-below') { ?>
pager: '#' + thisId + '-nav',
pagerAnchorBuilder: function(idx, slide) {
var thumbIds = <?php echo json_encode($thumbs); ?>;
var image = slide.children[0];
var lastDash = image.id.lastIndexOf('-');
var imageId = image.id.substr(lastDash + 1);
var thumbDetails = thumbIds[imageId];
return '<li><a href="#" title="' + image.alt + '"><img src="' + thumbDetails[0] + '" width="<?php echo $thumb_width; ?>" height="<?php echo $thumb_height; ?>" alt="' + image.alt + '" /></a></li>';
}
<?php } ?>
}).cycle('pause');