summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index 220c56bbe..732e73ec8 100644
--- a/functions.js
+++ b/functions.js
@@ -1395,6 +1395,30 @@ function showBlockElement(id, h_id) {
}
}
+function appearBlockElement_afh(effect) {
+
+}
+
+function checkboxToggleElement(elem, id) {
+ if (elem.checked) {
+ Effect.SlideDown(id, {duration : 1.0});
+ } else {
+ Effect.SlideUp(id, {duration : 1.0});
+ }
+}
+
+function appearBlockElement(id, h_id) {
+
+ try {
+ Effect.Fade(h_id);
+ Effect.SlideDown(id, {duration : 1.0, afterFinish: appearBlockElement_afh});
+ } catch (e) {
+ exception_error("appearBlockElement", e);
+ }
+
+}
+
+
function hideParentElement(e) {
e.parentNode.style.display = "none";
}