Skip to content

Instantly share code, notes, and snippets.

@benhowdle89
Last active December 16, 2015 07:29
Show Gist options
  • Save benhowdle89/5399314 to your computer and use it in GitHub Desktop.
Save benhowdle89/5399314 to your computer and use it in GitHub Desktop.
Slider desires
Carousel/slider/etc...
What are you main feature requests for a simplistic slider?
ie.
Animated sliding?
Easing?
Pausing for the user?
Controls?
An API?
Events?
Touch?
Please, just list your wants in the comments!
@sturobson
Copy link

I guess 'nowadays', 'touch' would be important :)

@tarnfeld
Copy link

Exactly what's offered in jQuery Tools but with a slightly less confusing API and better documentation :-)

@ryan2611
Copy link

Animated sliding for me.

@christianboyle
Copy link

Most important would probably be "scroll prevention", like http://swipejs.com

Responsive, of course.

It'd be nice to have some picturefill.js support as well.

@sebnitu
Copy link

sebnitu commented Apr 16, 2013

I'd break features out in this way:

Usability Options

  • Auto Slide (on or off)
  • Pause slide on hover
  • Stop slide on hover

Controls

  • Left
  • Right
  • List controls (e.g. 1, 2, 3...) or dot nav but markup output should be style agnostic.
  • Other options are pause, stop, play but these are really kind of pointless.

Mobile/touch features

  • Responsive
  • Touch enabled

Animations

  • Really this can be whatever you have time to include. But ideally a dev should be able to extend animations themselves for whatever they want. Maybe the built in ones would be sliding and fading?

@sturobson
Copy link

no styling pre-defined styling other than browser

@joshualong
Copy link

I've noticed that most people have a hard time handling typography overlaying a slider in a well-designed manner.

@sturobson
Copy link

keyboard a11y

@bilalkhettab
Copy link

responsive, keyboard controls... That's all I can think of :)

@lukewhitehouse
Copy link

I'm partial too some nice CSS transitions myself. Along with everything everyone has said about Responsive features such as touch control and ofcourse Accessibility is key.

I quite like Nivoslider myself, although I'd prefer something much smaller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment