arteleku_drupal_module/plugins/styles/slide.js

18 lines
428 B
JavaScript
Raw Permalink Normal View History

2017-12-15 01:09:28 +01:00
(function ($) {
Drupal.behaviors.arteleku_slide = {
attach: function (context, settings) {
$("#slider-panel .slide-slide>.view-content").cycle({
fx: 'scrollLeft',
timeout: 5000,
speed: 500,
pause: true,
prev:"#slide-navigator #left-arrow",
next: "#slide-navigator #right-arrow",
width:570
});
}
};
})(jQuery);