From 8e32a95f6b91b6b63c6f965b98943d29ae50e49f Mon Sep 17 00:00:00 2001 From: Alex de Mulder Date: Thu, 28 May 2015 10:48:28 +0200 Subject: [PATCH] updated path to examplescreenshots --- network_examples.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network_examples.html b/network_examples.html index 694c548d..d390698e 100644 --- a/network_examples.html +++ b/network_examples.html @@ -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'});