tom‎ > ‎


This HTML/Javascript file can be used as dynamic documentation with a local track on the UCSC genome browser at  The javascript makes an AJAX request to fetch a JSON formatted data file, which it parses and uses to manage the display of the documentation for the local track.  Very large local track files that span wide areas of the genome may want the documentation to change depending on where the current genome browser visitor is on the genome.  This experimental Javascript achieves that by finding the location being viewed, finding the interesting locations (via AJAX fetch of JSON datafile), and dynamically displaying the documentation that is relevant.   
Thomas Maher,
Oct 8, 2013, 9:32 AM