add active class for unexpanded cdm
This commit is contained in:
parent
472219f073
commit
1da5179c5d
7
cdm.css
7
cdm.css
|
@ -132,6 +132,10 @@ div.cdm.expanded.Unread.Selected div.cdmHeader, div.cdm.expanded.Selected div.cd
|
|||
background : #FFEA9E;
|
||||
}
|
||||
|
||||
div.cdm.active.Selected div.cdmHeader {
|
||||
background : #FFEA9E;
|
||||
}
|
||||
|
||||
div.cdm.expanded.even.Unread, div.cdm.expanded.odd.Unread {
|
||||
background : white;
|
||||
}
|
||||
|
@ -165,6 +169,7 @@ div.cdmHeader span.author {
|
|||
font-size : 11px;
|
||||
}
|
||||
|
||||
div.cdm.expanded div.cdmHeader a.title {
|
||||
div.cdm.expanded div.cdmHeader a.title, div.cdm.active div.cdmHeader a.title {
|
||||
font-size : 13px;
|
||||
}
|
||||
|
||||
|
|
|
@ -1392,6 +1392,7 @@ function cdmExpandArticle(id) {
|
|||
Element.hide(elem);
|
||||
Element.show("CEXC-" + getActiveArticleId());
|
||||
Element.hide(collapse);
|
||||
$("RROW-" + getActiveArticleId()).removeClassName("active");
|
||||
}
|
||||
|
||||
setActiveArticleId(id);
|
||||
|
@ -1413,6 +1414,7 @@ function cdmExpandArticle(id) {
|
|||
Element.show(elem);
|
||||
Element.hide("CEXC-" + id);
|
||||
Element.show(collapse);
|
||||
$("RROW-" + id).addClassName("active");
|
||||
}
|
||||
|
||||
var new_offset = $("RROW-" + id).offsetTop;
|
||||
|
|
Loading…
Reference in New Issue