console.clear = () => {}
<div class="gallery__list">1
<a href="images/gallery-img-1.png" class="galleru__item galleru__item-prem single_image" data-fancybox="gallery">
<img src="images/gallery-img-1.png" alt="" class="largeImg">
</a>
<a href="images/gallery-img-1.png" class="galleru__item single_image" data-fancybox="gallery">
<img src="images/gallery-img-1.png" alt="">
</a>
<a href="images/gallery-img-2.png" class="galleru__item single_image" data-fancybox="gallery">
<img src="images/gallery-img-2.png" alt="">
</a>
<a href="images/gallery-img-3.png" class="galleru__item single_image" data-fancybox="gallery">
<img src="images/gallery-img-3.png" alt="">
</a>
</div>
<div class="gallery__list">2
<a href="images/gallery-img-1.png" class="galleru__item galleru__item-prem single_image" data-fancybox="gallery">
<img src="images/gallery-img-1.png" alt="" class="largeImg">
</a>
<a href="images/gallery-img-1.png" class="galleru__item single_image" data-fancybox="gallery">
<img src="images/gallery-img-1.png" alt="">
</a>
<a href="images/gallery-img-2.png" class="galleru__item single_image" data-fancybox="gallery">
<img src="images/gallery-img-2.png" alt="">
</a>
<a href="images/gallery-img-3.png" class="galleru__item single_image" data-fancybox="gallery">
<img src="images/gallery-img-3.png" alt="">
</a>
</div>
$(".gallery__list").mouseover(function () {
const thumbnail = event.target.closest(".single_image");
const largeImg = $(this).find('.largeImg');
if (!thumbnail) return;
largeImg[0].src = thumbnail.href;
largeImg[0].alt = thumbnail.title;
});
function showThumbnail(href, title) {
console.log('я сработал', href, title);
largeImg.src = href;
largeImg.alt = title;
}
var YandexTTS = function (options, callback) {
var params = {};
//required
params['key'] = options['developer_key'];
params['text'] = options['text']
//optional
params['format'] = options['format'] || 'mp3'
params['quality'] = options['quality'] || 'hi'
params['lang'] = options['lang'] || 'ru-RU';
params['speaker'] = options['speaker'] || 'alyss'
params['emotions'] = options['emotions'] || 'good'
var full_url = yandex_tts_url + qs.stringify(params);
var file = fs.createWriteStream(options['file']);
file.on('finish', callback);
request(full_url).pipe(file);
};
document.getElementById("myBtn").style.top = "100px";
document.getElementById("myBtn").style.top = 100;