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.
The "Directions" option is used by certain transitions like "Cover," "Uncover" and a few others. It will control which way the transition in question animates.
While it isn't listed on the master options list, you can see it in use in the code here: http://jquery.malsup.com/cycle/cover2.html
$(function() {
$('#cover').cycle({
fx: 'cover',
direction: 'left', // one of up|down|left|right default=left
delay: -2000
});
$('#uncover').cycle({
fx: 'uncover',
direction: 'down' // one of up|down|left|right default=left
});
});
Is there a good way to inject unlisted options into the code?
Thanks,
Jon
Comments
Comment #1
NickDickinsonWildeadd the json2.js library and you can set any advanced option for jQuery Cycle lib through the Slideshow settings.