MCPcopy Index your code
hub / github.com/bqworks/slider-pro

github.com/bqworks/slider-pro @1.6.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.6.0 ↗ · + Follow
109 symbols 246 edges 25 files 0 documented · 0% updated 4mo ago★ 86734 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Slider Pro - jQuery slider plugin

A modular, responsive and touch-enabled jQuery slider plugin that enables you to create elegant and professionally looking sliders.

Main features:

  • modular architecture
  • responsive
  • touch-swipe
  • CSS3 transitions
  • animated layers (and static)
  • infinite scrolling
  • carousel layout
  • different sized images
  • full width and full window support
  • thumbnails
  • deep linking
  • lazy loading
  • retina-enabled
  • fade effect
  • full-screen support
  • CSS-only navigation controls (no graphics) for easy customization
  • video support
  • conditional images (different images for different screen sizes)
  • JavaScript breakpoints

Check the plugin's presentation page for examples and more details of the available features.

Getting started

1. Get a copy of the plugin

You can fork or download the plugin from GitHub, or you can install it through npm or bower.

$ npm install slider-pro
$ bower install slider-pro

2. Load the required files

Inside the page's head tag include the slider's CSS file.

<link rel="stylesheet" href="https://github.com/bqworks/slider-pro/raw/1.6.0/dist/css/slider-pro.min.css"/>

In the page's footer, just before </body>, include the required JavaScript files.

<script src="https://github.com/bqworks/slider-pro/raw/1.6.0/libs/js/jquery-1.11.0.min.js"></script>
<script src="https://github.com/bqworks/slider-pro/raw/1.6.0/dist/js/jquery.sliderPro.min.js"></script>

3. Create the HTML markup











            <img class="sp-image" src="https://github.com/bqworks/slider-pro/raw/1.6.0/path/to/image1.jpg"/>










Lorem ipsum dolor sit amet










            <h3 class="sp-layer">Lorem ipsum dolor sit amet</h3>


consectetur adipisicing elit











The structure you see in the code above (slider-pro > sp-slides > sp-slide) as well as the class names used are required.

If you add an image to the slide and you want it to behave like a background image you need to add the sp-image class to it.

More about the supported content (i.e., layers, html, video) in the Modules doc.

4. Instantiate the slider

<script type="text/javascript">
    jQuery( document ).ready(function( $ ) {
        $( '#my-slider' ).sliderPro();
    });
</script>

Slider Pro has 50+ options which you can pass to the slider when you instantiate it. More about this in the JavaScript API doc.

Detailed usage instructions

Support

If you found a bug or have a feature suggestion, please submit it in the Issues tracker.

If you need help with implementing the slider in your project, I recommend using Stack Overflow instead of the Issues tracker.

License

The plugin is available under the MIT license.

Core symbols most depended-on inside this repo

l
called by 33
libs/fancybox/jquery.fancybox.pack.js
getScalar
called by 31
libs/fancybox/jquery.fancybox.js
w
called by 12
libs/fancybox/jquery.fancybox.pack.js
getValue
called by 11
libs/fancybox/jquery.fancybox.js
q
called by 10
libs/fancybox/jquery.fancybox.pack.js
isString
called by 10
libs/fancybox/jquery.fancybox.js
E
called by 7
libs/fancybox/jquery.fancybox.pack.js
isPercentage
called by 7
libs/fancybox/jquery.fancybox.js

Shape

Function 109

Languages

TypeScript100%

Modules by API surface

libs/jquery-1.11.0.min.js76 symbols
libs/fancybox/jquery.fancybox.js11 symbols
libs/fancybox/jquery.fancybox.pack.js9 symbols
src/js/jquery.sliderPro.video.js8 symbols
src/js/jquery.sliderPro.core.js2 symbols
src/js/jquery.sliderPro.thumbnails.js1 symbols
src/js/jquery.sliderPro.layers.js1 symbols
libs/fancybox/helpers/jquery.fancybox-media.js1 symbols

For agents

$ claude mcp add slider-pro \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact