Slide Projection - Its a image slider which is built in pure vanilla js
Visit https://slide-projection.herokuapp.com
CSS production version, or the development version
JS production version or the development version
- Next / Prev Controls
- Description: Set inside / outside the container, Create multiple controls for single slider.
- Settings:
data-sp-prevselector id or classdata-sp-nextselector id or class
- Demo: Link
- Pause on Hover Controls
- Description: Slider pause on mouse enter and play on leave.
- Settings:
data-sp-pause-on-hovertrue or false, set selector id or class
- Demo: Link
- Caption Controls
- Description: slide caption at bottom and customization.
- Settings:
- Default template:
{{slideNum}} / {{slideCount}} slideNumActive slide numberslideCountTotal number of slides- Add new empty element with this class
sp-captionname it will show the caption - Customization properties:
data-sp-captionselector id or classdata-sp-caption-templateSet you own template
- Default template:
- Demo: Link
- Manual Fx Controls
- Description: Slide in / out effect customization, adding custom class.
- Settings:
data-sp-fxdefault will befade, another isslidethis will slide right to left and can set own customize class name directlydata-sp-fx-nextdefault will benext-fadenext event class effectdata-sp-fx-prevdefault will beprev-fadeprev event class effectdata-sp-fx-activedefault will beactive-fadeactive event class effectdata-sp-fx-initialdefault will beinitial-fadeinitial event class effect
- Demo: Link
- Overlay Options
- Description: title and description of slide customization.
- Settings:
- Add new empty element with this class
sp-overlayname it will show the overlay text from passed below property - below properties need to present in
sp-slideclass data-sp-titleTitle of the slidedata-sp-descDescription of the slidedata-sp-overlay-templatethis property need to be added insp-slideshowclass, set template as we need using keywords{{title}},{{desc}},{{slideNum}}and{{slideCount}}
- Add new empty element with this class
- Demo: Link
- Speed Option
- Description: set interval time in milliseconds.
- Settings:
data-sp-speedset milliseconds
- Demo: Link
- Auto Play Option
- Description: set auto play on / off slider.
- Settings:
data-sp-auto-playtrue or false
- Demo: Link
- Multiple Slideshow in Single Page
- Description: Can define multiple slider sin a single page without any conflict.
- Settings:
- there are no need to setting anything
- Demo: above almost demo examples have doubled sliders.
I am really poor in CSS, so there will be most of issues, will cover as soon as possible.
I am open to accept suggestion and solutions, please add issues Issues and will try to resolve as soon as possible.