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/mkHubIndex.pl src/hg/makeDb/doc/asmHubs/mkHubIndex.pl
index 4b341b4..e1bcf30 100755
--- src/hg/makeDb/doc/asmHubs/mkHubIndex.pl
+++ src/hg/makeDb/doc/asmHubs/mkHubIndex.pl
@@ -226,31 +226,31 @@
 
   }
 
 print <<"END";
 The other links provide access to NCBI resources for these assemblies.
 END
 
 }	#	sub startHtml()
 
 ##############################################################################
 ### start the table output
 ##############################################################################
 sub startTable() {
 print '
 <table class="sortable" border="1">
-<thead><tr><th>count</th>
+<thead style="position:sticky; top:0;"><tr><th>count</th>
   <th>common&nbsp;name&nbsp;and<br>view&nbsp;in&nbsp;browser</th>
   <th>scientific name<br>and&nbsp;data&nbsp;download</th>
   <th>NCBI&nbsp;assembly</th>
   <th>BioSample</th>
 ';
 if ("viral" ne $asmHubName) {
   printf "  <th>BioProject</th>\n";
 }
 
 printf "<th>assembly&nbsp;date,<br>source&nbsp;link</th>\n";
 
 if ("legacy" eq $asmHubName) {
   printf "<th>clade</th>\n";
 }