jQuery Vertical Content Slider From Top to Bottom

Category: Slideshow | September 22, 2019
jQuery Vertical Content Slider
Author: iannacone
Official Page: Go to Website
Last Update:November 23, 2019

Do you want to build a simple and lightweight slider for text? This jQuery vertical Content slider comes with Next/Pre buttons to slide the HTML element from top to bottom.

It allows you to add the image, video, content and any of HTML element. It is a touch-enabled slider with support of cross-platform.

The “Carousel Vertical” plugin is base on div HTML element which enables you to add content and slide it from bottom to top or top to bottom by using the navigation buttons.

You can easily create a nice and clean a responsive vertical carousel for your any kind of project. It has the built-in swipe and touches support function to navigate the slider items.

In addition, by placing any of HTML elements such as video, images, text, iframe, etc you can easily create the slider without code on from scratch.

Basically, this slider is inspired to Owl Carousel 2 but it works vertically.

How to Make jQuery Vertical Content Slider

You can download the source files and then add the required jQuery and CSS files into your project. You need to include the following files.

<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>

<!-- Carousel Vertical CSS -->
<link rel="stylesheet" href="css/carousel-vertical.css">

<!-- Carousel Vertical JS -->
<script src="js/carousel-vertical.js"></script>

After that, you need to create the HTML which is very easy and simple. All you need to define the wrapper element cv-carousel and define the list of child divs with a class item.

<div class="cv-carousel">
   <div class="item">
     you can add your content here.
   <div class="item">
      It allow you to add a HTML element such as H, P and Span etc.
   <div class="item">
      You can also add a video.
   <div class="item">
    	Or can add the image, links etc.

By simply initialize jQuery document ready function, you can activate the vertical text slider.



To move the slider’s item programmatically use the following syntax.

$('.cv-carousel').trigger('goTo', [5]); 
$('.cv-carousel').carouselVertical().trigger('goTo', [5]);

That’s it. The slider doesn’t have too many options and the setting is because to keep it simple. If you want a slider which doesn’t overload your site then this could be a good option.

Also, you can use this vertical slider if you don’t need too many options but just want to showcase the large content in a good manner.

You May Also Like

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.