|
|
@ -108,9 +108,9 @@ d3.json("/static/js/group1.json", function(error, json) { |
|
|
|
var dada = document.getElementById("textdadaloglu"); |
|
|
|
dada.className += " active"; |
|
|
|
dada.scrollIntoView(); |
|
|
|
var audio1 = document.getElementById("audio-1"); |
|
|
|
var audio1 = document.getElementById("audioBG"); |
|
|
|
audio1.currentTime = 12; |
|
|
|
// audio1.play();
|
|
|
|
audio1.play(); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
@ -120,12 +120,12 @@ d3.json("/static/js/group1.json", function(error, json) { |
|
|
|
var muh = document.getElementById("textasikA"); |
|
|
|
muh.className += " active"; |
|
|
|
muh.scrollIntoView(); |
|
|
|
var audio2 = document.getElementById("audio-1"); |
|
|
|
audio2.currentTime = 50; |
|
|
|
// audio2.play();
|
|
|
|
var audio2 = document.getElementById("audioBG"); |
|
|
|
audio2.currentTime = 120; |
|
|
|
audio2.play(); |
|
|
|
}); |
|
|
|
|
|
|
|
//pop-up
|
|
|
|
//stop events when clicking somewhere else
|
|
|
|
$(document).click(function (e) { |
|
|
|
if (!$(e.target).parents().andSelf().is('#dadaloglu')) { |
|
|
|
$("#showdadaloglu").fadeOut(); |
|
|
@ -135,10 +135,12 @@ d3.json("/static/js/group1.json", function(error, json) { |
|
|
|
}; |
|
|
|
if (!$(e.target).parents().andSelf().is('#asikA')) { |
|
|
|
$("#showasikA").fadeOut(); |
|
|
|
$("audioasikA").trigger('pause'); |
|
|
|
$("#audioasikA").trigger('pause'); |
|
|
|
var textmuh = document.getElementById("textasikA"); |
|
|
|
textmuh.classList.remove("active"); |
|
|
|
}; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|