enable floating title for expandable combined mode, minor expandable mode fixes
This commit is contained in:
parent
da0f023745
commit
7415fcf212
|
@ -110,6 +110,10 @@ div.cdm.expandable div.cdmHeader span.titleWrap {
|
||||||
max-width : 500px;
|
max-width : 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.cdm.expandable.active div.cdmHeader span.titleWrap {
|
||||||
|
white-space : normal;
|
||||||
|
}
|
||||||
|
|
||||||
div.cdm.expandable div.cdmHeader a.title {
|
div.cdm.expandable div.cdmHeader a.title {
|
||||||
font-weight : bold;
|
font-weight : bold;
|
||||||
color : #555;
|
color : #555;
|
||||||
|
|
|
@ -1315,7 +1315,7 @@ function headlines_scroll_handler(e) {
|
||||||
if (hsp) hsp.innerHTML = "";
|
if (hsp) hsp.innerHTML = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getInitParam("cdm_expanded") && isCdmMode()) {
|
if (isCdmMode()) {
|
||||||
updateFloatingTitle();
|
updateFloatingTitle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1489,6 +1489,12 @@ function cdmCollapseArticle(event, id, unmark) {
|
||||||
if (event) Event.stop(event);
|
if (event) Event.stop(event);
|
||||||
|
|
||||||
PluginHost.run(PluginHost.HOOK_ARTICLE_COLLAPSED, id);
|
PluginHost.run(PluginHost.HOOK_ARTICLE_COLLAPSED, id);
|
||||||
|
|
||||||
|
if (row.offsetTop < $("headlines-frame").scrollTop)
|
||||||
|
scrollToRowId(row.id);
|
||||||
|
|
||||||
|
Element.hide("floatingTitle");
|
||||||
|
$("floatingTitle").setAttribute("rowid", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in New Issue