88x31!
This commit is contained in:
17
xeno.js
17
xeno.js
@ -4,8 +4,9 @@ var imageArray = [
|
||||
"siteimg/deioxpk-b2e38b76-f126-4d2c-bf24-91713dbfa3d0smol2.png",
|
||||
"siteimg/xenopan_50pcrop.png",
|
||||
"https://cdn.technolog.network/img/xeno/kittyrosiefull%20(Medium).png",
|
||||
"https://cdn.technolog.network/img/xeno/xenohappysit.png",
|
||||
"https://cdn.technolog.network/img/xeno/jhayarr1_smol.png"
|
||||
"https://cdn.technolog.network/img/xeno/jhayarr1_smol.png",
|
||||
"https://cdn.technolog.network/img/xeno/jhayarr6%20(Medium).png",
|
||||
"https://cdn.technolog.network/img/xeno/beatlinked1%20(Medium).png"
|
||||
]
|
||||
var xenoPrideImg = "siteimg/xenopan_50pcrop.png";
|
||||
var xenoXmasImg = "siteimg/deioxpk-xmas1_smol.png"
|
||||
@ -13,7 +14,7 @@ var xenoXmasImg = "siteimg/deioxpk-xmas1_smol.png"
|
||||
var num = Math.floor(Math.random() * (imageArray.length));
|
||||
const month = new Date().getMonth();
|
||||
|
||||
if (month == 5) { // June - LGBTQ+ Pride
|
||||
if (month == 2) { // June - LGBTQ+ Pride
|
||||
console.log("Month is June - LGBTQ+ Pride!");
|
||||
document.xeno.width = "550";
|
||||
document.xeno.src = xenoPrideImg;
|
||||
@ -34,10 +35,16 @@ if (month == 5) { // June - LGBTQ+ Pride
|
||||
document.xeno.title += " - Art by LimeDazzle";
|
||||
} else if (chosennum == 1) {
|
||||
document.xeno.title += " - Art by Vivian Reed VA";
|
||||
document.xeno.width = "600";
|
||||
} else if (chosennum == 2) {
|
||||
document.xeno.title += " - Art by KittyRosie";
|
||||
} else if (chosennum == 4){
|
||||
} else if (chosennum == 3) {
|
||||
document.xeno.title += " - Art by CrescendCinnamon";
|
||||
document.xeno.width = "300";
|
||||
document.xeno.width = "400";
|
||||
} else if (chosennum == 4) {
|
||||
document.xeno.title = "I wub my wubhons! - Art by CrescendCinnamon";
|
||||
document.xeno.width = "450";
|
||||
} else if (chosennum == 5) {
|
||||
document.xeno.title += " - Art by Beatlinked";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user