Browse Source

updated path to examplescreenshots

gh-pages
Alex de Mulder 9 years ago
parent
commit
8e32a95f6b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      network_examples.html

+ 2
- 2
network_examples.html View File

@ -71,7 +71,7 @@
var link = links[i];
if (link.className === 'exampleLink') {
var hrefArray = link.getAttribute('href').split('/');
var exampleName = hrefArray[hrefArray.length-1].replace('.html','');
var exampleName = hrefArray[hrefArray.length-2] + '/' + hrefArray[hrefArray.length-1].replace('.html','');
var linkRect = link.getBoundingClientRect();
var linkWidth = linkRect.right - linkRect.left;
@ -103,7 +103,7 @@
y:0
},
shape:'circle',
image:'./images/exampleScreenshots/network/'+(exampleName)+'.png',
image:'./images/exampleScreenshots/'+(exampleName)+'.png',
size:NORMAL_SIZE
});
edgesArray.push({from: idCounter, to: idCounter+'image', arrows:'from'});

Loading…
Cancel
Save