1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 15:45:56 +00:00

add dropout effect when hiding read feeds

This commit is contained in:
Andrew Dolgov
2007-08-10 10:52:24 +01:00
parent 68c80eec18
commit 225ec0d4c2
3 changed files with 15 additions and 6 deletions

View File

@@ -1009,16 +1009,20 @@ function hideOrShowFeedsCategory(doc, node, hide, cat_node) {
// debug(node.childNodes[i].id + " --> " + has_unread);
if (hide && !has_unread) {
node.childNodes[i].style.display = "none";
//node.childNodes[i].style.display = "none";
Effect.DropOut(node.childNodes[i], {duration : 0.3});
}
if (!hide) {
node.childNodes[i].style.display = "list-item";
//Effect.Appear(node.childNodes[i], {duration : 0.3});
}
if (has_unread) {
node.childNodes[i].style.display = "list-item";
cat_unread++;
//Effect.Appear(node.childNodes[i], {duration : 0.3});
//Effect.Highlight(node.childNodes[i]);
}
}
}