User:Serkan/test2/known1: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
var global_name=""; | var global_name=""; | ||
var motif_prefix=""; | |||
/* Formating function for row details */ | /* Formating function for row details */ | ||
Line 26: | Line 27: | ||
var sReturn = obj.aData[ obj.iDataColumn ]; | var sReturn = obj.aData[ obj.iDataColumn ]; | ||
sReturn = sReturn.split(":"); | sReturn = sReturn.split(":"); | ||
motif_prefix =sReturn[0]; | |||
return motif_prefix ; | |||
} | } | ||
}, | }, | ||
Line 34: | Line 36: | ||
global_name=SReturn_org ; | global_name=SReturn_org ; | ||
sReturn = sReturn.split(":"); | sReturn = sReturn.split(":"); | ||
if(motif_prefix ="JASPAR"){ | |||
sReturn = sReturn.split(";")[1]; | |||
} | |||
return '<a href=/resource_browser/User:Serkan/test2/'+global_name+'>'+sReturn[1]+'</a>';}} | return '<a href=/resource_browser/User:Serkan/test2/'+global_name+'>'+sReturn[1]+'</a>';}} | ||
, | , |
Revision as of 16:27, 19 April 2013