diff --git a/lib/imp.html b/lib/imp.html index 7538f6384d2415c806ca2edd3d0762398e76b598..1f8a8e6a2a7586f891452fc5150949726eef90ec 100644 --- a/lib/imp.html +++ b/lib/imp.html @@ -167,12 +167,10 @@ <!-- ANNOTATION --> <div role="tabpanel" class="tab-pane fade" id="annotationmg"> <section id="annotation-section" class="row"> - <div class="row"> - <div class="page-header"> - <h1>MG annotation <small>Kronaplot</small></h1> - </div> - <iframe id="MG-kronaplot" src="Analysis/results/MG.gene_kegg_krona.html" style="position: absolute; width: 100%;height: 100%; border: none"></iframe> + <div class="page-header"> + <h1>MG annotation <small>Kronaplot</small></h1> </div> + <iframe id="MG-kronaplot" src="Analysis/results/MG.gene_kegg_krona.html" style="position: absolute; width: 100%;height: 100%; border: none"></iframe> </section> </div> diff --git a/lib/imp.js b/lib/imp.js index b00671087ebb54a6e33737f38d37197b41d65f0f..5381125e0856587899f2df4e9b98d7baeaefbf01 100644 --- a/lib/imp.js +++ b/lib/imp.js @@ -347,24 +347,3 @@ $('#tabs li:first > a').tab('show'); // // }); // }); - - -// //load krona plot -$("#MG-kronaplot").width( $('#wholecontent').width()).height( $('#wholecontent').height()); -$("#MT-kronaplot").width( $('#wholecontent').width()).height( $('#wholecontent').height()); - -// $("#kronaplot").load("Analysis/results/MG.gene_kegg_krona.html", function() { -// console.log('loaded'); -// }); - -// renderIframeCarousel('carousel-annotation', 'Analysis/results', [ -// 'MG.gene_kegg_krona.html' -// ]); - - -$('#annottab').on('show.bs.tab', function (e) { - if($("#MG-kronaplot").attr('src') === undefined){ - $("#MG-kronaplot").attr('src', 'Analysis/results/MG.gene_kegg_krona.html'); - $("#MT-kronaplot").attr('src', 'Analysis/results/MT.gene_kegg_krona.html'); - } -});