Skip to content

Commit

Permalink
The website now uses javascript for setting christmas lights gif when…
Browse files Browse the repository at this point in the history
… the December comes
  • Loading branch information
nixxoq committed Jan 12, 2024
1 parent 079997e commit c3052e8
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 25 deletions.
27 changes: 15 additions & 12 deletions index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@
<title>Snaky1a's Home Page</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

<script>
var currentDate = new Date();
var currentMonth = currentDate.getMonth();
var currentDay = currentDate.getDate();

if (currentMonth == 0 && currentDay >= 1 && currentDay <= 12) { document.write('<p align="center"><img src="/images/christmas-lights.gif" alt="Happy new Year!"></p>') }
</script>
<!-- styles -->
</head>

<!-- Body -->

<body bgcolor="#000000">
<!-- Banners -->
<p align="center">
<img src="/images/christmas-lights.gif" alt="Happy new Year!">
</p>

<p align="center">
<a href="/index.htm">
Expand Down Expand Up @@ -50,7 +54,8 @@
<hr>
<a href="/files/" style="text-decoration: none;">Files collection</a>
<hr>
<a href="/guides/" style="text-decoration: none;">Guides/Tutorials for Windows XP</a>
<a href="/guides/" style="text-decoration: none;">Guides/Tutorials for Windows
XP</a>
<hr>
</font>
</td>
Expand All @@ -68,14 +73,11 @@
<font face="Arial, Helvetica" size="4">
<p style="margin-left: 10px;">About me: (taken information from github page)</p>
<p style="margin-left: 25px;">
<q>Hi, I'm Snaky1a, also known as Whitesnake1995
<br>
<br>
I love Windows XP, coffee, and winter. I also enjoy collecting Windows beta builds.
<br>
<br>
Furthermore, I'm the maintainer of a XP-Apps: a repository with programs that can run on
Windows XP with the One-Core-API</q>
Hi, I'm Snaky1a, also known as Whitesnake1995
<br><br>
14 y.o boy from Ukraine
<br><br>
Currently maintaining my website and xp-apps repositories
</p>
</font>
</font>
Expand All @@ -94,6 +96,7 @@
<font size="4">
<i>This page was last updated at 01/08/23</i>
</font>
<br>
</font>
</font>
</p>
Expand Down
11 changes: 8 additions & 3 deletions useful.htm
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,21 @@
<title>Snaky1a's Home Page</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

<script>
var currentDate = new Date();
var currentMonth = currentDate.getMonth();
var currentDay = currentDate.getDate();

if (currentMonth == 0 && currentDay >= 1 && currentDay <= 11) { document.write('<p align="center"><img src="/images/christmas-lights.gif" alt="Happy new Year!"></p>') }
</script>

<!-- styles -->
</head>

<!-- Body -->

<body bgcolor="#000000">
<!-- Banners -->
<p align="center">
<img src="/images/christmas-lights.gif" alt="Happy new Year!">
</p>

<p align="center">
<a href="/index.htm">
Expand Down
15 changes: 10 additions & 5 deletions windows_95_apps.htm
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@
<title>Snaky1a's Home Page</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

<script>
var currentDate = new Date();
var currentMonth = currentDate.getMonth();
var currentDay = currentDate.getDate();

if (currentMonth == 0 && currentDay >= 1 && currentDay <= 12) { document.write('<p align="center"><img src="/images/christmas-lights.gif" alt="Happy new Year!"></p>') }
</script>

<!-- styles -->
<style>
</style>
Expand All @@ -18,10 +26,6 @@

<body bgcolor="#000000">
<!-- Banners -->
<p align="center">
<img src="/images/christmas-lights.gif" alt="Happy new Year!">
</p>

<p align="center">
<a href="/index.htm">
<img src="/images/index.htm_cmp_artsy010_bnr.gif" alt="Snaky1a's Website">
Expand Down Expand Up @@ -66,7 +70,8 @@
</font>
<hr>
<font>
<a href="/guides/" style="text-decoration: none; color: #0000ce;">Guides/Tutorials for Windows XP</a>
<a href="/guides/" style="text-decoration: none; color: #0000ce;">Guides/Tutorials for Windows
XP</a>
</font>
<hr>
</font>
Expand Down
17 changes: 12 additions & 5 deletions windows_xp_apps.htm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
<title>Snaky1a's Home Page</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">

<script>
var currentDate = new Date();
var currentMonth = currentDate.getMonth();
var currentDay = currentDate.getDate();

if (currentMonth == 0 && currentDay >= 1 && currentDay <= 12) { document.write('<p align="center"><img src="/images/christmas-lights.gif" alt="Happy new Year!"></p>') }
</script>

<!-- styles -->
<style>
</style>
Expand All @@ -19,9 +27,6 @@

<body bgcolor="#000000">
<!-- Banners -->
<p align="center">
<img src="/images/christmas-lights.gif" alt="Happy new Year!">
</p>

<p align="center">
<a href="/index.htm">
Expand Down Expand Up @@ -67,7 +72,8 @@
</font>
<hr>
<font>
<a href="/guides/" style="text-decoration: none; color: #0000ce;">Guides/Tutorials for Windows XP</a>
<a href="/guides/" style="text-decoration: none; color: #0000ce;">Guides/Tutorials for Windows
XP</a>
</font>
<hr>
</font>
Expand Down Expand Up @@ -244,7 +250,8 @@
</td>
<td width="48%" height="18">
<font face="Arial, Helvetica">
<a href="/files/XP/python/Python3.8_ddfdeced29.7z" style="text-decoration: none; color: #1edd05">
<a href="/files/XP/python/Python3.8_ddfdeced29.7z"
style="text-decoration: none; color: #1edd05">
<font color="#1edd05">Python 3.8.12 (with workarounds)</font>
</a>
</font>
Expand Down

0 comments on commit c3052e8

Please sign in to comment.