Some JS changes, some alts, fallback img, no <center>
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
body {
|
body {
|
||||||
font-family: Tahoma;
|
font-family: Tahoma;
|
||||||
height: 98vh;
|
height: 98vh;
|
||||||
|
text-align: center;
|
||||||
/* Use below BG for crimmis */
|
/* Use below BG for crimmis */
|
||||||
/*background-image: linear-gradient(#4d4e4f 50%, rgb(154, 156, 156));*/
|
/*background-image: linear-gradient(#4d4e4f 50%, rgb(154, 156, 156));*/
|
||||||
/* use below BG for pride */
|
/* use below BG for pride */
|
||||||
|
68
index.html
68
index.html
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<!--
|
<!--
|
||||||
Background image credit: https://www.deviantart.com/sequency/art/Windows-NT-Sky-149092015
|
Background image credit: https://www.deviantart.com/sequency/art/Windows-NT-Sky-149092015
|
||||||
iR Git Site Index (Source Code: https://git.technolog.network/iraven/newpublicsite)
|
iR Git Site Index (Source Code: https://git.technolog.network/iraven/newpublicsite)
|
||||||
@@ -13,48 +13,46 @@
|
|||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" type="text/css" href="default.css">
|
<link rel="stylesheet" type="text/css" href="default.css">
|
||||||
<link rel="stylesheet" type="text/css" href="buttons.css">
|
<link rel="stylesheet" type="text/css" href="buttons.css">
|
||||||
<meta name=”robots” content=”noindex,nofollow”>
|
<meta name="robots" content="noindex,nofollow">
|
||||||
<meta name="title" content="iRaven">
|
<meta name="title" content="iRaven">
|
||||||
<meta name="description" content="Website of a depressed degenerate introverted weirdo. Nothing to see here.">
|
<meta name="description" content="Website of a depressed degenerate introverted weirdo. Nothing to see here.">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>iRaven</title>
|
<title>iRaven</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<center>
|
<img id="xeno" src="siteimg/xeno/deioxpk-b2e38b76-f126-4d2c-bf24-91713dbfa3d0smol2.png" alt="Xeno, Raven's ponysona.">
|
||||||
<img name="xeno">
|
<br>
|
||||||
|
<img src="siteimg/icon/monitor_moon.png" title="Mood." alt="">
|
||||||
|
<br><img src="siteimg/LGBTQplus_Progress_Flag.png" width="32" title="i stand strongly with LGBTQ+ rights. <3" alt="An icon of the LGBTQIA+ Pride Progress flag.">
|
||||||
|
<div class=navbuttons>
|
||||||
|
<a href="about.html"><img src="siteimg/icon/deioxpk-32.png" alt="">About Me</a>
|
||||||
|
<a href="ocref.html"><img src="siteimg/icon/cd.png" alt="">OC References</a>
|
||||||
|
<a href="blog/"><img src="siteimg/icon/notepad.png" alt="">Tech and Tinkering Blog</a>
|
||||||
|
<!--<a href="test.html"><img src="siteimg/net2.png">Test Button 3</a>-->
|
||||||
|
</div>
|
||||||
|
<div class=web88x31>
|
||||||
|
<img src="siteimg/88x31/bestviewedcomp.gif">
|
||||||
|
<a href="https://debian.org" target="_blank"><img src="siteimg/88x31/debian-powered.gif"></a>
|
||||||
|
<a href="https://fedoraproject.org" target="_blank"><img src="siteimg/88x31/fedora.gif"></a>
|
||||||
|
<a href="https://firefox.com" target="_blank"><img src="siteimg/88x31/firefox2.gif"></a>
|
||||||
<br>
|
<br>
|
||||||
<img src="siteimg/icon/monitor_moon.png" title="Mood.">
|
<a href="https://git.technolog.network/iraven/newpublicsite" target="_blank"><img src="siteimg/88x31/invalidator.gif"></a>
|
||||||
<br><img src="siteimg/LGBTQplus_Progress_Flag.png" width="32px" title="i stand strongly with LGBTQ+ rights. <3">
|
<a href="https://ffmpeg.org/" target="_blank"><img src="siteimg/88x31/ffmpeg.gif"></a>
|
||||||
<div class=navbuttons>
|
<a href="https://home-assistant.io" target="_blank"><img src="siteimg/88x31/home-assistant.gif"></a>
|
||||||
<a href="about.html"><img src="siteimg/icon/deioxpk-32.png">About Me</a>
|
<img src="siteimg/88x31/say-no-to-web3.gif">
|
||||||
<a href="ocref.html"><img src="siteimg/icon/cd.png">OC References</a>
|
<br>
|
||||||
<a href="blog/"><img src="siteimg/icon/notepad.png">Tech and Tinkering Blog</a>
|
<!-- <img src="siteimg/88x31/acab.gif"> -->
|
||||||
<!--<a href="test.html"><img src="siteimg/net2.png">Test Button 3</a>-->
|
<!-- <img src="siteimg/88x31/botao.gif"> -->
|
||||||
</div>
|
<img src="siteimg/88x31/antinazi.gif">
|
||||||
<div class=web88x31>
|
<img src="siteimg/88x31/imissxp.gif">
|
||||||
<img src="siteimg/88x31/bestviewedcomp.gif">
|
<img src="siteimg/88x31/piracy.gif">
|
||||||
<a href="https://debian.org" target="_blank"><img src="siteimg/88x31/debian-powered.gif"></a>
|
<img src="siteimg/88x31/transrights.png">
|
||||||
<a href="https://fedoraproject.org" target="_blank"><img src="siteimg/88x31/fedora.gif"></a>
|
</div>
|
||||||
<a href="https://firefox.com" target="_blank"><img src="siteimg/88x31/firefox2.gif"></a>
|
<a href="https://wigle.net"><img src="https://wigle.net/bi/REpW8fIOG8lGS3ZqbVv9GA.png"></a>
|
||||||
<br>
|
<!-- <a href="https://www.abuseipdb.com/user/215504" title="AbuseIPDB is an IP address blacklist for webmasters and sysadmins to report IP addresses engaging in abusive behavior on their networks"><img src="https://www.abuseipdb.com/contributor/215504.svg" alt="AbuseIPDB Contributor Badge" style="width: 250px;"></a> -->
|
||||||
<a href="https://git.technolog.network/iraven/newpublicsite" target="_blank"><img src="siteimg/88x31/invalidator.gif"></a>
|
|
||||||
<a href="https://ffmpeg.org/" target="_blank"><img src="siteimg/88x31/ffmpeg.gif"></a>
|
|
||||||
<a href="https://home-assistant.io" target="_blank"><img src="siteimg/88x31/home-assistant.gif"></a>
|
|
||||||
<img src="siteimg/88x31/say-no-to-web3.gif">
|
|
||||||
<br>
|
|
||||||
<!-- <img src="siteimg/88x31/acab.gif"> -->
|
|
||||||
<!-- <img src="siteimg/88x31/botao.gif"> -->
|
|
||||||
<img src="siteimg/88x31/antinazi.gif">
|
|
||||||
<img src="siteimg/88x31/imissxp.gif">
|
|
||||||
<img src="siteimg/88x31/piracy.gif">
|
|
||||||
<img src="siteimg/88x31/transrights.png">
|
|
||||||
</div>
|
|
||||||
<a href="https://wigle.net"><img border="0" src="https://wigle.net/bi/REpW8fIOG8lGS3ZqbVv9GA.png"></a>
|
|
||||||
<!-- <a href="https://www.abuseipdb.com/user/215504" title="AbuseIPDB is an IP address blacklist for webmasters and sysadmins to report IP addresses engaging in abusive behavior on their networks"><img src="https://www.abuseipdb.com/contributor/215504.svg" alt="AbuseIPDB Contributor Badge" style="width: 250px;"></a> -->
|
|
||||||
</center>
|
|
||||||
<!-- Snow -->
|
<!-- Snow -->
|
||||||
<!--<script src=snowstorm.js></script>-->
|
<!--<script src=snowstorm.js></script>-->
|
||||||
<script src="xeno.js"></script>
|
<script type="text/javascript" src="xeno.js"></script>
|
||||||
<!-- toot (mastodon)-->
|
<!-- toot (mastodon)-->
|
||||||
<a rel="me" href="https://pony.social/@iRaven"></a>
|
<a rel="me" href="https://pony.social/@iRaven"></a>
|
||||||
</body>
|
</body>
|
||||||
|
41
xeno.js
41
xeno.js
@@ -8,43 +8,44 @@ var imageArray = [
|
|||||||
"siteimg/xeno/jhayarr6%20(Medium).png",
|
"siteimg/xeno/jhayarr6%20(Medium).png",
|
||||||
"siteimg/xeno/beatlinked1%20(Medium).png"
|
"siteimg/xeno/beatlinked1%20(Medium).png"
|
||||||
]
|
]
|
||||||
|
const xenoId = document.getElementById('xeno') // Moved to using DOM Element IDs.
|
||||||
var xenoPrideImg = "siteimg/xeno/xenopan_50pcrop.png";
|
var xenoPrideImg = "siteimg/xeno/xenopan_50pcrop.png";
|
||||||
var xenoXmasImg = "siteimg/xeno/deioxpk-xmas1_smol.png"
|
var xenoXmasImg = "siteimg/xeno/deioxpk-xmas1_smol.png"
|
||||||
|
|
||||||
var num = Math.floor(Math.random() * (imageArray.length));
|
var num = Math.floor(Math.random() * (imageArray.length));
|
||||||
const month = new Date().getMonth();
|
const month = new Date().getMonth();
|
||||||
|
|
||||||
if (month == 6) { // June - LGBTQ+ Pride
|
if (month == 5) { // June - LGBTQ+ Pride
|
||||||
console.log("Month is June - LGBTQ+ Pride!");
|
console.log("Month is June - LGBTQ+ Pride!");
|
||||||
document.xeno.width = "550";
|
xenoId.width = "550";
|
||||||
document.xeno.src = xenoPrideImg;
|
xenoId.src = xenoPrideImg;
|
||||||
document.xeno.title = "Have proud pansexual hors. - Art by Vivian Reed VA";
|
xenoId.title = "Have proud pansexual hors. - Art by Vivian Reed VA";
|
||||||
} else if (month == 12) { // December
|
} else if (month == 12) { // December
|
||||||
console.log("Month is December - Crimmis");
|
console.log("Month is December - Crimmis");
|
||||||
document.xeno.width = "550";
|
xenoId.width = "550";
|
||||||
document.xeno.src = xenoXmasImg;
|
xenoId.src = xenoXmasImg;
|
||||||
document.xeno.title = "Have festive hors. - Art by LimeDazzle";
|
xenoId.title = "Have festive hors. - Art by LimeDazzle";
|
||||||
} else {
|
} else {
|
||||||
document.xeno.title = "Have hors.";
|
xenoId.title = "Have hors.";
|
||||||
document.xeno.width = "550";
|
xenoId.width = "550";
|
||||||
var chosennum = num;
|
var chosennum = num;
|
||||||
console.log("Chosen num is " + chosennum + " - " + imageArray[chosennum]);
|
console.log("Chosen num is " + chosennum + " - " + imageArray[chosennum]);
|
||||||
document.xeno.src = imageArray[chosennum];
|
xenoId.src = imageArray[chosennum];
|
||||||
// document.xeno.src = imageArray[num];
|
// xenoId.src = imageArray[num];
|
||||||
if (chosennum == 0) {
|
if (chosennum == 0) {
|
||||||
document.xeno.title += " - Art by LimeDazzle";
|
xenoId.title += " - Art by LimeDazzle";
|
||||||
} else if (chosennum == 1) {
|
} else if (chosennum == 1) {
|
||||||
document.xeno.title += " - Art by Vivian Reed VA";
|
xenoId.title += " - Art by Vivian Reed VA";
|
||||||
document.xeno.width = "600";
|
xenoId.width = "600";
|
||||||
} else if (chosennum == 2) {
|
} else if (chosennum == 2) {
|
||||||
document.xeno.title += " - Art by KittyRosie";
|
xenoId.title += " - Art by KittyRosie";
|
||||||
} else if (chosennum == 3) {
|
} else if (chosennum == 3) {
|
||||||
document.xeno.title += " - Art by CrescendCinnamon";
|
xenoId.title += " - Art by CrescendCinnamon";
|
||||||
document.xeno.width = "400";
|
xenoId.width = "400";
|
||||||
} else if (chosennum == 4) {
|
} else if (chosennum == 4) {
|
||||||
document.xeno.title = "I wub my wubhons! - Art by CrescendCinnamon";
|
xenoId.title = "I wub my wubhons! - Art by CrescendCinnamon";
|
||||||
document.xeno.width = "450";
|
xenoId.width = "450";
|
||||||
} else if (chosennum == 5) {
|
} else if (chosennum == 5) {
|
||||||
document.xeno.title += " - Art by Beatlinked";
|
xenoId.title += " - Art by Beatlinked";
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user