https://github.com/boompx/bpHS

jQuery Hero Slider Plugin

Boompx Hero Slider 01
Boompx Hero Slider 02
Boompx Hero Slider 03
Boompx Hero Slider 04
  • Follow @boompx
  • Star
  • Fork
  • Download
  • Issue
  •  

Getting Started

git clone https://github.com/boompx/bpHS.git

Markup

...

Usage

bpHS require the use of an id on the outermost container (.bp-hs) for slider controls to function properly.

Fire bpHS

$('.bp-hs').bpHS();

Options

The default effect/transition for bp-hs_inner__item is opacity. You can control the animation for each item via data attributes data-*.

Data attribute Description
data-transform="scale" Is used to scale elements. Add an addtional effect by using data-origin="top-(right | left)" or data-origin="bottom-(right | left)"
data-transform="rotate" Is used to rotate elements from corners based on data-origin="top-(right | left)" or data-origin="bottom-(right | left)" (required*)

Methods

Initializes the bpHS with an optional options

Name Type Default Description
activate Number 0 This event fires on bp-hs_inner__item and add is-active class to make visible/default.
touchSwipe Boolean true Allows you to drag slider items (right | left) on desktop and swipe on handheld devices. This option required TouchSwipe Jquery Plugin
nextText String null The text to display for the next control button
prevText String null The text to display for the previous control button
showControls Boolean true Show or hide all controls (next, prev and bullets)
showButtons Boolean true Show or hide next, prev only
showBullets Boolean true Show or hide bullets only
arrowKeys Boolean false Allows to navigate slider items on keypress arrow
autoPlay Boolean false Automatically cycling an item (paused on hover). If false, slider will not automatically cycle.
duration Number 5000 The amount of time to delay between automatically cycling an item.
https://github.com/boompx/bpHS

more options are coming soon...


Designed and built with all the love by Boompx
Code licensed under MIT ~ Currently v0.1.0
 
Hello!
毎日をカラフルでハッピーに

You're a creative who wants to make a living. We want to help make that easier, so you can focus on making your work.

Shop Infomation
Category!カテゴリーから探す

The Hidden Tiger Magic Lion Club

The Club

The Hidden Tiger Magic Lion Club is our local free group where young people can learn how to code, develop websites, apps, programs, games and more.

The HTML Club is led by volunteers and it depends on the community to run because it is absolutely free.

To The Parents

All Parents must attend their first child's first class to sign the parental permission.

Please be advised that places will be limited to ticket holders only: One Ticket Per Child.

Location and Hours

Dublin, Ireland.
Monday to Thursday 4pm to 6pm,
Friday and Saturday 2pm to 4pm.

@copyright by Marija Grubesa, 2016.

The Hidden Tiger Magic Lion Club

The Club

The Hidden Tiger Magic Lion Club is our local free group where young people can learn how to code, develop websites, apps, programs, games and more.

The HTML Club is led by volunteers and it depends on the community to run because it is absolutely free.

To The Parents

All Parents must attend their first child's first class to sign the parental permission.

Please be advised that places will be limited to ticket holders only: One Ticket Per Child.

Location and Hours

Dublin, Ireland.
Monday to Thursday 4pm to 6pm,
Friday and Saturday 2pm to 4pm.

@copyright by Marija Grubesa, 2016.