diff options
author | Andrew Dolgov <[email protected]> | 2007-08-11 17:43:45 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-11 17:43:45 +0100 |
commit | b9073cd9801cecaa653bfefd7a8ccd7b39b21b76 (patch) | |
tree | e5224f7f9f1beb9fe3af30ebc4e78ceb9a512db5 /functions.js | |
parent | 5f014cf1a70f6bd98626601098f437731f65430e (diff) |
tweak quickAddFeed dialog
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 24 |
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"; } |