1# Simple JavaScript Slideshow 2 3This is a very basic slideshow made in JavaScript - no jQuery or other 4libraries. 5 6See slideshow.html for an example. To use, insert the HTML structure and link 7slideshow.css and slideshow.js. 8 9## Features 10 11- Auto advance (default 3 seconds, but you can change `INTERVAL` in 12 slideshow.js or in the HTML) 13- Pause on hover and manual pause 14- Scroll through slides with buttons or dot indicator at bottom 15- Captions 16- Semantic HTML (each slide is a `<figure>` consisting of an `<img>` and 17`<figcaption>`) 18- Sensible behaviour when JS is disabled (static first slide) 19- Works with different sizes/aspect ratios and different length captions (set 20 width or max-width of outer div, then slide heights are driven by the the 21 height of the first slide at full width) 22- Works well at all screen sizes and can be styled with basic CSS 23 24## Todo 25 26- Initialise slideshows with JS object 27- Support for multiple slideshows per page 28- Fix issue where images appear small when advancing slideshow manually without 29 first automatically advancing