web-html5-scripts/template-blooger-page/js/main.js
2020-01-06 13:40:18 +01:00

20 lines
521 B
JavaScript

$(document).ready(function(){
$navigation = $('.navigation');
$toggleCollapse = $('.toggle-collapse');
/* click event on toggle menu*/
$toggleCollapse.click(function(){
$navigation.toggleClass('collapse');
})
// owl-carousel for blog
$('.owl-carousel').owlCarousel({
loop: true,
autoplay: false,
autoplayTimeout: 3000,
dots: false,
nav: true,
navText: [$('.owl-navigation .owl-nav-prev'),$('.owl-navigation .owl-nav-next')]
});
})