"; titles[3] = "Hiba Abouk, żona Achrafa Hakimiego
"; titles[4] = "Melanie Kamayou, partnerka Andra Onany
"; titles[5] = "Simona Guatieri, partnerka Keity Balde
"; titles[6] = "Pauline, żona Idrisy Gueye
"; titles[7] = "Fanny, partnerka Nicolasa Pepe
"; titles[8] = "Kalidou Koulibaly z Charline Oudenot
"; titles[9] = "Alysha Behague, żona Pierre'a-Emericka Aubameyanga
"; titles[10] = "Ismail Sarr z partnerką Fat Sy
"; titles[11] = "Gifty Boakye, partnerka Thomasa Parteya
"; titles[12] = "Yvonne, żona Andre Ayewa
"; titles[13] = "Eric Maxim Choupo-Moting z żoną Nevin
"; titles[14] = ""; titles[15] = ""; titles[16] = ""; titles[17] = ""; titles[18] = ""; titles[19] = ""; titles[20] = ""; titles[21] = ""; titles[22] = ""; titles[23] = ""; titles[24] = ""; titles[25] = ""; $('#show-less').click(function() { $('#show-less').hide(); $('#show-more').show(); $('.show-box').html(title.substring(0, 50) + '...'); resetTimerIter(); }); $('#show-more').click(function() { $('#show-more').hide(); $('#show-less').show(); $('.show-box').html(title); resetTimerIter(); }); $('#imgLeft').click(function() { instance.previous(); resetTimerIter(); }); $('#imgRight').click(function() { instance.next(); resetTimerIter(); }); }); function navHide() { if(isShow && isHide) { isHide = false; timer(); } } function timer() { $(this).oneTime(1000, function() { if(timerIter==0) { $(".m-pic-nav").fadeOut(500); $(".m-pic-pnav").fadeOut(500); $(".m-pic-pl").fadeOut(500); $(".m-pic-top").fadeOut(500); isShow = false; isHide = true; } else { timerIter --; timer(); } }); } function navShow() { if(!isShow) { $(".m-pic-nav").fadeIn(500); $(".m-pic-pnav").fadeIn(500); $(".m-pic-pl").fadeIn(500); $(".m-pic-top").fadeIn(500); isShow = true; resetTimerIter(); } } function resetTimerIter() { timerIter = 8; } //-->