Angeliki 6 years ago
commit 75328a6599

@ -358,7 +358,7 @@
</div> </div>
<div class='subrow'> <div class='subrow'>
<p class='subcl1'>Joca van der Horst</p> <p class='subcl1'>Joca van der Horst</p>
<p class='subcl2'><a href='2019/Joca_van_der_Horst/index.html' target="_blank" class='ext'>Smart Speaker Theatre</a></p> <p class='subcl2'><a href='smart-speaker-theatre/index.html' target="_blank" class='ext'>The Smart Speaker Theatre</a></p>
<p class='subcl3'><!--a href='test.pdf' target="_blank" class='ext'>PDF</a> // <a href='#2018-att3' class='int'>IMG</a--></p> <p class='subcl3'><!--a href='test.pdf' target="_blank" class='ext'>PDF</a> // <a href='#2018-att3' class='int'>IMG</a--></p>
</div> </div>
<div class='subrow'> <div class='subrow'>

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

@ -45,8 +45,6 @@ function getWelcomeText() {
function botReply(message){ function botReply(message){
message_container.innerHTML += `<div class="bot">${message}</div>`; message_container.innerHTML += `<div class="bot">${message}</div>`;
location.href = '#edge'; location.href = '#edge';
document.querySelector(".chat").scrollTop = document.querySelector(".chat").scrollHeight;
document.title = '(1) - Smart Speaker Theatre'
} }
function selfReply(message){ function selfReply(message){
@ -58,6 +56,8 @@ function selfReply(message){
setTimeout(function() { setTimeout(function() {
botReply(reply); botReply(reply);
}, getRandomNumber(425, 1000, 200)); // Random delay for answer between 225 and 1000 ms, with 200ms increments }, getRandomNumber(425, 1000, 200)); // Random delay for answer between 225 and 1000 ms, with 200ms increments
document.querySelector(".chat").scrollTop = document.querySelector(".chat").scrollHeight;
document.title = '(1) - Smart Speaker Theatre'
}); });
} }
Loading…
Cancel
Save