Thanks for the great module guys :-)
I need to stop the slideshow after 1 loop - I've figured out that to do this I need to place some custom code in the "Custom jQuery Cycle Plugin Settings" textarea. I put the following code in (taken from http://malsup.com/jquery/cycle/options.html):
{"autostop":1,
"autostopCount":6}
After I saved the configuration settings, the dd block disappeared. When I removed the custom code, the block still did not appear and I had to restore the database from a backup I took before the change, and the block came back.
Any ideas as to what went wrong?
Charles.
Comments
Comment #1
ppblaauw commentedThis would be the way I would implement your requirement.
Will test this later and let you know what my findings are.
Comment #2
foxtrotcharlie commentedAs a workaround, it possible to access the slideshow cycle properties using jquery? For example, to put this in a separate javascript file:
$('#artistCycleParent').cycle({
fx: 'fade',
speed: 3000,
timeout: 5000,
pause: 1,
next: '#artworkNext',
prev: '#artworkPrev'
});
Would something like this work? How would I know which #id to target?
Comment #3
ppblaauw commentedForgot to follow up on this issue. I tested it on my server and the code works perfect when I put this in the custom jQuery Cycle Plugin Settings.
The slideshow stops after the 6th slide.
I don't know what went wrong on your server.
----
You can override all the Cycle plugin settings in the custom jQuery Cycle Plugin Setting.
But the code needs to be JSON syntax:
So it would become:
Comment #4
foxtrotcharlie commentedThanks for your feedback - will investigate a bit further :-)
Comment #5
ppblaauw commentedClosed issue. Assume poster solved the issue. 5 weeks without activity.