1
0

update xeno to correct month (was for testing)

This commit is contained in:
2025-06-04 01:43:48 -05:00
parent fdc835aa45
commit 8895ad2d5d

11
xeno.js
View File

@ -2,7 +2,7 @@
var imageArray = [
"siteimg/deioxpk-b2e38b76-f126-4d2c-bf24-91713dbfa3d0smol2.png",
"siteimg/deioxpy-efac1e6d-aeda-4ed9-bfe6-29f2e0a33f13smol.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"
@ -13,7 +13,7 @@ var xenoXmasImg = "siteimg/deioxpk-xmas1_smol.png"
var num = Math.floor(Math.random() * (imageArray.length));
const month = new Date().getMonth();
if (month == 2) { // June - LGBTQ+ Pride
if (month == 5) { // June - LGBTQ+ Pride
console.log("Month is June - LGBTQ+ Pride!")
document.xeno.src = xenoPrideImg;
document.xeno.title = "Have proud pansexual hors. - Art by Vivian Reed VA";
@ -23,16 +23,17 @@ if (month == 2) { // June - LGBTQ+ Pride
document.xeno.title = "Have festive hors. - Art by LimeDazzle";
} else {
document.xeno.title = "Have hors.";
document.xeno.width = "550";
var chosennum = num;
console.log("Chosen num is " + chosennum + " - " + imageArray[chosennum]);
document.xeno.src = imageArray[chosennum];
// document.xeno.src = imageArray[num];
if (chosennum == 0 || chosennum == 1) {
if (chosennum == 0) {
document.xeno.title += " - Art by LimeDazzle";
document.xeno.width = "550";
} else if (chosennum == 1) {
document.xeno.title += " - Art by Vivian Reed VA";
} else if (chosennum == 2) {
document.xeno.title += " - Art by KittyRosie";
document.xeno.width = "550";
} else if (chosennum == 4){
document.xeno.title += " - Art by CrescendCinnamon";
document.xeno.width = "300";