var next_unread_feed = getRelativeFeedId(feedlist,
getActiveFeedId(), "next", true);
+ if (!next_unread_feed) {
+ next_unread_feed = getRelativeFeedId(feedlist,
+ -1, "next", true);
+ }
+
var show_next_feed = getInitParam("on_catchup_show_next_feed") == "1";
if (next_unread_feed && show_next_feed && !activeFeedIsCat()) {
var notify_hide_timerid = false;
var notify_last_doc = false;
-var notify_effect = false;
+var notify_effect = false;
function hide_notify() {
if (notify_last_doc) {
var n = notify_last_doc.getElementById("notify");
- if (browser_has_opacity()) {
+ n.style.display = "none";
+
+/* if (browser_has_opacity()) {
if (notify_opacity >= 0) {
notify_opacity = notify_opacity - 0.1;
n.style.opacity = notify_opacity;
}
} else {
n.style.display = "none";
- }
+ } */
}
-}
+}
function notify_real(msg, doc, no_hide, is_err) {
var child = list.childNodes[i];
if (child.id && child.id == "feedCatHolder") {
if (child.lastChild) {
- var cr = getRelativeFeedId(child.firstChild, id, direction);
+ var cr = getRelativeFeedId(child.firstChild, id, direction, unread_only);
if (cr) return cr;
}
} else if (child.id && child.id.match("FEEDR-")) {
}
} else {
- var feed = list.ownerDocument.getElementById("FEEDR-" + getActiveFeedId());
+ var feed = list.ownerDocument.getElementById("FEEDR-" + id);
if (getInitParam("hide_read_feeds") == 1) {
unread_only = true;
}
if (e) {
- if (!unread_only || (unread_only && e.className != "feed" &&
+ if (!unread_only || (unread_only && e.className != "feed" &&
+ e.className != "label" && e.className != "virt" &&
e.className != "error")) {
return e.id.replace("FEEDR-", "");
}
ul.feedList {
list-style-type : none;
margin : 5px;
- padding : 0px 0px 0px 10px;
+ padding : 0px 0px 0px 5px;
font-size : small;
}
ul.feedCatList {
list-style-type : none;
- margin : 0px 0px 0px 20px;
+ margin : 0px 0px 0px 15px;
padding : 0px;
}
}
#dispSwitch {
- padding : 5px 5px 5px 0px;
font-size : x-small;
text-align : right;
+ float : right;
+ margin : 5px 5px 0px 0px;
}
#dispSwitch a {
right : 5px;
height : 40px;
color : #4684ff;
- font-size : x-small;
+ font-size : small;
}
#feeds-holder {