Browse Source

fixed delete thesis box

master
nglk 3 years ago
parent
commit
35cebcf5be
  1. 8
      index.html
  2. 5
      static/css/style.css
  3. 1
      static/js/d3_map.js

8
index.html

@ -132,7 +132,7 @@ publications, go to at.wdka.nl/hpresearchawards</div>
<div id="nothesis"> <div id="nothesis">
<div w3-include-html="thesis.html" id="thesis" class="draggable thesis"> <div w3-include-html="thesis.html" id="thesis" class="draggable thesis">
</div> </div>
<!-- <span onclick=closethesis() class="thesisX" >&times</span><span onclick=closethesis() class="thesisX" >&times</span> --> <span onclick=closethesis() class="thesisX" >&times</span><span onclick=closethesis() class="thesisX" >&times</span>
</div> </div>
</div> </div>
@ -236,9 +236,9 @@ includeHTML();
$("#showbio").hide() $("#showbio").hide()
} }
// function closethesis(){ function closethesis(){
// $("#nothesis").fadeOut() $("#nothesis").hide()
// } }

5
static/css/style.css

@ -404,7 +404,7 @@ h2 {
.thesisX { .thesisX {
position: absolute; position: absolute;
z-index:5; z-index:5;
left: 26%; left: 46%;
top: 14%; top: 14%;
float: right; float: right;
cursor: pointer; cursor: pointer;
@ -412,6 +412,9 @@ h2 {
color: black; color: black;
} }
#nothesis {
display: none;
}
/* about and colophon */ /* about and colophon */
#menu { #menu {

1
static/js/d3_map.js

@ -141,6 +141,7 @@ d3.json("/static/js/group1.json", function(error, json) {
function popup(name, time) { function popup(name, time) {
$("#show" + name).fadeIn() $("#show" + name).fadeIn()
console.log("around") console.log("around")
$("#nothesis").fadeIn()
$("#thesis").fadeIn() $("#thesis").fadeIn()
$("#bio" + name).fadeIn() $("#bio" + name).fadeIn()
var dada = document.getElementById("text" + name); var dada = document.getElementById("text" + name);

Loading…
Cancel
Save