From a0b380c3049345ba70e7ae31917a210783ae814f Mon Sep 17 00:00:00 2001 From: Andrew Lorimer Date: Thu, 23 Jun 2022 20:25:33 +1000 Subject: [PATCH 1/1] initialise listeners in JS, set heights at runtime, add readme --- README.md | 21 +++++++++++++++++++++ slideshow.css | 19 ++++++++++--------- slideshow.html | 41 ++++++++++++++++++++++------------------- slideshow.js | 40 ++++++++++++++++++++++++++++++++++++++-- test-img/1.jpg | Bin 33260 -> 3217481 bytes test-img/2.jpg | Bin 51851 -> 3547180 bytes test-img/3.jpg | Bin 60405 -> 811614 bytes 7 files changed, 91 insertions(+), 30 deletions(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..383134a --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# Simple JavaScript Slideshow + +This is a very basic slideshow made in JavaScript - no jQuery or other libraries. + +See slideshow.html for an example. To use, insert the HTML structure and link slideshow.css and slideshow.js. + +## Features + +- Auto advance (default 3 seconds, but you can change `INTERVAL` in slideshow.js or in the HTML) +- Pause on hover and manual pause +- Scroll through slides with buttons or dot indicator at bottom +- Captions +- Semantic HTML (each slide is a `
` consisting of an `` and `
`) +- Sensible behaviour when JS is disabled (static first slide) +- Works with different sizes/aspect ratios and different length captions (set width or max-width of outer div, then slide heights are driven by the the height of the first slide at full width) +- Works well at all screen sizes and can be styled with basic CSS + +## Todo + +- Initialise slideshows with JS object +- Support for multiple slideshows per page diff --git a/slideshow.css b/slideshow.css index 552d5fb..3cd4ce0 100644 --- a/slideshow.css +++ b/slideshow.css @@ -23,9 +23,11 @@ figure.slide:first-child { figure.slide { /* Position slides absolutely to allow overlapping */ + text-align: center; position: absolute; top: 0; left: 0; + width: 100%; margin: 0; /* Slides start at 0 opacity */ opacity: 0; @@ -46,14 +48,8 @@ figure.slide.active { -moz-transition: opacity 1s ease; } -figure.slide *, -div.slideshow div#controls { - width: 100%; -} - -figure.slide figcaption { - height: var(--sl-cap); - text-align: center; +figure.slide img { + max-width: 100%; } @@ -76,7 +72,6 @@ figure.slide figcaption { top: calc(50% - calc(var(--sl-cap) + var(--sl-dots) + 50px) / 2); width: auto; padding: 16px; - border-radius: 0 3px 3px 0; } #state { @@ -90,6 +85,11 @@ figure.slide figcaption { border-radius: 3px; } +#prev { + left: 0; + border-radius: 0 3px 3px 0; +} + #next { /* Position next button on right */ right: 0; @@ -116,6 +116,7 @@ div.slideshow:hover #state { div.slideshow div#controls { text-align: center; + width: 100%; } div.slideshow div#controls span { diff --git a/slideshow.html b/slideshow.html index a581b1f..8896456 100644 --- a/slideshow.html +++ b/slideshow.html @@ -6,31 +6,34 @@ -
+
+
-
- -
This is a long caption yeah yeah yeah
-
+
+ +
This is a caption
+
-
- -
Shorter caption
-
+
+ +
This is a long caption which will probably span over multiple lines (depending on the width of the slideshow). You will see that that the height of the image adjusts to accommodate the taller caption.
+
-
- -
Caption 3
-
+
+ +
Caption 3
+
- - - ⏸︎ +
+ + + + ⏸︎
- - - + + +
diff --git a/slideshow.js b/slideshow.js index f73a888..80614c9 100644 --- a/slideshow.js +++ b/slideshow.js @@ -7,6 +7,9 @@ const STATE_PLAY = "⏵︎"; let currentSlide = -1; // Elements + +let slideshow = document.getElementsByClassName("slideshow")[0]; +let container = document.getElementsByClassName("slides")[0]; let slides = document.getElementsByClassName("slide"); let dots = document.getElementsByClassName("dot"); let stateBtn = document.getElementById("state"); @@ -16,21 +19,37 @@ let maxIndex = slides.length - 1; var timeout; var paused = false; +// Set up event listeners +window.addEventListener("resize", setHeights, true); +slideshow.addEventListener("mouseenter", mouseEnter, true); +slideshow.addEventListener("mouseleave", mouseLeave, true); +document.getElementById("prev").addEventListener("click", prevSlide); +document.getElementById("next").addEventListener("click", nextSlide); +document.getElementById("state").addEventListener("click", changeState); +if (dots.length - 1 != maxIndex) { + console.log("Number of control dots does not match number of slides"); +} +for (i = 0; i <= dots.length - 1; i++) { + dots[i].addEventListener("click", goToSlide); + dots[i].slide = i; +} + + // Start the slideshow playSlideshow(); // Recursive function that advances the slide and then calls itself with a // delay function playSlideshow() { + setHeights(); nextSlide(); timeout = setTimeout(playSlideshow, INTERVAL); } // Change the slide to a given index function setSlide(slide) { - if (slide < 0 || slide > maxIndex) { - console.log("Attempted to change to slide outside range"); + console.log("Attempted to change to slide outside range (" + slide.toString() + ")"); return; } @@ -47,6 +66,18 @@ function setSlide(slide) { currentSlide = slide; } +function setHeights() { + var firstSlideHeight = slides[0].offsetHeight; + // Set heights (based on height of first slide with 100% width) + for (i = 1; i <= maxIndex; i++) { + var captionHeight = slides[i].getElementsByTagName("figcaption")[0].offsetHeight; + // Set figure height + slides[i].style.height = slides[0].offsetHeight.toString() + "px"; + // Set image height + slides[i].getElementsByTagName("img")[0].style.height = (firstSlideHeight - captionHeight).toString() + "px"; + } +} + function nextSlide() { // Go to the next slide if (currentSlide == maxIndex) { @@ -67,6 +98,11 @@ function prevSlide() { } } +function goToSlide(evt) { + // Go to a slide specified by the event (called when the dots are clicked) + setSlide(evt.currentTarget.slide); +} + function mouseEnter() { // Pause the slideshow clearTimeout(timeout); diff --git a/test-img/1.jpg b/test-img/1.jpg index bab22804e477b3523473355ad7ea21c66fdce5d4..ffff16dc7f575b310dcd4c19aea3948ff5602db8 100644 GIT binary patch literal 3217481 zcmb@tc{p3!`!^iK9BN7=N=t+ip%Ft-M~x9-+n?*ZX_^c%Q$XXRW=i^||iPz1O<;z1Ow(wf24Q ze^>rp2Pn8=U9bQV5fK3Humb+w6jgU|a0vJEIg531cRC~h08vm}M0~QS0ss(y{z8(E zv%MxEFi2DKH-HEL1`q@211w1q$q9B|UhaVZZTYf%sC`%#4gWLN|5ok)pOB$YlOqnP zZ-*@`A|dGl03Z@_h-EKbNcazqI>ajE*#E-m|G`Oz1|G^w{)5l`H*Wkdo&UxI|E1&S z<8Y`WJjAx={ufOCU-17s@1Y7nECTbN?*DGNKutZg9{_M60095->3@&@Kfd}OnHc2I z1e3#i(fB{IpX&hti_eGhlK+vBs{nxeIRF53?SEv5S^(e(4FKqW5|NU0@xSK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