diff --git a/css/about.css b/css/about.css index e1f604f..d4afcc8 100644 --- a/css/about.css +++ b/css/about.css @@ -104,6 +104,7 @@ body { padding-left: 50px; padding-right: 50px; margin-bottom: 50px; + background-image: none; } .aboutBox{ diff --git a/css/features.css b/css/features.css index 473fece..4fbe204 100644 --- a/css/features.css +++ b/css/features.css @@ -105,6 +105,7 @@ body { padding-left: 50px; padding-right: 50px; margin-bottom: 50px; + background-image: none; } .aboutBox{ diff --git a/css/style.css b/css/style.css index 59ad1bc..3918af0 100644 --- a/css/style.css +++ b/css/style.css @@ -235,7 +235,7 @@ h1 { margin-top: 50px; /*adding background img*/ background: #180410; - background-image: url(assets/images/formbgi.jpg); + background-image: url(../assets/images/formbgi.jpg); background-size: contain; background-repeat: no-repeat; height: auto; diff --git a/js/script.js b/js/script.js index 984d4b7..f596b52 100644 --- a/js/script.js +++ b/js/script.js @@ -878,43 +878,43 @@ document.addEventListener("ContentLoaded", () => { }); function changeToGif1() { - document.getElementById('image1').src = 'assets/images/features/Conic_1.gif'; + document.getElementById('image1').src = '../assets/images/features/Conic_1.gif'; } function changeToStatic1() { - document.getElementById('image1').src = 'assets/images/features/Conic_1.jpg'; + document.getElementById('image1').src = '../assets/images/features/Conic_1.jpg'; } function changeToGif2() { - document.getElementById('image2').src = 'assets/images/features/Conic_2.gif'; + document.getElementById('image2').src = '../assets/images/features/Conic_2.gif'; } function changeToStatic2() { - document.getElementById('image2').src = 'assets/images/features/Conic_2.jpg'; + document.getElementById('image2').src = '../assets/images/features/Conic_2.jpg'; } function changeToGif3() { - document.getElementById('image3').src = 'assets/images/features/Radial_01.gif'; + document.getElementById('image3').src = '../assets/images/features/Radial_01.gif'; } function changeToStatic3() { - document.getElementById('image3').src = 'assets/images/features/Radial_01.jpg'; + document.getElementById('image3').src = '../assets/images/features/Radial_01.jpg'; } function changeToGif4() { - document.getElementById('image4').src = 'assets/images/features/Radial_02.gif'; + document.getElementById('image4').src = '../assets/images/features/Radial_02.gif'; } function changeToStatic4() { - document.getElementById('image4').src = 'assets/images/features/Radial_02.jpg'; + document.getElementById('image4').src = '../assets/images/features/Radial_02.jpg'; } function changeToGif5() { - document.getElementById('image5').src = 'assets/images/features/Linear_01.gif'; + document.getElementById('image5').src = '../assets/images/features/Linear_01.gif'; } function changeToStatic5() { - document.getElementById('image5').src = 'assets/images/features/Linear_01.jpg'; + document.getElementById('image5').src = '../assets/images/features/Linear_01.jpg'; } function changeToGif6() { - document.getElementById('image6').src = 'assets/images/features/Linear_02.gif'; + document.getElementById('image6').src = '../assets/images/features/Linear_02.gif'; } function changeToStatic6() { - document.getElementById('image6').src = 'assets/images/features/Linear_02.jpg'; + document.getElementById('image6').src = '../assets/images/features/Linear_02.jpg'; } \ No newline at end of file diff --git a/pages/about.html b/pages/about.html index 203609b..749cb26 100644 --- a/pages/about.html +++ b/pages/about.html @@ -6,7 +6,7 @@ About - Random Disco Light Simulator - + - - - + + \ No newline at end of file diff --git a/pages/features.html b/pages/features.html index ba29378..a82c242 100644 --- a/pages/features.html +++ b/pages/features.html @@ -6,7 +6,7 @@ Features - Random Disco Light Simulator - +