aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/showhide.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/js/showhide.js b/src/js/showhide.js
deleted file mode 100644
index afc9c06..0000000
--- a/src/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";
- }
-}