Browse Source

added about and colophon

master
nglk 4 years ago
parent
commit
7feea47ddc
  1. 14
      wells/index.html
  2. 23
      wells/static/css/style.css
  3. BIN
      wells/static/images/poster1.png
  4. 4
      wells/static/js/d3_map.js

14
wells/index.html

@ -37,6 +37,10 @@
</audio>
</div>
</div>
<div id="about">
<a href="#" >About</a>
</div>
<div id="showabout" class="draggable"><span onclick="this.parentElement.style.display='none'" class="topleft">&times</span><div>about texthjgjhghjgfhdgfhdgfhdsgfhsgfhsgdfjhgdsfhsfgdfjgsfgdshsgfhsgfffffffffffffdfhdsfjsgdfjgjdsgfsjdgfjshgdf</div>
</div>
</div>
</div>
@ -57,7 +61,8 @@
<img src="static/images/poem.png">
</div>
<div class="draggable" id="showasikA"><div class='text_audio'>Bio Aşık Ali İzzet</div><span onclick="this.parentElement.style.display='none'" class="topleft">&times</span><iframe width="300" height="150" id="videoasikA" src="https://www.youtube.com/embed/AnsVY_gjJns" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>
<div class="draggable" id="showasikA"><div class='text_audio'>Bio Aşık Ali İzzet</div><span onclick="this.parentElement.style.display='none'" class="topleft">&times</span><iframe width="300" height="80" id="videoasikA" src="https://www.youtube.com/embed/AnsVY_gjJns" frameborder="0" allowfullscreen="false" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>
<div class="draggable" id="showasikV"><div class='text_audio'>Bio</div><iframe width="300" height="150" src="https://www.youtube.com/embed/5_9PAugYb4s" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
@ -141,6 +146,13 @@ function includeHTML() {
includeHTML();
</script>
<script>
$("#about").click(function(){
$("#showabout").fadeIn()
console.log("around")
});
</script>
</div>
</body>
</html>

23
wells/static/css/style.css

@ -69,6 +69,7 @@ cursor: pointer;
}
/* Node styling */
.group2 {
@ -315,9 +316,29 @@ h2 {
float: right;
cursor: pointer;
font-size: 100%;
color: red;
color: black;
}
/* about and colophon */
/* #about {
} */
#showabout, #showcolophon {
display: none;
left: 20%;
background-image: url("../images/poster1.png");
word-wrap: break-word;
background-size: 100%;
width: 50%;
height: auto;
border: 1px solid black;
padding: 2%;
}
/*d3 map*/
.link {
stroke: #ccc;

BIN
wells/static/images/poster1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

4
wells/static/js/d3_map.js

@ -162,10 +162,12 @@ function popup(name,time) {
dada.className += " active";
dada.scrollIntoView();
var audio1 = document.getElementById("audioBG");
audio1.currentpopupTime = time;
audio1.currentTime = time;
audio1.play();
};
// <div class="draggable" id="showasikV"><div class='text_audio'>Bio</div><iframe width="300" height="150" src="https://www.youtube.com/embed/5_9PAugYb4s" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
//stop events when clicking somewhere else
$(document).click(function (e) {

Loading…
Cancel
Save