Socket
Socket
Sign inDemoInstall

saslider

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    saslider

Super Awesome Slider - A jQuery slider plugin


Version published
Maintainers
1
Created

Readme

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

Last updated on 30 May 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc