Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible we can pass an argument as default selected for your thumbnailhover? or any workaround to do this?
Thanks.
Comments
Comment #1
nathanjo CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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
johnnyfofo CreditAttribution: johnnyfofo 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.