cc3d3bdf3f311b210668ee91479a9b0a477d4fd4 larrym Thu Jun 7 12:26:44 2012 -0700 hBackgroundImage diff --git src/hg/hgGenome/browseRegions.c src/hg/hgGenome/browseRegions.c index b8c6a01..41779dc 100644 --- src/hg/hgGenome/browseRegions.c +++ src/hg/hgGenome/browseRegions.c @@ -24,31 +24,30 @@ /* Put up a frame with a list of links on the left and the * first link selected on the right. */ { struct genoGraph *gg = ggFirstVisible(); double threshold = getThreshold(); struct bed3 *bed, *bedList = regionsOverThreshold(gg); /* Define names of our two frames. */ char *browserFrame = "browser"; char *indexFrame = "index"; /* Write index html file. */ struct tempName indexTn; trashDirFile(&indexTn, "hgg", "index", ".html"); FILE *f = mustOpen(indexTn.forCgi, "w"); -htmlSetBackground(addSuffix("../",hBackgroundImage())); htmStart(f, "Region Index"); fprintf(f, "<BODY>"); fprintf(f, "<B>%s</B><BR>\n", gg->shortLabel); fprintf(f, "%3.1f Mb in<BR>\n", 0.000001*bedTotalSize((struct bed*)bedList)); fprintf(f, "%d regions > %g<BR>\n", slCount(bedList), threshold); for (bed = bedList; bed != NULL; bed = bed->next) { fprintf(f, "<A HREF="); quotedBrowserUrl(f, bed, gg); fprintf(f, " TARGET=\"%s\">", browserFrame); fprintf(f, "%s %3.1fM to %3.1fM</A><BR>", bed->chrom, 0.000001*bed->chromStart, 0.000001*bed->chromEnd); }