changes 15012020 slider stopOnHover

This commit is contained in:
merdiano 2020-01-15 18:03:41 +05:00
parent b248dfd3e8
commit 490364939e
2 changed files with 18 additions and 23 deletions

View File

@ -81,28 +81,6 @@
<script src="{{asset('static/js/bootstrap.min.js')}}"></script>
<script src="{{asset('js/app.js')}}"></script>
<script>
$(document).ready(function () {
$("#owl-demo").owlCarousel({
pagination: false,
navigation : true, // Show next and prev buttons
slideSpeed : 300,
paginationSpeed : 400,
singleItem:true,
autoPlay: true,
stopOnHover: true,
// "singleItem:true" is a shortcut for:
// items : 1,
// itemsDesktop : false,
// itemsDesktopSmall : false,
// itemsTablet: false,
// itemsMobile : false
});
});
</script>
<script>
window.onscroll = function() {scrollFunction()};

View File

@ -180,7 +180,24 @@ setInterval(function () {document.getElementById("nextq").click();}, 4500);
<script>
$(document).ready(function() {
var owl = $("#owl-demo");
$("#owl-demo").owlCarousel({
pagination: false,
navigation : true, // Show next and prev buttons
slideSpeed : 300,
paginationSpeed : 400,
singleItem:true,
autoPlay: true,
stopOnHover: true,
// "singleItem:true" is a shortcut for:
// items : 1,
// itemsDesktop : false,
// itemsDesktopSmall : false,
// itemsTablet: false,
// itemsMobile : false
});
// Custom Navigation Events
$(".next").click(function(){