added more images
BIN
images/Event Horizon/poster.jpg
Normal file
After Width: | Height: | Size: 180 KiB |
Before Width: | Height: | Size: 267 KiB |
BIN
images/Friday the 13th/poster.jpg
Normal file
After Width: | Height: | Size: 204 KiB |
BIN
images/Hellraiser/poster.jpg
Normal file
After Width: | Height: | Size: 140 KiB |
BIN
images/It Follows/poster.jpg
Normal file
After Width: | Height: | Size: 109 KiB |
BIN
images/The Texas Chainsaw Massacre/poster.jpg
Normal file
After Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 264 KiB |
4
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 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 = [];
|
var pix = [];
|
||||||
// autocomplete(document.getElementById("guess"), movies);
|
// 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 countDownTime = new Date();
|
||||||
var present_date = new Date();
|
var present_date = new Date();
|
||||||
|
|
||||||
@ -203,7 +203,7 @@ window.onload = deathOftheDay();
|
|||||||
preloadImage("images/"+movieOfTheDay[0]+"/"+i+".png");
|
preloadImage("images/"+movieOfTheDay[0]+"/"+i+".png");
|
||||||
}
|
}
|
||||||
// preloadImage("images/"+movieOfTheDay[0]+"/poster.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('Movie: ', movieOfTheDay[0]);
|
||||||
console.log('Array: ', pix);
|
console.log('Array: ', pix);
|
||||||
showPic();
|
showPic();
|
||||||
|