last update

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1552 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
rainwater 2002-11-01 23:01:34 +00:00
parent 14ce36b1f3
commit fb9423ffef
3 changed files with 11 additions and 2 deletions

Binary file not shown.

View file

@ -1074,17 +1074,17 @@ xhtml_add_contents_entry(FILE * fp, xhtmlsection * section, int limit)
fprintf(fp, "<ul>\n");
}
fprintf(fp, "<li>");
fprintf(fp, "<a href=\"%s#%s\">", section->file->filename,section->fragment);
fprintf(fp, "<a %shref=\"%s#%s\">",(section->para->type==para_Chapter||section->para->type==para_Appendix)?"class=\"btitle\" ":"", section->file->filename,section->fragment);
if (section->para->type==para_Chapter||section->para->type==para_Appendix) fprintf(fp, "<b>");
if ((section->para->type!=para_Heading&&section->para->type!=para_Subsect)||(section->para->kwtext&&!section->para->words)) {
xhtml_para(fp, section->para->kwtext);
if (section->para->words)
fprintf(fp, ": ");
}
if (section->para->type==para_Chapter||section->para->type==para_Appendix) fprintf(fp, "</b>");
if (section->para->words) {
xhtml_para(fp, section->para->words);
}
if (section->para->type==para_Chapter||section->para->type==para_Appendix) fprintf(fp, "</b>");
fprintf(fp, "</a></li>\n");
return TRUE;
}

View file

@ -15,4 +15,13 @@ a:hover {
background-color: #0000EA;
color: #FFFFFF;
text-decoration: none;
}
.btitle {
color: #000000;
text-decoration: underline;
}
.btitle:hover {
background-color: #F4F4F4;
color: #000000;
text-decoration: underline;
}