added about and colophon

This commit is contained in:
nglk 2020-12-04 11:42:36 +01:00
parent 1699cddad6
commit 7feea47ddc
4 changed files with 38 additions and 3 deletions

View File

@ -37,6 +37,10 @@
</audio> </audio>
</div> </div>
</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> </div>
</div> </div>
@ -57,7 +61,8 @@
<img src="static/images/poem.png"> <img src="static/images/poem.png">
</div> </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> <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(); includeHTML();
</script> </script>
<script>
$("#about").click(function(){
$("#showabout").fadeIn()
console.log("around")
});
</script>
</div> </div>
</body> </body>
</html> </html>

View File

@ -69,6 +69,7 @@ cursor: pointer;
} }
/* Node styling */ /* Node styling */
.group2 { .group2 {
@ -315,9 +316,29 @@ h2 {
float: right; float: right;
cursor: pointer; cursor: pointer;
font-size: 100%; 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*/ /*d3 map*/
.link { .link {
stroke: #ccc; stroke: #ccc;

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

View File

@ -162,10 +162,12 @@ function popup(name,time) {
dada.className += " active"; dada.className += " active";
dada.scrollIntoView(); dada.scrollIntoView();
var audio1 = document.getElementById("audioBG"); var audio1 = document.getElementById("audioBG");
audio1.currentpopupTime = time; audio1.currentTime = time;
audio1.play(); 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 //stop events when clicking somewhere else
$(document).click(function (e) { $(document).click(function (e) {