Cytoscape test: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 106: | Line 106: | ||
var target = event.target; | var target = event.target; | ||
//alert(event.group); | |||
if (event.group == "nodes") { | |||
var lurl = "https://fantom5-collaboration.gsc.riken.jp/resource_browser/index.php/Swissregulon:"+target.data["id"]+".p1"; | |||
} else { | |||
var lurl = "https://fantom5-collaboration.gsc.riken.jp/resource_browser/RB_SearchResults?sq="+target.data["id"]; | |||
} | |||
window.location = lurl; | |||
} | } | ||
Revision as of 16:45, 23 April 2012
10563-108A5
Cytoscape Web will replace the contents of this div with your graph.