Closed (duplicate)
Project:
Views Slideshow
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2011 at 03:30 UTC
Updated:
23 Jan 2017 at 07:07 UTC
Jump to comment: Most recent
Comments
Comment #1
nathanjo commented// override these globally if you like (they are all optional)
$.fn.cycle.defaults = {
.......
startingSlide: 0, // zero-based index of the first slide to be displayed
........
}
Ideally, I want to use that but as an argument.. Currently module using that for "Start On Last Slide Viewed", but it doesn't work if you have different results in your views. Any guidance how can I accomplish this? or is it possible to override using any available hooks?
Comment #2
redndahead commentedCan't remember if this is in 2.x, but you may be able to pass in the url #[slideshow-id]-[slideshow-num]
Comment #3
redndahead commentedThat's a terrible answer. Marking this as a feature request to allow someone to set a default argument. This isn't going into the 2.x line, but maybe the 3.x line.
Comment #4
Anonymous (not verified) commentedIs this something that has been integrated? If not, is there anyway good workaround? I don't care if it's dirty, but I do need to do this one way or another. Thanks!
Comment #5
nickdickinsonwildeWon't be with cycle lib. Will be included in the cycle2 plugin when it gets created.