HTML Slides with notes
16 days ago
- #JavaScript
- #Slideshow
- #Minification
- The JavaScript code creates a simple slideshow with navigation using 'j' and 'k' keys.
- Supports optional notes for each slide, toggled with 'n' key.
- Uses `scrollIntoView()` for slide transitions, compatible since IE 8.
- Notes are synced between multiple windows using `BroadcastChannel`.
- Slides and notes are defined with simple `<div>` elements with specific classes.
- CSS ensures slides and notes fill the screen (`100vh` and `100vw`).
- Original concept based on 'minslides' by Dave Gaur.
- Minified version reduces the code to 371 bytes.