Skip to content
Snippets Groups Projects
Commit c8e46d0e authored by Yohan Jarosz's avatar Yohan Jarosz
Browse files

separate mg & mt kronaplots

parent a8c55441
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
......@@ -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');
}
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment