Personal tools

User:Hisa/SemanticSbox: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
(Blanked the page)
No edit summary
Line 1: Line 1:


<html>
<style type="text/css" title="currentStyle">
@import "/resource_browser/rb_js/datatables/media/css/jquery.dataTables.css";
</style>
<script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/media/js/jquery.dataTables.js"></script>
<script type="text/javascript" language="javascript" src="/resource_browser/rb_js/datatables/media/js/datatables.sortdefs.js"></script>
<script type="text/javascript" charset="utf-8">
var aDataSet =
[
</html>
{{#ask:[[Concept:Coexpression_clusters_major]]|mainlabel=-|?id|?full_id|?Cp_member_count|format=template|template=Triplecolumn_to_array|sort=Cp_member_count|order=desc|sep=,|limit=310}}
<html>
];
$(document).ready(function() {
$('#dynamic').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' );
$('#example').dataTable( {
"iDisplayLength": 25,
"aLengthMenu": [[25, 100, -1], [25, 100, "All"]],
"aaData": aDataSet,
"aoColumns": [
{ "sTitle": "Id", "bSortable": false,
"fnRender": function(obj) {
var id = obj.aData[ obj.iDataColumn ];
return sReturn = "<a href=\"/resource_browser/Coexpression_cluster:"+id+"\">"+id.slice(1)+"</a>";
}},
{ "sTitle": "Full id", "bSortable": false},
{ "sTitle": "Number of FFCP members", "bSortable": false}
]
} );
} );
</script>
<div id="dynamic"></div>
</html>

Revision as of 13:31, 19 September 2012