User:Serkan/test2/known1: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
var oTable; | var oTable; | ||
/* Formating function for row details */ | /* Formating function for row details */ | ||
$(document).ready(function() { | $(document).ready(function() { | ||
oTable = $('#example').dataTable( { | oTable = $('#example').dataTable( { | ||
"aaData": [ | "aaData": [ | ||
{ "0":"HOCOMOCO:ZFHX3_f1 | { "0":"HOCOMOCO:ZFHX3_f1" | ||
"1":HOCOMOCO:ARI3A_f1, | |||
"2":HOCOMOCO:HXD9_f1, | |||
"3":HOCOMOCO:PDX1_do, | |||
"4":HOCOMOCO:HXD4_f1, | |||
"5":HOCOMOCO:HXC8_f1, | |||
"6":HOCOMOCO:LHX3_f1, | |||
"7":JASPAR:Nobox;MA0125.1, | |||
"8":JASPAR:Nkx2-5 | |||
} | } | ||
], | ], | ||
"aoColumns": [ | "aoColumns": [ | ||
{ "sTitle": "motif type"}, | |||
{ "sTitle": "motif name", "mRender": function ( data, type, full ) { | { "sTitle": "motif name", "mRender": function ( data, type, full ) { | ||
return '<a href=/resource_browser/User:Serkan/test2/'+data+'>'+data+'</a>'; | return '<a href=/resource_browser/User:Serkan/test2/'+data+'>'+data+'</a>'; |
Revision as of 11:11, 15 April 2013