Najnovije bojanke
Akcija mjeseca
svježa akcija
Najbolje ponude u julu
Požurite, ponude uskoro ističu!
Dani
Sati
Minuti
Sekunde
(function() {
// Wait for Elementor frontend to be fully initialized
window.addEventListener('elementor/frontend/init', function () {
const countdownEl = document.querySelector(".elementor-bookory-countdown");
if (countdownEl) {
const now = new Date();
const year = now.getFullYear();
const month = now.getMonth() + 1;
// Get the last day of the current month
const lastDay = new Date(year, month, 0);
lastDay.setHours(23, 59, 59);
const timestamp = Math.floor(lastDay.getTime() / 1000);
countdownEl.setAttribute("data-date", timestamp);
// Trigger a refresh only if the widget is already loaded
if (window.elementorFrontend && window.elementorFrontend.hooks) {
window.elementorFrontend.hooks.doAction('frontend/element_ready/global', countdownEl);
}
}
});
})();
function getCorrectLabel(value, forms) {
const lastTwo = value % 100;
const last = value % 10;
if (lastTwo >= 11 && lastTwo = 2 && last <= 4) return forms[1]; // "Sekunde"
return forms[2]; // "Sekundi"
}
function updateCountdownLabels() {
const days = parseInt(document.querySelector('.elementor-countdown-days')?.textContent || '0', 10);
const hours = parseInt(document.querySelector('.elementor-countdown-hours')?.textContent || '0', 10);
const minutes = parseInt(document.querySelector('.elementor-countdown-minutes')?.textContent || '0', 10);
const seconds = parseInt(document.querySelector('.elementor-countdown-seconds')?.textContent || '0', 10);
// Dan/Dana
const dayLabel = document.querySelector('.elementor-countdown-item.days .elementor-countdown-label');
if (dayLabel) dayLabel.textContent = days === 1 ? 'Dan' : 'Dana';
// Sat/Sata/Sati
const hourLabel = document.querySelector('.elementor-countdown-item.hours .elementor-countdown-label');
if (hourLabel) hourLabel.textContent = getCorrectLabel(hours, ['Sat', 'Sata', 'Sati']);
// Minut/Minuta
const minuteLabel = document.querySelector('.elementor-countdown-item.minutes .elementor-countdown-label');
if (minuteLabel) minuteLabel.textContent = getCorrectLabel(minutes, ['Minut', 'Minuta', 'Minuta']);
// Sekunda/Sekunde/Sekundi
const secondLabel = document.querySelector('.elementor-countdown-item.seconds .elementor-countdown-label');
if (secondLabel) secondLabel.textContent = getCorrectLabel(seconds, ['Sekunda', 'Sekunde', 'Sekundi']);
}
// Inicijalno pozivanje
updateCountdownLabels();
// Redovno ažuriranje
setInterval(updateCountdownLabels, 10);
-
Promo set #3
Ocenjeno sa 5 od 51€ 22,60Originalna cena je bila: € 22,60.€ 18,08Trenutna cena je: € 18,08. sa PDV-om -
Promo set #2
Ocenjeno sa 5 od 51€ 22,60Originalna cena je bila: € 22,60.€ 18,08Trenutna cena je: € 18,08. sa PDV-om -
Promo set #1
Ocenjeno sa 5 od 51€ 11,40Originalna cena je bila: € 11,40.€ 7,98Trenutna cena je: € 7,98. sa PDV-om
Posebna izdanja
-
Istražimo Crnu Goru || Prva banka Crne Gore
Ocenjeno sa 5 od 51Crnogorska bojanka: Istražimo Crnu Goru – specijalno izdanje za Prvu banku Crne Gore – dizajnirana kao kulturni vodič koji vodi… -
Narodne nošnje Poljske i Crne Gore || Ambasada Poljske u Crnoj Gori
Ocenjeno sa 5 od 51Specijalno izdanje bojanke rađeno u saradnji sa Ambasadom Poljske u Crnoj Gori. Ovo izdanje donosi pažljivo odabranu selekciju tradicionalnih nošnji… -
Boka Kotorska || Hotel Heritage Grand Perast
Ocenjeno sa 5 od 51Crnogorska bojanka: Boka Kotorska – specijalno izdanje za Hotel Heritage Grand Perast – oslikava šarm, istoriju i maštovitost ovog izuzetnog…
Najnoviji blog postovi i vijesti
Gdje kupiti?
Brojke o nama
7
članica tima
32
Izdanja
50.000+
Prodatih bojanki
101%
zadovoljni kupci