eb19eff7d841ca40ae2f574641f8a61178fcfc5a hiram Mon Mar 27 11:57:58 2023 -0700 the thead elements can be sticky so they always are visible refs #30508 diff --git src/hg/makeDb/doc/asmHubs/trackData.pl src/hg/makeDb/doc/asmHubs/trackData.pl index 8b8b7b9..47ed7c6 100755 --- src/hg/makeDb/doc/asmHubs/trackData.pl +++ src/hg/makeDb/doc/asmHubs/trackData.pl @@ -220,31 +220,31 @@ # order of columns in the table # eliminated the ncbiGene track my @trackList = qw(ncbiRefSeq xenoRefGene augustus ensGene gc5Base allGaps assembly rmsk simpleRepeat windowMasker cpgIslandExtUnmasked); ### XXX beware, this trackList is going to be edited below to add or ### remove elements depending upon the situation ############################################################################## ### start the table output ############################################################################## sub startTable() { # coordinate the order of these column headings with the @trackList listed above print '<table class="sortable" border="1"> -<thead><tr><th>count</th> +<thead style="position:sticky; top:0;"><tr><th>count</th> <th>common name<br>link to genome browser</th> '; print '<th class="sorttable_numeric">ncbiRefSeq</th> ' if ("viral" ne $asmHubName); print " <th class=\"sorttable_numeric\">ncbiGene</th>\n" if ($testOutput || ("viral" eq $asmHubName)); print ' <th class="sorttable_numeric">xenoRefGene</th> <th class="sorttable_numeric">augustus<br>genes</th> <th class="sorttable_numeric">Ensembl<br>genes</th> ' if ("viral" ne $asmHubName); print ' <th class="sorttable_numeric">gc5 base</th> ';