Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
bare-bones-slider
Advanced tools
Bare Bones Slider is a minimalistic jQuery slider. The biggest strength of this slider isn't what it does; it's what it doesn't do. By default, there's very little bloat so developers can focus on adding new functionality without having to undo the plugin
Description: jQuery slider with little bloat but lots of customization.
Author: Richard Hung
More documentation and examples: http://www.bbslider.com
Install it using Bower:
$ bower install bare-bones-slider
Install it using npm:
$ npm install bare-bones-slider
Or download as ZIP.
Bare Bones slider has a .js and a .css file in addition to the jQuery library. Optionally, you can include the easing plugin for animations.
<link type="text/css" href="css/jquery.bbslider.css" rel="stylesheet" media="screen" />
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="js/jquery.easing.1.3.js"></script>
<script type="text/javascript" src="js/jquery.bbslider.min.js"></script>
Create a container for the slider and children for the panels.
<div class="slider">
<div><img src="images/image-1.jpg" alt="first image" /></div>
<div><img src="images/image-2.jpg" alt="second image" /></div>
<div><img src="images/image-3.jpg" alt="third image" /></div>
<div><img src="images/image-4.jpg" alt="forth image" /></div>
<div><img src="images/image-5.jpg" alt="fifth image" /></div>
</div>
Call the slider after the HTML markup and required files.
$('.slider').bbslider({
auto: true,
timer: 3000,
loop: true
});
FAQs
Bare Bones Slider is a minimalistic jQuery slider. The biggest strength of this slider isn't what it does; it's what it doesn't do. By default, there's very little bloat so developers can focus on adding new functionality without having to undo the plugin
The npm package bare-bones-slider receives a total of 1 weekly downloads. As such, bare-bones-slider popularity was classified as not popular.
We found that bare-bones-slider demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.