User:Hisa/SemanticSbox: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<style type="text/css" title="currentStyle"> | <style type="text/css" title="currentStyle"> | ||
@import "/resource_browser/rb_js/datatables/media/css/jquery.dataTables.css"; | @import "/resource_browser/rb_js/datatables/media/css/jquery.dataTables.css"; | ||
@import "/resource_browser/rb_js/datatables/extras/TableTools/media/css/TableTools.css"; | |||
</style> | </style> | ||
<script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.min.js"></script> | <script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.min.js"></script> | ||
</script> | <script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/extras/TableTools/media/js/TableTools.min.js"></script> | ||
</html> | </html> | ||
Line 22: | Line 23: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$('#ffcp_tf_enrichscore').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="ffcp_tf_enrichscore_cont"></table>' ); | $('#ffcp_tf_enrichscore').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="ffcp_tf_enrichscore_cont"></table>' ); | ||
var tf_enrich_tableex_obj = $('#ffcp_tf_enrichscore_cont').dataTable( { | |||
// "sDom": '<"toolbar">frtip', | |||
"sScrollY": "300px", | "sScrollY": "300px", | ||
"bPaginate": false, | "bPaginate": false, | ||
Line 43: | Line 44: | ||
"aaSorting": [[ 1, "desc" ]] | "aaSorting": [[ 1, "desc" ]] | ||
} ); | } ); | ||
var tf_enrich_tableex_objtool = new TableTools( tf_enrich_tableex_obj, {"sSwfPath": "/resource_browser/rb_js/datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf", "aButtons": [ {"sExtends": "copy", "mColumns": "visible"}, {"sExtends": "xls", "mColumns": "visible"}, {"sExtends": "pdf", "mColumns": "visible"} ]}); | |||
$('#tf_enrich_export_button').before( tf_enrich_tableex_objtool.dom.container ); | |||
// $("div.toolbar").html('<b>TF expression and enrichment</b>'); | |||
// $("div.toolbar").css('border-width', '0 0 2px 0'); | |||
// $("div.toolbar").css('border-color', '#6495ED'); | |||
// $("div.toolbar").css('border-style', 'solid'); | |||
} ); | } ); | ||
</script> | </script> | ||
<!-- tf enrich table: end--> | <!-- tf enrich table: end--> | ||
<div id="tf_enrich_export_button"></div> | |||
<div id="ffcp_tf_enrichscore | <div id="ffcp_tf_enrichscore"></div> | ||
</html> | </html> |
Revision as of 10:52, 6 September 2012