d1c83e6381e0dba3db4c89808a8833cb896d3bfc
kate
  Thu May 7 12:25:13 2020 -0700
Replace ? with jquery info icon. refs #23365

diff --git src/hg/lib/hui.c src/hg/lib/hui.c
index 4afbed2..3c90742 100644
--- src/hg/lib/hui.c
+++ src/hg/lib/hui.c
@@ -8650,33 +8650,48 @@
     jsIncludeFile("subCfg.js",NULL);
     }
 cgiDown(0.3);
 
 boolean hideSubtracksDefault;
 // TODO: Gray out or otherwise suppress when in multi-region mode 
 if (compositeHideEmptySubtracksSetting(tdb, &hideSubtracksDefault, NULL, NULL))
     {
     char *hideLabel = "Hide empty subtracks";
     hideLabel = trackDbSettingOrDefault(tdb, SUBTRACK_HIDE_EMPTY_LABEL, hideLabel);
     printf("<p><b>%s:</b> &nbsp;", hideLabel);
     char buf[128];
     safef(buf, sizeof buf, "%s.%s", tdb->track, SUBTRACK_HIDE_EMPTY);
     boolean doHideEmpties = compositeHideEmptySubtracks(cart, tdb, NULL, NULL);
     cgiMakeCheckBox(buf, doHideEmpties);
-    printf("<a class='toc' href='' title='Subtracks with no data in the browser window"
+
+    // info icon with explanatory text on mouseover
+    printf("<sub class='ui-icon ui-icon-info' style='display: inline-block;' title="
+                "'Subtracks with no data in the browser window"
                 " are hidden. Changing the browser window by zooming or scrolling may result"
-                " in display of a different selection of tracks.'>?</a>");
+                " in display of a different selection of tracks.'"
+                "</sub>");
+/* FA icons
+puts(
+"<!-- Info icon built from stacked fa icons -->\n"
+"           <a href='#INFO_SECTION' title='Jump to the track description'>\n"
+"               <span class='gbIconSmall fa-stack'>\n"
+"                   <i class='gbBlueDarkColor fa fa-circle fa-stack-2x'></i>\n"
+"                   <i class='gbWhiteColor fa fa-info fa-stack-1x'></i>\n"
+"               </span></a>\n"
+);
+*/
+
     printf("</p>");
     }
 
 if (trackDbCountDescendantLeaves(tdb) < MANY_SUBTRACKS && !hasSubgroups)
     {
     if (primarySubtrack)
         compositeUiSubtracksMatchingPrimary(db, cart, tdb,primarySubtrack);
     else
         compositeUiSubtracks(db, cart, tdb);
     return;
     }
 if (fakeSubmit)
     cgiMakeHiddenVar(fakeSubmit, "submit");
 
 if (primarySubtrack == NULL)