User:Serkan: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<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/extras/TableTools/media/js/TableTools.min.js"></script> | |||
<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"> | <script type="text/javascript"> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$('.known_motif_list').dataTable( { | motif_table=$('.known_motif_list').dataTable( { | ||
"iDisplayLength": | "iDisplayLength": 50, | ||
"aLengthMenu": [[25, 100, -1], [25, 100, "All"]], | "aLengthMenu": [[25, 100, -1], [25, 100, "All"]], | ||
"aaSorting": [[1, "asc"]], | "aaSorting": [[1, "asc"]], | ||
Line 22: | Line 24: | ||
var motif_id = $(obj.aData[ obj.iDataColumn ]).text(); | var motif_id = $(obj.aData[ obj.iDataColumn ]).text(); | ||
var motif_prefix = motif_id ; | var motif_prefix = motif_id ; | ||
var motif_db = | var motif_db = obj.aData[obj.iDataColumn-1]; | ||
var sReturn =motif_db+"_motif:"+motif_id; | var sReturn =motif_db+"_motif:"+motif_id; | ||
return '<a href=/resource_browser/'+sReturn+'>'+motif_id+'</a>';} | return '<a href=/resource_browser/'+sReturn+'>'+motif_id+'</a>';} | ||
}, | }, | ||
{"aTargets":[1], "fnRender": function ( obj ) { | |||
var temp= $(obj.aData[ obj.iDataColumn ]).text(); | |||
return temp;} | |||
}, | |||
{"aTargets":[4], "fnRender": function ( obj ) { | |||
var temp= $(obj.aData[ obj.iDataColumn ]).text(); | |||
return parseFloat(temp).toFixed(5); } | |||
} | |||
] | ] | ||
} ); | } ); | ||
$('.dataTables_scrollBody').css("resize", "vertical"); | |||
motif_table_tools = new TableTools( motif_table, {"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"} ]}); | |||
$('#motif_export_tool').before( motif_table_tools.dom.container ); | |||
} ); | } ); | ||
Line 77: | Line 93: | ||
</html> | </html> | ||
{NAMESPACE}}<br> | |||
{{PAGENAME}}<br> | |||
{{BASEPAGENAME}}<br> | |||
{{BASEPAGENAMEE}}<br> | |||
{{SUBPAGENAME}} <br> | |||
{{SUBPAGENAMEE}}<br> | |||
{{FULLPAGENAME}}<br> | |||
{{TALKSPACE}} <br> | |||
{{TALKPAGENAME}} <br> | |||
{{SUBJECTSPACE}}<br> | |||
{{ARTICLESPACE}}<br> | |||
{{SUBJECTPAGENAME}}<br> | |||
{{ARTICLEPAGENAME}}<br> | |||
<span id = "motif_export_tool"></span> | |||
{{#ask:[[Category:MotifCluster2013March]] | {{#ask:[[Category:MotifCluster2013March]] | ||
|?Database=motif db | |?Database=motif db | ||
Line 87: | Line 117: | ||
|class=known_motif_list | |class=known_motif_list | ||
|offset=0 | |offset=0 | ||
|limit= | |limit=1000 | ||
|mainlabel=name | |mainlabel=name | ||
}} | }} | ||
Latest revision as of 17:11, 20 May 2013
{NAMESPACE}}
Serkan
Serkan
Serkan
Serkan
Serkan
User:Serkan
User talk
User talk:Serkan
User
User
User:Serkan
User:Serkan