[Splitter/Resizer] A Simple and Easy Slider to Resize Two Side-by-Side Flexboxes | jquery-pane-slider

jquery pane slider is a simple jQuery slider app for resizing two side-by-side flexboxes. This mobile plugin to create a split layout that enables developers to resize two split panels by dragging the mouse or swiping with touch.

How to make use of it:

1. Insert a slider handle into your split layout as follows:

<div id="panelContainer">
  <div class="panel one">
    <div class="content">
      Panel 1 Content
    </div>
  </div>
  <div class="panel two">
    <div class="content">
      Panel 2 Content
    </div>
    <span class="slider"></span>
  </div>
</div>

2. Put the JavaScript file jquery.slider.js after jQuery.

<script src="/path/to/cdn/jquery.min.js"></script>
<script src="/path/to/local/jquery.slider.js"></script>

3. Style the split slider within the CSS.

.slider {
  z-index: 999999;
  display: block;
  position: absolute;
  width: 5px;
  background-color: #1ABC9C;
  left: 0;
  top: 0;
  bottom: 0;
  overflow: visible;
  user-select: none;
}

.slider::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 50%;
  height: 1.5rem;
  width: 0.5rem;
  background-color: #1ABC9C;
  cursor: col-resize;
}

Easy Layout Splitter/Resizer For Developer, jquery pane slider Plugin/Github

jquery-pane-slider-demo


See Demo And Download

Official Website(KurtKellens): Click Here

This superior jQuery/javascript plugin is developed by KurtKellens. For extra Advanced Usages, please go to the official website.

Related Posts

vuejs-dialog-plugin

Vuejs Lightweight Prompt Based On Promise And Confirm Dialog

VUEJS DIALOG PLUGIN is a lightweight, promise-based, prompt, and dialog-based alert. Important updates The dialog will always be resolved by an object. (ie a callback to continue…

Lightweight-Flexbox-Carousel-Plugin

Simple and Lightweight Flexbox Carousel Plugin With JavaScript | flexCarousel.js

Flexbox Responsive Slider – flexCarousel.js plugin is a simple and lightweight plug-in from Flexbox carousel ES6 JavaScript. An unofficial fork by Slick Carousel. Flex Carousel is a…

bootstrap-5-multi-level-dropdown

Multi-Level Dropdown Works With Bootstrap 5

Bootstrap 5 Multi-Level Dropdown, using the official HTML without adding additional CSS styles and classes, it’s just like the original support. Not all of the things listed…

jquery-confirmation-dialog

JQuery UI Built Dynamic Modal That Uses Bootstrap | confirm.js

confirm.js is to use confirm modal created using JQuery and Bootstrap. Put events in each custom button in your web application. Easy to implement, saves time. Requirements…

bootstrap-responsive-navbar

[Bootstrap 5] Responsive Navbar With off-canvas Display on Mobile

The Bootstrap 5-off-canvas navigation menu is a responsive navigation system that combines BS5 components outside of the canvas and navbar. Must Read: Pure CSS Mobile-friendly Responsive Table…

Extract-The-Dominant-Color-From-Image

Extract The Dominant Color From Image | jquery.primarycolor.js

Primary Color jQuery plugin that gets the base color of an image. A callback event that lets you apply RGB coloring to any HTML element is supported….