From b9073cd9801cecaa653bfefd7a8ccd7b39b21b76 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 11 Aug 2007 17:43:45 +0100 Subject: tweak quickAddFeed dialog --- functions.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'functions.js') 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"; } -- cgit v1.2.3-54-g00ecf