From 775e69fea981b1cec03cc8206d69abed9b824df5 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Mon, 22 May 2023 17:31:07 +0200 Subject: New file structure index.html some-post/ --> index.html --- dst/js/showhide.js | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 dst/js/showhide.js (limited to 'dst/js') diff --git a/dst/js/showhide.js b/dst/js/showhide.js deleted file mode 100644 index afc9c06..0000000 --- a/dst/js/showhide.js +++ /dev/null @@ -1,27 +0,0 @@ -/* -http://www.tutorialhelpdesk.com/tutorials/web-development/javascript/how-to-show-hide-a-dhtml-div-using-onclick()-event.html -*/ - -function ShowHide(elementId) -{ - var element = document.getElementById(elementId); - if(element.style.display != "block") - { - element.style.display = "block"; - } - else - { - element.style.display = "none"; - } -} -function UpdateText(element) -{ - if(element.innerHTML.indexOf("Hide") == -1) - { - element.innerHTML = "Hide Abstract"; - } - else - { - element.innerHTML = "Abstract"; - } -} -- cgit v1.2.3-70-g09d2