User:Serkan/test5: Difference between revisions
From FANTOM5_SSTAR
mNo edit summary |
mNo edit summary |
||
Line 108: | Line 108: | ||
} else { | } else { | ||
if (splitted[0].toString().indexOf("JASPAR_motif") > 0) { | if (splitted[0].toString().indexOf("JASPAR_motif") >= 0) { | ||
return_val = '<a href=\"/resource_browser/' + splitted[ | return_val = '<a href=\"/resource_browser/' + splitted[0] + '\"><img src=\"/resource_browser/seqlogos/jaspar/' + splitted[0].split[1] + '.png" class="ImageBorder" alt="' + splitted[0] + '">' + '</a>' + return_val; | ||
} else if (splitted[0].toString().indexOf("Swissregulon") > 0) { | } else if (splitted[0].toString().indexOf("Swissregulon") >= 0) { | ||
return_val = '<a href=\"/resource_browser/' + "Swissregulon:" + splitted[ | return_val = '<a href=\"/resource_browser/' + "Swissregulon:" + splitted[0] + '\"><img src=\"/resource_browser/seqlogos/' + splitted[0] + '.png" class="ImageBorder" alt="' + splitted[0] + '">' + '</a>' + return_val; | ||
} | } | ||
Revision as of 10:22, 18 April 2014
Mouse transcription factors