summaryrefslogtreecommitdiff
path: root/script.js
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2024-02-15 12:08:37 +0200
committerMartial Simon <msimon_fr@hotmail.com>2024-02-15 12:08:37 +0200
commit5fdebd8f5031dd3aee5c795826451ad8ccaa1bdd (patch)
treeab5199c1ee4b0b1d90cc7586434dd8cc6c5fdac9 /script.js
parentbaff115a338a88ca3216aafa3467ebda267cd69c (diff)
update: tried javascript, added a site to the ring
Diffstat (limited to 'script.js')
-rw-r--r--script.js3
1 files changed, 3 insertions, 0 deletions
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