web-html5-scripts/templates-and-navigation/blooger-page/js/main.js
2020-02-03 20:51:43 +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')]
});
})