Carousel Slider Using owl.carousel.js

Developer
Size
2,495 Kb
Views
62,744

How do I make an carousel slider using owl.carousel.js?

Using Bootstrap, Jquery and owl.carousel.js to Create Carousel Slider. What is a carousel slider using owl.carousel.js? How do you make a carousel slider using owl.carousel.js? This script and codes were developed by Alen on 07 September 2022, Wednesday.

Carousel Slider Using owl.carousel.js Previews

Carousel Slider Using owl.carousel.js - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Carousel Slider Using owl.carousel.js</title> <link rel='stylesheet prefetch' href='http://owlgraphic.com/owlcarousel/owl-carousel/owl.carousel.css'>
<link rel='stylesheet prefetch' href='http://owlgraphic.com/owlcarousel/owl-carousel/owl.theme.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="demo"> <div class="container"> <div class="row"> <div class="span12"> <div id="owl-demo" class="owl-carousel"> <div class="item"><h1>1</h1></div> <div class="item"><h1>2</h1></div> <div class="item"><h1>3</h1></div> <div class="item"><h1>4</h1></div> <div class="item"><h1>5</h1></div> <div class="item"><h1>6</h1></div> <div class="item"><h1>7</h1></div> <div class="item"><h1>8</h1></div> <div class="item"><h1>9</h1></div> <div class="item"><h1>10</h1></div> <div class="item"><h1>11</h1></div> <div class="item"><h1>12</h1></div> <div class="item"><h1>13</h1></div> <div class="item"><h1>14</h1></div> <div class="item"><h1>15</h1></div> <div class="item"><h1>16</h1></div> </div> <div class="customNavigation"> <a class="btn prev">Previous</a> <a class="btn next">Next</a> <a class="btn play">Autoplay</a> <a class="btn stop">Stop</a> </div> </div> </div> </div> <script src='http://owlgraphic.com/owlcarousel/assets/js/bootstrap-collapse.js'></script>
<script src='http://owlgraphic.com/owlcarousel/assets/js/bootstrap-transition.js'></script>
<script src='http://owlgraphic.com/owlcarousel/assets/js/bootstrap-tab.js'></script>
<script src='http://owlgraphic.com/owlcarousel/assets/js/google-code-prettify/prettify.js'></script>
<script src='http://owlgraphic.com/owlcarousel/assets/js/application.js'></script>
<script src='http://owlgraphic.com/owlcarousel/assets/js/jquery-1.9.1.min.js'></script>
<script src='http://owlgraphic.com/owlcarousel/owl-carousel/owl.carousel.js'></script> <script src="js/index.js"></script>
</body>
</html>

Carousel Slider Using owl.carousel.js - Script Codes CSS Codes

 #owl-demo .item{ background: #3fbf79; padding: 30px 0px; margin: 10px; color: #FFF; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; text-align: center; } .customNavigation{ text-align: center; } .customNavigation a{ -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
.btn { display: inline-block; padding: 4px 12px; margin-bottom: 0; font-size: 16px; line-height: 22px; text-align: center; vertical-align: middle; cursor: pointer; background-color: #f3f3f3; color: #3fbf79; border: 0px solid #cccccc; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
}

Carousel Slider Using owl.carousel.js - Script Codes JS Codes

 $(document).ready(function() { var owl = $("#owl-demo"); owl.owlCarousel({ items : 10, //10 items above 1000px browser width itemsDesktop : [1000,5], //5 items between 1000px and 901px itemsDesktopSmall : [900,3], // 3 items betweem 900px and 601px itemsTablet: [600,2], //2 items between 600 and 0; itemsMobile : false // itemsMobile disabled - inherit from itemsTablet option }); // Custom Navigation Events $(".next").click(function(){ owl.trigger('owl.next'); }) $(".prev").click(function(){ owl.trigger('owl.prev'); }) $(".play").click(function(){ owl.trigger('owl.play',5000); }) $(".stop").click(function(){ owl.trigger('owl.stop'); }) });
Carousel Slider Using owl.carousel.js - Script Codes
Carousel Slider Using owl.carousel.js - Script Codes
Home Page Home
Developer Alen
Username Alen
Uploaded September 07, 2022
Rating 3
Size 2,495 Kb
Views 62,744
Do you need developer help for Carousel Slider Using owl.carousel.js?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Alen (Alen) Script Codes
Create amazing sales emails with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!