By Brian Brackens, Air Force Life Cycle Management Center Public Affairs
/ Published April 30, 2021
Jennifer Morgan, the Deputy Program Executive Officer for Bombers with sons Thomas (left), and Grayson (right), both seven years old.
');
$slider
.carouFredSel({
auto: false,
responsive: true,
swipe: { onTouch: true, onMouse: false },
prev: $wrap.find('.pager-left'),
next: $wrap.find('.pager-right'),
scroll: {
fx: "crossfade",
items: 1,
onBefore: function (data) {
$(data.items.old[0]).removeClass('current');
},
onAfter: function (data) {
$slider.find('video').each(function () {
$(this)[0].player.pause();
});
$(data.items.visible[0]).addClass('current');
}
},
onCreate: function (data) {
$(data.items[0]).addClass('current');
}
});
};
//init
$('.slider').each(function () {
var $slider = $(this);
var $slides = $slider.find('.slide');