From 225ec0d4c26762d32b1d5684cd2429ae356fe177 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 10 Aug 2007 10:52:24 +0100 Subject: add dropout effect when hiding read feeds --- feedlist.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'feedlist.js') diff --git a/feedlist.js b/feedlist.js index c0257fd91..8c0420d0e 100644 --- a/feedlist.js +++ b/feedlist.js @@ -193,7 +193,7 @@ function toggleCollapseCat(cat) { var cat_list = document.getElementById("FCATLIST-" + cat).parentNode; var caption = document.getElementById("FCAP-" + cat); - if (cat_list.className.match("invisible")) { +/* if (cat_list.className.match("invisible")) { cat_list.className = ""; caption.innerHTML = caption.innerHTML.replace("...", ""); if (cat == 0) { @@ -204,8 +204,11 @@ function toggleCollapseCat(cat) { caption.innerHTML = caption.innerHTML + "..."; if (cat == 0) { setCookie("ttrss_vf_uclps", "1"); - } - } + } + + } */ + + Effect.toggle('FCATLIST-' + cat, 'blind', { duration: 0.5 }); new Ajax.Request("backend.php?op=feeds&subop=collapse&cid=" + param_escape(cat)); -- cgit v1.2.3