From 5fdebd8f5031dd3aee5c795826451ad8ccaa1bdd Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Thu, 15 Feb 2024 12:08:37 +0200 Subject: update: tried javascript, added a site to the ring --- en/index.html | 1 + img/aboutme.png | Bin 462187 -> 0 bytes img/info.gif | Bin 0 -> 16344 bytes img/me.png | Bin 0 -> 462187 bytes index.html | 10 ++++++---- main.html | 3 +++ script.js | 3 +++ style.css | 12 ------------ 8 files changed, 13 insertions(+), 16 deletions(-) delete mode 100644 img/aboutme.png create mode 100644 img/info.gif create mode 100644 img/me.png create mode 100644 script.js diff --git a/en/index.html b/en/index.html index bdaa144..a01dd89 100644 --- a/en/index.html +++ b/en/index.html @@ -4,6 +4,7 @@ Marcellus + diff --git a/img/aboutme.png b/img/aboutme.png deleted file mode 100644 index 2847924..0000000 Binary files a/img/aboutme.png and /dev/null differ diff --git a/img/info.gif b/img/info.gif new file mode 100644 index 0000000..3eb6f6e Binary files /dev/null and b/img/info.gif differ diff --git a/img/me.png b/img/me.png new file mode 100644 index 0000000..2847924 Binary files /dev/null and b/img/me.png differ diff --git a/index.html b/index.html index 13030ec..773204d 100644 --- a/index.html +++ b/index.html @@ -8,8 +8,10 @@ + +

Trop d'ordre sur cette page...

It's tamaNOTchi! Click to feed! @@ -25,21 +27,21 @@ 🤮🇬🇧 - SITE EN CONTRUCTION, COMME MOI + ⚠️SITE EN CONTRUCTION, COMME MOI⚠️
The current mood of Marcellus at www.imood.com trop long pas lire diff --git a/main.html b/main.html index 777ed6c..3df6f68 100644 --- a/main.html +++ b/main.html @@ -58,6 +58,9 @@ + + +
diff --git a/script.js b/script.js new file mode 100644 index 0000000..50e8be1 --- /dev/null +++ b/script.js @@ -0,0 +1,3 @@ +function replaceImage(n, filename){ + document.querySelectorAll(".link img")[n].src = filename; +} \ No newline at end of file diff --git a/style.css b/style.css index 1cbbd60..8132283 100644 --- a/style.css +++ b/style.css @@ -79,18 +79,6 @@ a.text-link::after{ animation-iteration-count: infinite;*/ } -.linkimg1:hover { - content: url(img/mii.png); -} - -.linkimg2:hover { - content: url(img/ds.gif); -} - -.linkimg3:hover { - content: url(img/w800.png); -} - .link img:hover { animation-name: shakey; animation-duration: 0.4s; -- cgit v1.2.3