diff options
author | altaf-creator <athaalaa@gmail.com> | 2023-08-13 21:46:33 +0700 |
---|---|---|
committer | altaf-creator <athaalaa@gmail.com> | 2023-08-13 21:46:33 +0700 |
commit | 98fa18117e32b30f1ded7e0745fe91f340fc1806 (patch) | |
tree | 56a9ab6bd3ea80497e6acc65efc8b15f513e358f /scripts/onload.js |
Initial commit for NEWER site
Diffstat (limited to 'scripts/onload.js')
-rw-r--r-- | scripts/onload.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/onload.js b/scripts/onload.js new file mode 100644 index 0000000..5c63f35 --- /dev/null +++ b/scripts/onload.js @@ -0,0 +1,8 @@ +function addNodes() { + const collection = document.getElementsByTagName("section"); + const container = document.getElementById("progressContainer"); + + for (var i = 0; i < collection.length; i++) { + container.innerHTML += "<nodes class=\"sidebar-progress-node\"></nodes>\n"; + } +}
\ No newline at end of file |