1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 07:05:56 +00:00

add collapsed CDM mode

This commit is contained in:
Andrew Dolgov
2007-10-18 03:55:44 +01:00
parent bef4c2451e
commit a04c8e8dc2
3 changed files with 44 additions and 3 deletions

View File

@@ -1355,3 +1355,25 @@ function catchupRelativeToArticle(below) {
exception_error("catchupRelativeToArticle", e);
}
}
function cdmExpandArticle(a_id) {
try {
var id = 'CICD-' + a_id;
Effect.Appear(id, {duration : 0.5,
beforeStart: function(effect) {
var h_id = 'CICH-' + a_id;
var h_elem = document.getElementById(h_id);
if (h_elem) { h_elem.style.display = "none"; }
toggleUnread(a_id, 0);
}});
} catch (e) {
exception_error("appearBlockElementF", e);
}
}