exception_error("openArticleInNewWindow", e);
}
}
+
$add_class = "";
}
- print "<div class=\"cdmArticle$add_class\" id=\"RROW-$id\">";
+ print "<div class=\"cdmArticle$add_class\"
+ id=\"RROW-$id\" onmouseover='cdmMouseIn(this)'
+ onmouseout='cdmMouseOut(this)'>";
print "<div class=\"cdmHeader\">";
text-align : right;
}
+div.cdmArticle:hover {
+ background-color : white;
+}
+
div.cdmArticle {
border-color : #c0c0c0;
border-width : 0px 0px 1px 0px;
padding : 10px;
}
+div.cdmArticleUnread:hover {
+ background-color : white;
+}
+
div.cdmArticleUnread {
border-color : #c0c0c0;
border-width : 0px 0px 1px 0px;
padding-bottom : 5px;
}
+div.cdmArticleUnread div.cdmHeader a {
+ color : black;
+}
+
div.cdmFooter {
font-size : 9pt;
color : gray;
function getActiveArticleId() {
return active_post_id;
}
+
+function cdmMouseIn(elem) {
+ try {
+ if (elem.id && elem.id.match("RROW-")) {
+ var id = elem.id.replace("RROW-", "");
+ active_post_id = id;
+ }
+ } catch (e) {
+ exception_error("cdmMouseIn", e);
+ }
+
+}
+
+function cdmMouseOut(elem) {
+ active_post_id = false;
+}