map and footer
This commit is contained in:
@@ -52,13 +52,27 @@ function notes() {
|
||||
}
|
||||
|
||||
function slide() {
|
||||
var $slide = $('.__slide');
|
||||
var $slide = $('main .__slide');
|
||||
$slide.each(function() {
|
||||
$(this).flickity({
|
||||
cellAlign: 'left',
|
||||
pageDots: false
|
||||
pageDots: false,
|
||||
contain: true
|
||||
})
|
||||
});
|
||||
|
||||
var $footer_slide = $('footer .__slide');
|
||||
$footer_slide.each(function() {
|
||||
$(this).flickity({
|
||||
cellAlign: 'left',
|
||||
pageDots: false,
|
||||
autoPlay: true,
|
||||
pauseAutoPlayOnHover: false,
|
||||
contain: true,
|
||||
prevNextButtons: false,
|
||||
})
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function burger() {
|
||||
|
||||
Reference in New Issue
Block a user