8 my %modes = ( clone_search => 0, microarray=>1, unigene=>2, bac=>3, bac_end=>4, genes=>5, feature=>6, converter=>7, ftp=>8, );
9 if (!$mode) { $mode="clone_search";}
10 if (!exists($modes{$mode})) { $mode = "clone_search"; }
13 <& /util/import_javascript.mas, classes => [ 'jqueryui' ] &>
15 <& /page/page_title.mas, title=>"Bulk Download" &>
20 jQuery( "#tabs" ).tabs({
21 //show: { effect: 'blind', duration: 800},
22 active: <% $modes{$mode} %>,
23 beforeLoad: function( event, ui ) {
24 ui.jqXHR.error(function() {
26 "Couldn't load this tab. We'll try to fix this as soon as possible. " +
27 "If this wouldn't be a demo." );
38 <li><a href="/tools/bulk/tabs/clone_tab">Clones</a></li>
39 <li><a href="/tools/bulk/tabs/array_tab">Arrays</a></li>
40 <li><a href="/tools/bulk/tabs/unigene_tab">Unigenes</a></li>
41 <li><a href="/tools/bulk/tabs/bac_tab">BACs</a></li>
42 <li><a href="/tools/bulk/tabs/bac_end_tab">BAC ends</a></li>
43 <li><a href="/tools/bulk/tabs/gene_tab">Genes</a></li>
44 <li><a href="/tools/bulk/tabs/feature_tab">Features</a></li>
45 <li><a href="/tools/bulk/tabs/converter_tab">Converter</a></li>
46 <li><a href="/tools/bulk/tabs/ftp_tab">FTP</a></li>