web-html5-scripts/templates-and-navigation/blooger-page/js/main.js

20 lines
521 B
JavaScript
Raw Normal View History

$(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')]
});
})