[Gmod-help] Balloon Popups
Scott Cain
cain.cshl at gmail.com
Fri Oct 31 08:48:44 EDT 2008
Hi Bert,
I cc'ed this to the GBrowse mailing list, since I assume you are
asking about balloons in the context of GBrowse.
You can put any html you want in a balloon, so you can put img
src="..." in there as well. You have access to the same built in
variables that you get when building links or other dynamically
generated content, like $name, $description, $start, and $end. You
can also use a perl callback to dynamically build the html string you
need if it is more complicated. If you haven't already done so, I
suggest you look at the GBrowse tutorial as a start. The section
http://gmod.org/gbrowse-cgi/tutorial/tutorial.html#multiple_alignments
has an example perl callback. In your case, you'd want a callback
that built and returned an html string.
Scott
On Thu, Oct 30, 2008 at 11:19 PM, bert dimock <bertdimock at gmail.com> wrote:
> If it is possible to open a balloon tip with an image insted of text, could
> you advise me how, or where I might look for such info.
>
> Thanks,
>
> Bert
>
--
------------------------------------------------------------------------
Scott Cain, Ph. D. scott at scottcain dot net
GMOD Coordinator (http://gmod.org/) 216-392-3087
Ontario Institute for Cancer Research
More information about the Gmod-help
mailing list