Skip to content

benolot/Cha-Cha-Slider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authors Note

This was kind of a rough idea I had over a couple of nights, and was never refined into a production ready library. The repository has been left here, without documentation or promise of further updates. I may revist this one day, but for now consider this an abandoned project. I never got around to setting up branches, but ideally I would have had a develop branch, with feature branches merging into this before moving onto production, and then being released. If anyone would like to inherit this project and finish it off, let me know, or submit a PR.

If you really want to use this, see the example.


Cha-Cha-Slider

Take it back now y'all

Setup

npm install, run gulp, and then include the dist/js/main.min.js script and the dist/styles/app.min.css default theme.

Todo list

  • Create Contributor Guide
  • Documentation
  • Implement API To library for programatic controlling
  • Object Orientated
  • Remove gap between slide contents and slide label
  • Cleanup the code
  • Add mobile support for default theme
  • Turn features (Progress, auto scroll, etc) on and off via customisation
  • When slider is focused, allow arrow keys for scrolling through slides (left to right)
  • Allow any size image to be used
  • Rename CSS Classes to be Cha Cha Slider specific
  • Add slideBack() function
  • Add slideForward() function
  • Add jumpSlide() function
  • Add custom text field to top right to allow for copyright info, etc
  • Set the current slide element via the JS and not manually
  • Add the controls via the JS and not manually
  • Initial function to run when page is loaded that setups library
  • Wait till all images are complete before initalising

Version/Changelog

Version 0.0.4

  • Initalisation function on page ready, waiting till after images loaded

Version 0.0.3.1

  • Fixed animation class being a generic name

Version 0.0.3

  • Added next and previous controls via the library rather than user
  • Switched the container to an ID rather than a class

Version 0.0.2

  • Added the slide count & current slide into top left corner

Version 0.0.1

  • Launched

About

Take it back now yall

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published