6670ef9fcc219c28fed26eb4a4b327c32ed434fe
galt
  Fri Nov 14 11:50:42 2025 -0800
Improves the GUI on hgBlat page with popup icon suggestion from Max. refs #32857

diff --git src/hg/hgBlat/hgBlat.c src/hg/hgBlat/hgBlat.c
index 0816e941f76..3689277de00 100644
--- src/hg/hgBlat/hgBlat.c
+++ src/hg/hgBlat/hgBlat.c
@@ -2122,37 +2122,43 @@
 printf("</TD>\n");
 printf("</TR>\n");
 
 printf("<TR>\n");
 printf("<TD COLSPAN=1 ALIGN=CENTER style='overflow:hidden;white-space:nowrap;font-size:0.9em'>\n");
 cgiMakeCheckBoxWithId("allResults", allResults, "allResults");
 printf("<span id=allResultsText>All Results (no minimum matches)</span>");
 // clicking on the All Results text clicks the checkbox.
 jsOnEventById("click", "allResultsText", 
     "document.mainForm.allResults.click();"
     "return false;"   // cancel the default
     );
 printf("</TD>\n");
 
 printf("<TD COLSPAN=1 ALIGN=CENTER style='overflow:hidden;white-space:nowrap;font-size:0.9em'>\n");
+printf("<label for='autoRearr'>");
 cgiMakeCheckBoxWithId("autoRearr", autoRearr, "autoRearr");
-printf("<span id=autoRearrText>Automatically Turn on Rearrangement Mode in Custom Tracks</span>");
-// clicking on the autoRearr text clicks the checkbox.
-jsOnEventById("click", "autoRearrText", 
-    "document.mainForm.autoRearr.click();"
-    "return false;"   // cancel the default
-    );
+printf("<span> Optimize for Rearrangements </span>");
+printf("</label>");
+printInfoIcon("Rearrangement display (aka 'snakes' tracks) can show "
+"duplications of the query sequence using multiple lines and lines between "
+"fragments, see our "
+"<a href='/goldenPath/help/chain.html#rearrangement'>"
+"snakes documentation page"
+"</a>"
+"for more "
+"details. You can also switch this on or off on the BLAT track configuration "
+"page by checking the 'Rearrangement display' box.");
 printf("</TD>\n");
 
 printf("<TD COLSPAN=4 style='text-align:right'>\n");
 printf("<INPUT style=' font-size:1.0em; width:100px' TYPE=SUBMIT NAME=Submit VALUE=Submit>\n");
 printf("<INPUT style='font-size:1.0em' TYPE=SUBMIT NAME=Lucky VALUE=\"I'm feeling lucky\">\n");
 printf("<INPUT style='font-size:1.0em' TYPE=SUBMIT NAME=Clear VALUE=Clear>\n");
 printf("</TD>\n");
 printf("</TR>\n");
 
 printf("<TR>\n"); 
 puts("<TD COLSPAN=5 WIDTH=\"100%\">\n" 
     "Paste in a query sequence to find its location in the\n"
     "the genome. Multiple sequences may be searched \n"
     "if separated by lines starting with '>' followed by the sequence name.\n"
     "</TD>\n"