Carousel Slider Using owl.carousel.js
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 - 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'); }) });
Developer | Alen |
Username | Alen |
Uploaded | September 07, 2022 |
Rating | 3 |
Size | 2,495 Kb |
Views | 62,744 |
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!
Name | Size |
Animation | 10,063 Kb |
CSS Hover Effects | 3,613 Kb |
Arrow | 33,316 Kb |
Listing Style | 1,919 Kb |
Simple Form in Table Layout | 2,012 Kb |
A Pen by Alen | 71,039 Kb |
Ribbon CSS Right | 1,776 Kb |
Efficient Method for Embedding YouTube Videos | 2,558 Kb |
Menu Innerpage Sample | 47,168 Kb |
Sidebar Form | 1,942 Kb |
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!
Name | Username | Size |
Count up | Alanshortis | 2,391 Kb |
Slider for stackoverflow | KKOKU | 3,222 Kb |
Day 1 - Portfolio | Chpecson | 3,532 Kb |
Fluid Layout with Float | Jxqr97 | 1,785 Kb |
Sexy Social Buttons | Ipiyale | 2,226 Kb |
RPG Style Text Dialogue | Odylic | 2,635 Kb |
Parallax-ish Sliding Content | Jdsteinbach | 2,748 Kb |
Playing with transition timing | Mattgrosswork | 1,993 Kb |
Pure CSS Read More Arrow | Zephyr | 1,747 Kb |
Canvas Fireworks | Jackrugile | 6,200 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!