09b32596f71fa9eac6a68820255b090f28546a05 tdreszer Mon Apr 25 14:04:06 2011 -0700 Checking in CGI usage of DOCTYPE 4.01 Transitional (instead of 3.2). Also removed some minor FONT tags that should be replaced by CSS. diff --git src/hg/lib/jsHelper.c src/hg/lib/jsHelper.c index b4273f6..680e44f 100644 --- src/hg/lib/jsHelper.c +++ src/hg/lib/jsHelper.c @@ -464,25 +464,25 @@ char collapseGroupVar[512]; safef(collapseGroupVar, sizeof(collapseGroupVar), "%s.section_%s_close", track, section); boolean isOpen = !cartUsualBoolean(cart, collapseGroupVar, !isOpenDefault); printf("<TR><TD width='20'><input type='hidden' name=\"%s\" id=\"%s\" value=\"%s\">\n", collapseGroupVar, collapseGroupVar, isOpen ? "0" : "1"); printf("<A HREF=\"%s?%s&%s=%s#%sGroup\" class='bigBlue'>\n", cgiScriptName(), cartSidUrlString(cart), collapseGroupVar, (isOpen ? "1" : "0"), section); char *buttonImage = (isOpen ? "../images/remove_sm.gif" : "../images/add_sm.gif"); printf("<IMG height='18' width='18' " "onclick=\"return setTableRowVisibility(this, '%s', '%s.section', 'section', true);\" " "id=\"%s_button\" src=\"%s\" alt=\"%s\" title='%s this section' class='bigBlue'>" "</A></TD>\n", section, track, section, buttonImage, (isOpen ? "-" : "+"), (isOpen ? "Collapse": "Expand")); -printf("<TD class='bigBlue'><FONT SIZE=4><B> %s</B></FONT></TD></TR>\n", sectionTitle); +printf("<TD class='bigBlue' style='font-size:medium;'><B> %s</B></TD></TR>\n", sectionTitle); printf("<TR %sid='%s-%d'><TD colspan=2>", isOpen ? "" : "style='display: none' ", section, 1); } void jsEndCollapsibleSection() /* End the collapsible <TR id=...>. */ { puts("</TD></TR>"); }