Browse Source

nothing to commit

master
nglk 3 years ago
parent
commit
daf2a6d9fd
  1. 2
      index.html
  2. 7
      static/css/style.css
  3. 6
      static/js/d3_map.js

2
index.html

@ -153,6 +153,8 @@ $(document).ready(function() {
{
start: function(event, ui) { $(this).css('z-index', a++); }
});});
</script>

7
static/css/style.css

@ -397,18 +397,18 @@ h2 {
.topleft {
float: right;
cursor: pointer;
font-size: 100%;
font-size: 140%;
color: black;
}
.thesisX {
position: absolute;
z-index:5;
left: 46%;
left: 48%;
top: 14%;
float: right;
cursor: pointer;
font-size: 100%;
font-size: 140%;
color: black;
}
@ -416,6 +416,7 @@ h2 {
display: none;
}
/* about and colophon */
#menu {
margin-top: 15px;

6
static/js/d3_map.js

@ -69,10 +69,10 @@ d3.json("/static/js/group1.json", function(error, json) {
console.log('vid')
if (i.url) {
divVideo.transition().duration(100);
divVideo.html("<div class='draggable' id='showvideo'><span onclick=closevideo() class='topleft'> &nbsp; &times&nbsp;</span><iframe id='video" + i.id + "' width='300' height='150' src='" + i.url + "' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe></div>");
divVideo.html("<div id='showvideo'><span onclick=closevideo() class='topleft'> &nbsp; &times&nbsp;</span><iframe id='video" + i.id + "' width='300' height='150' src='" + i.url + "' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe></div>");
};
divBio.transition().duration(100);
divBio.html("<div class='draggable' id='showbio'><span onclick=closebio() class='topleft'> &nbsp; &times&nbsp;</span><div id='bio" + i.id + "'>" + i.bio + "</div>");
divBio.html("<div id='showbio'><span onclick=closebio() class='topleft'> &nbsp; &times&nbsp;</span><div id='bio" + i.id + "'>" + i.bio + "</div>");
popup(i.id, i.time);
})
.on("dblclick", connectedNodes)
@ -80,6 +80,7 @@ d3.json("/static/js/group1.json", function(error, json) {
force.on("tick", function() {
link.attr("x1", function(d) {
return d.source.x;
@ -101,6 +102,7 @@ d3.json("/static/js/group1.json", function(error, json) {
});
// highlight NodeLists//Toggle stores whether the highlighting is on
var toggle = 0;
//Create an array logging what is connected to what

Loading…
Cancel
Save