User:Serkan/test2/known1: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
var sReturn = obj.aData[ obj.iDataColumn ]; | var sReturn = obj.aData[ obj.iDataColumn ]; | ||
var SReturn_org = sReturn ; | var SReturn_org = sReturn ; | ||
global_name=SReturn_org ; | var browser_link=global_name=SReturn_org ; | ||
sReturn = sReturn.split(":"); | sReturn = sReturn.split(":"); | ||
var motif_prefix_tmp=sReturn[0]; | var motif_prefix_tmp=sReturn[0]; | ||
if(motif_prefix_tmp =="JASPAR"){ | if(motif_prefix_tmp =="JASPAR"){ | ||
sReturn = sReturn[1].split(";"); | sReturn = sReturn[1].split(";"); | ||
browser_link=motif_prefix_tmp +"_motif:"+sReturn[1]; | |||
} | } | ||
return '<a href=/resource_browser/User:Serkan/test2/'+ | return '<a href=/resource_browser/User:Serkan/test2/'+browser_link+'>'+sReturn[1]+'</a>';}} | ||
, | , | ||
{ "sTitle": "Sequence logos", "mData": 1, "mRender": function (data) { | { "sTitle": "Sequence logos", "mData": 1, "mRender": function (data) { |
Revision as of 17:03, 19 April 2013