[Bio] / FigWebServices / genomebrowser.cgi Repository:
ViewVC logotype

Diff of /FigWebServices/genomebrowser.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Wed Feb 2 21:02:32 2005 UTC revision 1.2, Wed Feb 2 22:08:56 2005 UTC
# Line 47  Line 47 
47    
48  if ($cgi->param('genome')) {  if ($cgi->param('genome')) {
49   # draw the image   # draw the image
50     unshift @$html, "<TITLE>The SEED - Genome Browser </TITLE>\n";
51    
52   my %imagefns;   my %imagefns;
53   foreach my $kw   foreach my $kw
# Line 70  Line 71 
71   my $url = &FIG::temp_url . "/genomebrowser_$$.svg";   my $url = &FIG::temp_url . "/genomebrowser_$$.svg";
72    
73    
74   $image->write_image($filename);   my ($width, $height)=$image->write_image($filename);
75    
76   push @$html, $cgi->div({class=>"image"}, $cgi->object({class=>"genomebrowser", data=>"$url", width=>"100%", height=>"100%",   push @$html, $cgi->div({class=>"image"}, $cgi->object({class=>"genomebrowser", data=>"$url", width=>"$width", height=>"$height",
77           standby=>"Loading genome browser image, please be patient"},           standby=>"Loading genome browser image, please be patient"},
78           "There should have been an SVG graphic comparing the genomes that you have chosen here, however, you probably need to download ",           "There should have been an SVG graphic comparing the genomes that you have chosen here, however, you probably need to download ",
79           "the SVG viewer from <a href=\"http://www.adobe.com/svg/viewer/install/main.html\">Adobe</a> (yes, it is free)."),"\n",);           "the SVG viewer from <a href=\"http://www.adobe.com/svg/viewer/install/main.html\">Adobe</a> (yes, it is free)."),"\n",);
# Line 82  Line 83 
83    
84    
85  else {  else {
86   unshift @$html, "<TITLE>The SEED - PIR comparison page</TITLE>\n";   unshift @$html, "<TITLE>The SEED - Genome Browser </TITLE>\n";
87   &show_initial($fig,$cgi,$html);   &show_initial($fig,$cgi,$html);
88  }  }
89    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3