Greetings, I'm trying to display a custom track where clicking each individual items within the track leads to a documentation page specific to said items, much like how gene tracks are displayed, where clicking on an individual gene brings up a specific gene-card.
I've found a post from 2004 in this mailing list giving details on how this could be done ( https://lists.soe.ucsc.edu/pipermail/genome/2004-July/005185.html ). However, this information is either not current or I'm not reading it correctly, as I've been unable to make use of it to solve my problem. Namely: 1) I've found the "url" track attribute to be ignored. Other documentation mentioned the htmlUrl attribute, but this one does not seem to expand the variables mentionned in message I've linked to. For example, my current track information is "track name=myTestTrack description="Some FooBar'ed track" visibility=2 htmlUrl=http://mydomain.com/$$.html", and fails to load data from a file named MyTrackItem.html. 2) It seems that the htmlUrl attribute causes the text content of the page to be obtained and pasted in the description page, which makes it impossible to put image data there. I guess if the variable expansion work, I can just use this area to display an external link with richer data formatting options. However, the very best would be if clicking on the item in the genome browser itself linked directly to the external page. Is that possible? This point was also touched in the message I linked, but no answers were provided. I'm trying to avoid having to mirror the UCSC Genome browser locally to achieve this, but I can probably do it if it's absolutely necessary. Thanks a lot for any help, -Eric fournier _______________________________________________ Genome maillist - [email protected] https://lists.soe.ucsc.edu/mailman/listinfo/genome
