Socket
Book a DemoInstallSign in
Socket

saslider

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

saslider

Super Awesome Slider - A jQuery slider plugin

3.0.1
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

saSlider - Super Awesome slider

DEMO PAGE

Welcome to saSlider, a slider that I wrote to get a very unique transition effect between slides, while also maintain a super rubust & effective code at minimum lines of code, like always. This slider could be used for fullscreen effect or any other size and will orient the sliders automatically, so the images will always be centered no matter what.

HTML markup

<div class="slider">
    <a class="arrow next"></a>
    <a class="arrow prev"></a>
    <ul>
        <li class="active">
            <img src="" />
        ... <!-- you slide content here -->
        </li>
    </ul>
</div>

Javascript

$('.slider').saSlider(settings);

plugin settings object

loop       : true,      // Allows navigation between first and last images
indicators : true,      // Renderes a UI which shows the number of slides and marks the currently viewed one
keys       : {
    prev  : '37, 80',   // keycodes to navigate to the previous image, default: Left arrow (37), 'p' (80)
    next  : '39, 78'    // keycodes to navigate to the next image, default: Right arrow (39), 'n' (78)
}

FAQs

Package last updated on 30 May 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.