Personal tools

Cytoscape test: Difference between revisions

From FANTOM5_SSTAR

Jump to: navigation, search
No edit summary
No edit summary
Line 103: Line 103:
                      
                      
                     function handle_click(event) {
                     function handle_click(event) {
                        var target = event.target;
                        var target = event.target;
                       
var lurl = "https://fantom5-collaboration.gsc.riken.jp/resource_browser/RB_SearchResults?sq="+target.data["id"];
//alert(event.group);
if (event.group == "nodes") {
  var lurl = "https://fantom5-collaboration.gsc.riken.jp/resource_browser/index.php/RB_SearchResults?sq="+target.data["id"];
} else {
  var lurl = "https://fantom5-collaboration.gsc.riken.jp/resource_browser/RB_SearchResults?sq="+target.data["id"];
}
window.location = lurl;
window.location = lurl;
                     }
                     }

Revision as of 16:53, 23 April 2012

FF:10563-108A5

Cytoscape Web will replace the contents of this div with your graph.