diff options
author | Andrew Dolgov <[email protected]> | 2007-08-10 10:52:24 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-08-10 10:52:24 +0100 |
commit | 225ec0d4c26762d32b1d5684cd2429ae356fe177 (patch) | |
tree | 9bbabad227a394dbea49ceb3b96a18841cae7bc3 /functions.php | |
parent | 68c80eec185a6c420e1bbb0a3d4680e86d33448a (diff) |
add dropout effect when hiding read feeds
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/functions.php b/functions.php index 51c2dd17e..8e003e5a9 100644 --- a/functions.php +++ b/functions.php @@ -3420,10 +3420,12 @@ } if ($collapsed == "t" || $collapsed == "1") { - $holder_class = "invisible"; + $holder_class = "feedCatHolder"; + $holder_style = "display:none;"; $ellipsis = "..."; } else { $holder_class = "feedCatHolder"; + $holder_style = ""; $ellipsis = ""; } @@ -3442,7 +3444,7 @@ // !!! NO SPACE before <ul...feedCatList - breaks firstChild DOM function // -> keyboard navigation, etc. - print "<li id=\"feedCatHolder\" class=\"$holder_class\"><ul class=\"feedCatList\" id=\"FCATLIST-$cat_id\">"; + print "<li id=\"feedCatHolder\" class=\"$holder_class\"><ul class=\"feedCatList\" id=\"FCATLIST-$cat_id\" style='$holder_style'>"; } printFeedEntry($feed_id, $class, $feed, $unread, |