File tree 2 files changed +13
-6
lines changed
2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,14 @@ function displayNode(_nodeIndex, _recentre) {
138
138
} ) ;
139
139
} ) ;
140
140
_str += '<h3><div class="largepill" style="background: ' + _d . color . base + '"></div>' + _d . label + '</h3>' ;
141
- _str += '<h4>' + strLang ( "nodeAttr" ) + '</h4>' ;
142
- _str += '<ul><li><b>id</b> : ' + _d . id + '</li>' ;
141
+ // _str += '<h4>' + strLang("nodeAttr") + '</h4>';
142
+ // _str += '<ul><li><b>id</b> : ' + _d.id + '</li>';
143
143
for ( var i in _d . attributes ) {
144
- _str += '<li><b>' + strLang ( i ) + '</b> : ' + _d . attributes [ i ] + '</li>' ;
144
+ if ( _d . attributes [ i ] . indexOf ( "http" ) != - 1 ) {
145
+ _str += '<li><b>' + strLang ( i ) + '</b> : <a href="' + _d . attributes [ i ] + '" target="_blank">Acceder a Web</a></li>' ;
146
+ } else {
147
+ // _str += '<li><b>' + strLang(i) + '</b> : ' + _d.attributes[i] + '</li>';
148
+ }
145
149
}
146
150
_str += '</ul><h4>' + ( GexfJS . graph . directed ? strLang ( "inLinks" ) : strLang ( "undirLinks" ) ) + '</h4><ul>' ;
147
151
for ( var i in GexfJS . graph . edgeList ) {
@@ -847,4 +851,4 @@ $(document).ready(function() {
847
851
}
848
852
return false ;
849
853
} ) ;
850
- } ) ;
854
+ } ) ;
Original file line number Diff line number Diff line change 4
4
5
5
body {
6
6
font-family : Helvetica, Arial, sans-serif; font-size : 12px ;
7
- background-color : # e0e0e8 ; color : # 204020 ; margin : 0 ;
7
+ /* background-color: #e0e080; color: #204020; margin: 0;*/
8
+ background-color : # cfb590 ; color : # 204020 ; margin : 0 ;
8
9
}
9
10
10
11
.clear {
11
12
clear : both;
12
13
}
13
14
15
+ /*
14
16
.gradient {
15
17
background-color: #f0f0f8;
16
18
background-image: -webkit-radial-gradient(#ffffff, #d8d8e0); background-image: -moz-radial-gradient(#ffffff, #d8d8e0);
17
19
}
20
+ */
18
21
19
22
/* EN HAUT */
20
23
@@ -271,4 +274,4 @@ a:hover {
271
274
272
275
# autocomplete img {
273
276
float : left; border : 0 ; width : 24px ; height : 24px ; margin : 2px 6px ;
274
- }
277
+ }
You can’t perform that action at this time.
0 commit comments