]> git.wh0rd.org - tt-rss.git/blobdiff - functions.js
tweak quickAddFeed dialog
[tt-rss.git] / functions.js
index 220c56bbecd2d738ee8436c624ab938deacbb3d2..732e73ec846a2b4853d1aa09df9787b0a07054cc 100644 (file)
@@ -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";
 }