diff --git a/images/Event Horizon/poster.jpg b/images/Event Horizon/poster.jpg new file mode 100644 index 0000000..9d12f89 Binary files /dev/null and b/images/Event Horizon/poster.jpg differ diff --git a/images/Event Horizon/poster.png b/images/Event Horizon/poster.png deleted file mode 100644 index 734978e..0000000 Binary files a/images/Event Horizon/poster.png and /dev/null differ diff --git a/images/Friday the 13th/poster.jpg b/images/Friday the 13th/poster.jpg new file mode 100644 index 0000000..2d5d841 Binary files /dev/null and b/images/Friday the 13th/poster.jpg differ diff --git a/images/Hellraiser/poster.jpg b/images/Hellraiser/poster.jpg new file mode 100644 index 0000000..3d83731 Binary files /dev/null and b/images/Hellraiser/poster.jpg differ diff --git a/images/It Follows/poster.jpg b/images/It Follows/poster.jpg new file mode 100644 index 0000000..f13693e Binary files /dev/null and b/images/It Follows/poster.jpg differ diff --git a/images/The Texas Chainsaw Massacre/poster.jpg b/images/The Texas Chainsaw Massacre/poster.jpg new file mode 100644 index 0000000..a36cd0f Binary files /dev/null and b/images/The Texas Chainsaw Massacre/poster.jpg differ diff --git a/images/a nightmare on elm street/poster.png b/images/a nightmare on elm street/poster.jpg similarity index 100% rename from images/a nightmare on elm street/poster.png rename to images/a nightmare on elm street/poster.jpg diff --git a/main.js b/main.js index 549e8e5..b572dba 100644 --- a/main.js +++ b/main.js @@ -52,7 +52,7 @@ function revealButtons(g = guessNo){ var movies = [["The Texas Chainsaw Massacre",1,"Sally Hardesty"],["It Follows",2,"Jaime Height"],["Friday the 13th",0,"Alice Hardy"],["Event Horizon",2,"Lieutenant Starck"],["Hellraiser",2,"Kirsty Cotton"],["A Nightmare on Elm Street",1,"Nancy Thompson"],["The Cabin in the Woods",2],["American Psycho",0]]; var pix = []; // autocomplete(document.getElementById("guess"), movies); - var gameBeginning = new Date('September 24, 2022 00:00:00'); + var gameBeginning = new Date('September 22, 2022 00:00:00'); var countDownTime = new Date(); var present_date = new Date(); @@ -203,7 +203,7 @@ window.onload = deathOftheDay(); preloadImage("images/"+movieOfTheDay[0]+"/"+i+".png"); } // preloadImage("images/"+movieOfTheDay[0]+"/poster.png"); - document.getElementById("posterFrame").src = "images/"+movieOfTheDay[0]+"/poster.png"; + document.getElementById("posterFrame").src = "images/"+movieOfTheDay[0]+"/poster.jpg"; console.log('Movie: ', movieOfTheDay[0]); console.log('Array: ', pix); showPic();