Révision 99781f3b
Ajouté par Assos Assos il y a plus de 7 ans
drupal7/sites/all/modules/views_slideshow/contrib/views_slideshow_cycle/js/views_slideshow_cycle.js | ||
---|---|---|
120 | 120 |
$('#views_slideshow_cycle_teaser_section_' + settings.vss_id).hover(mouseIn, mouseOut); |
121 | 121 |
} |
122 | 122 |
} |
123 |
|
|
124 |
// Play on hover. |
|
125 |
if (settings.play_on_hover) { |
|
126 |
var mouseIn = function() { |
|
127 |
Drupal.viewsSlideshow.action({ "action": 'play', "slideshowID": settings.slideshowId, "force": true }); |
|
128 |
} |
|
129 |
|
|
130 |
var mouseOut = function() { |
|
131 |
Drupal.viewsSlideshow.action({ "action": 'pause', "slideshowID": settings.slideshowId }); |
|
132 |
} |
|
133 |
|
|
134 |
if (jQuery.fn.hoverIntent) { |
|
135 |
$('#views_slideshow_cycle_teaser_section_' + settings.vss_id).hoverIntent(mouseIn, mouseOut); |
|
136 |
} |
|
137 |
else { |
|
138 |
$('#views_slideshow_cycle_teaser_section_' + settings.vss_id).hover(mouseIn, mouseOut); |
|
139 |
} |
|
140 |
} |
|
123 | 141 |
|
124 | 142 |
// Pause on clicking of the slide. |
125 | 143 |
if (settings.pause_on_click) { |
... | ... | |
197 | 215 |
|
198 | 216 |
// These process options that look like {top:50, bottom:20} |
199 | 217 |
case "animIn": |
218 |
case "animInDelay": |
|
200 | 219 |
case "animOut": |
220 |
case "animOutDelay": |
|
201 | 221 |
case "cssBefore": |
202 | 222 |
case "cssAfter": |
203 | 223 |
case "shuffle": |
Formats disponibles : Unified diff
Weekly update of contrib modules