- Timestamp:
- 08/20/13 11:17:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SMC/trunk/SMC/src/web/scripts/js/ui.js
r2487 r3432 56 56 57 57 58 // loading userdocs as welcome info 59 $(graph_container).load(userdocs_file + " div.document"); 60 61 loadDetailInfo (); 62 58 63 initGraph(); 59 loadDetailInfo ();60 64 61 65 … … 88 92 }); 89 93 90 $('#infovis-wrapper').resizable( {94 /* $('#infovis-wrapper').resizable( { 91 95 start: function(event, ui) { 92 96 graph_container.hide(); … … 97 101 } 98 102 } 99 ); 103 );*/ 100 104 101 $('#input-link').live("mousedown", function(event) {105 /*$('#input-link').live("mousedown", function(event) { 102 106 console.log(this); 103 107 $(this).attr("target", "_blank"); 104 108 $(this).attr("href", generateLink()); 105 109 }); 106 110 */ 107 111 $('#input-download').live("mousedown", genDownload); 108 112 … … 112 116 $(this).parent().find('.detail').toggle(); 113 117 }); 114 118 119 $(".node-item .detail a").live("click", function(event) { 120 event.preventDefault(); 121 key = $(this).attr("data-key"); 122 console.log(key); 123 selectNodeByKey([key]); 124 125 }); 126 127 128 $("a.scan").live("click", function(event) { 129 console.log(this); 130 event.preventDefault(); 131 url = $(this).attr("href"); 132 $(this).parent().find('.node-detail').html("loading"); 133 $(this).parent().find('.node-detail').load(url + " div.content"); 134 }); 135 115 136 116 137 }
Note: See TracChangeset
for help on using the changeset viewer.