PageSourceSearch

https://obec-liptovskaanna.sk/idsk/themes/default/js/tts.js

js obec-liptovskaanna.sk collected 2026-10-03 18:58:02 UTC 841 bytes, 20 lines download raw bytes

1$(document).ready(function(){
2
3  $('.page_head_btns > ul > li > a.text-to-speech').html('<i class="text-to-speech-icon"></i>prečítať nahlas');
4
5  $('.page_head_btns > ul > li > a.text-to-speech').click(function(){
6    if(responsiveVoice.isPlaying()) {
7      $('.page_head_btns > ul > li > a.text-to-speech').html('<i class="text-to-speech-icon"></i>prečítať nahlas');
8      responsiveVoice.cancel();
9    }else{
10      responsiveVoice.speak($('.tts').text(), "Slovak Female",{"onend": function() { msgonend(); }});
11      $('.page_head_btns > ul > li > a.text-to-speech').html('<i class="text-to-speech-icon"></i><i class="fas fa-stop"></i> Zastaviť');
12    }
13
14  });
15
16  function msgonend() {
17    $('.page_head_btns > ul > li > a.text-to-speech').html('<i class="text-to-speech-icon"></i>prečítať nahlas');
18  }
19
20});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.