From c2f92a5b363a6b5892c273a0e3602b796b1d509b Mon Sep 17 00:00:00 2001
From: Venkatsai Bellala <42386481+vskbellala@users.noreply.github.com>
Date: Fri, 10 Mar 2023 17:44:34 -0500
Subject: [PATCH] library updates, redo photo slideshow
---
docs/index.html | 17 +++++++++--------
docs/scripts.js | 36 ++++++++++++++++++++++++++----------
2 files changed, 35 insertions(+), 18 deletions(-)
diff --git a/docs/index.html b/docs/index.html
index edfed6f..a2aee9b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -8,8 +8,8 @@
Brown Solar Charger
-
-
+
+
@@ -51,10 +51,10 @@ The Solar Charger
-
+
-
+
@@ -85,13 +85,14 @@ The Solar Charger
setTimeout(loadJSON, 10, 'data/monthData', call_plots_month, { 'up': upTime * 1000, 'down': downTime * 1000 });
//Carousel stuff
const img = document.getElementById('stn');
- const rightBtn = document.getElementById('right-btn');
- const leftBtn = document.getElementById('left-btn');// Images are from unsplash
+ // const rightBtn = document.getElementById('right-btn');
+ // const leftBtn = document.getElementById('left-btn');// Images are from unsplash
// img.src = pictures[0];
img.style.backgroundImage = 'url('+pictures[0]+')';
let position = 0;
- rightBtn.addEventListener("click", moveRight);
- leftBtn.addEventListener("click", moveLeft);
+ // rightBtn.addEventListener("click", moveRight);
+ // leftBtn.addEventListener("click", moveLeft);
+ advanceP();