Personal tools

User:Hisa: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
<html>
<script type="text/javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/resource_browser/rb_js/datatables/extras/TableTools/media/js/TableTools.min.js"></script>
<script type="text/javascript" src="/resource_browser/rb_js/datatables/media/js/datatables.sortdefs.js"></script>
<style type="text/css" title="currentStyle">
@import "/resource_browser/rb_js/datatables/media/css/jquery.dataTables.css";
@import "/resource_browser/rb_js/datatables/extras/TableTools/media/css/TableTools.css";
</style>
<script type="text/javascript">
$(document).ready(function() {
var oTable =  $('.doid_list').dataTable({
"iDisplayLength": 25,
"aLengthMenu": [[25, 100, 500, -1], [25, 100, 500, "All"]],
"aoColumnDefs": [ { "sType": "num-html", "aTargets": [0] }, {"bSortable": false, "fnCreatedCell": function(nTd, sData, oData, iRow, iCol) {if(oData[2]){$(nTd).html( '<center><img width=50 height=50 src="http://lifesciencedb.jp/bp3d/icon.cgi?i=' + oData[2] + '&p=front&v=3%2e0&t=conventional&c=1&m=bp3d&s=S"></center>');}}, "aTargets": [2]}]
});
var oTableTools = new TableTools( oTable, {"sSwfPath": "/resource_browser/rb_js/datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf", "aButtons": [ {"sExtends": "copy", "mColumns": "visible"}, {"sExtends": "csv", "mColumns": "visible"}, {"sExtends": "pdf", "mColumns": "visible"} ]});
$('#export_tool').before( oTableTools.dom.container );
} );
</script>
<span id="export_tool"></span>
</html>
{{#ask:[[Category:Uber Anatomy Ontology]]|mainlabel=ID|?Name|?Anatomical img id=Image|format=ttable|class=doid_list|limit=1500|searchlabel=}}


<!--
<!--

Revision as of 17:48, 19 February 2013