CINXE.COM
Uporaba pi拧kotkov
<!DOCTYPE html><!--[if IE 9 ]> <html class="no-js lt-ie10" lang="sl"> <![endif]--><!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="sl"> <!--<![endif]--><head><meta http-equiv="X-UA-Compatible" content="IE=Edge"/><meta charset="UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"><title>Uporaba pi拧kotkov</title><link rel="stylesheet" href="/design/nkolimpija/css/foundation.css?v=3.9.6.101" /><link rel="stylesheet" href="/design/nkolimpija/css/style.css?v=3.9.6.101" /><link rel="shortcut icon" href="/favicon.ico" /><meta name="keywords" content="uporaba pi拧kotkov" /><meta name="description" content="NK Olimpija spletna trgovina" /><meta name="author" content="Programski atelje A&Z" /><meta name="robots" content="all" /><meta name="googlebot" content="all" /><link rel="alternate" href="https://shop.nkolimpija.si/en/cookie-policy.html" hreflang="en" /><meta property="og:locale" content="sl_SI" /><meta property="og:locale:alternate" content="en_US" /><meta property="og:site_name" content="NK Olimpija" /><meta property="og:type" content="website" /><script src="/design/rwd/js/modernizr.js"></script><script type="application/ld+json">{"@graph":[]}</script></head><body lang="sl"><div id="page-wrapper" class="page-wrapper"><header id="main-header" class="main-header"><div class="main-header-top row"><div class="main-header-container small-12 columns"><div class="row"><div class="large-5 columns show-for-large-up"><div class="main-header-navi"><ul><li><a href="https://shop.nkolimpija.si/si/vstopnice.html" title="Vstopnice">Vstopnice</a></li><li><a href="https://shop.nkolimpija.si/si/paketi.html" title="Sezonske vstopnice in paketi">Sezonske vstopnice in paketi</a></li><li><a href="https://shop.nkolimpija.si/si/skupina/1179787/gostovanja.html" title="Gostovanja">Gostovanja</a></li><li><a href="https://shop.nkolimpija.si/si/clanske-kartice.html" title="膶lanstva">膶lanstva</a></li><li><a href="https://shop.nkolimpija.si/si/darilne-kartice.html" title="Darilni bon">Darilni bon</a></li><li><a href="https://shop.nkolimpija.si/si/shop.html" title="Artikli">Artikli</a></li><li><a href="https://shop.nkolimpija.si/si/skupina/1179788/paket-artiklov.html" title="Paket artiklov">Paket artiklov</a></li></ul></div></div><div class="small-4 large-2 columns"><div class="main-header-logo-container"><a href="http://www.nkolimpija.si" target="_blank"><img class="main-logo" src="/design/nkolimpija/img-nkol/nkolimpija-logo.png" alt="NK Olimpija" title="NK Olimpija" /></a></div></div><div class="small-8 large-5 columns"><nav id="main-navigation-account" class="main-navigation-account"><ul class="main-navigation-account-list"><li class="user-link show-for-large-up"><a href="https://shop.nkolimpija.si/si/prijavite-se.html" title="Prijavite se" class="header-navigation-link"><i class="fal fa-user"></i> <span>Prijavite se</span></a></li><li id="basketNav" class="basket-link"><span class="no-link"><i class="link-icon fal fa-shopping-bag"></i></span><a href="https://shop.nkolimpija.si/si/iskanje.html" title="Iskanje"><i class="link-icon fal fa-search"></i></a></li><li class="show-for-xlarge-up"><a href="https://www.facebook.com/nkolimpija"><i class="link-icon circle fab fa-facebook-f"></i></a></li><li class="show-for-xlarge-up"><a href="https://twitter.com/nkolimpija" class="twitter"><i class="link-icon circle"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="width: 20px; margin-top: 5px;"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"></path></svg></i></a></li><li class="show-for-xlarge-up"><a href="https://www.instagram.com/nkolimpija/" class="instagram"><i class="link-icon circle fab fa-instagram"></i></a></li><li class="show-for-xlarge-up"><a href="https://www.youtube.com/user/nkolimpijatv" class="youtube"><i class="link-icon circle fab fa-youtube"></i></a></li><li class="show-for-large-up"><a href="https://shop.nkolimpija.si/en/cookie-policy.html" hreflang="en" class="language"><img src="/design/nkolimpija/img-nkol/language/en.png" /></a></li><li class="menu hide-for-large-up"><a href="javascript:void(0)" id="main-navigation-toggle" class="main-navigation-toggle"><span class="link-text"><i class="fal fa-bars"></i></span></a></li></ul></nav></div></div></div></div></header><div class="hide-for-large-up"><nav id="main-navigation" class="main-navigation" style="display:none"><ul class="main-navigation-list"><li><a href="https://shop.nkolimpija.si/si/vstopnice.html" title="Vstopnice">Vstopnice</a></li><li><a href="https://shop.nkolimpija.si/si/paketi.html" title="Sezonske vstopnice in paketi">Sezonske vstopnice in paketi</a></li><li><a href="https://shop.nkolimpija.si/si/skupina/1179787/gostovanja.html" title="Gostovanja">Gostovanja</a></li><li><a href="https://shop.nkolimpija.si/si/clanske-kartice.html" title="膶lanstva">膶lanstva</a></li><li><a href="https://shop.nkolimpija.si/si/darilne-kartice.html" title="Darilni bon">Darilni bon</a></li><li><a href="https://shop.nkolimpija.si/si/shop.html" title="Artikli">Artikli</a></li><li><a href="https://shop.nkolimpija.si/si/skupina/1179788/paket-artiklov.html" title="Paket artiklov">Paket artiklov</a></li><li><a href="https://shop.nkolimpija.si/si/iskanje.html" title="Iskanje">Iskanje</a></li><li><a href="javascript:void(0)" title="Ko拧arica">Ko拧arica (0)</a></li><li><a href="https://shop.nkolimpija.si/si/prijavite-se.html" title="Prijavite se"><span class="link-text">Prijavite se</span></a></li><li class="social-icons"><a href="https://www.facebook.com/nkolimpija"><i class="link-icon fab fa-facebook-f"></i></a><a href="https://twitter.com/nkolimpija" class="twitter"><i class="link-icon" style="display: inline-block;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="vertical-align: middle; width: 17px;"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"></path></svg></i></a><a href="https://www.instagram.com/nkolimpija/" class="instagram"><i class="link-icon fab fa-instagram"></i></a><a href="https://www.youtube.com/user/nkolimpijatv" class="youtube"><i class="link-icon fab fa-youtube"></i></a></li><li class="languages"><a href="https://shop.nkolimpija.si/en/cookie-policy.html" hreflang="en"><img src="/design/nkolimpija/img-nkol/language/en.png" /></a></li></ul></nav></div> <section id="main-container" class="main-container"><div id="main-wrapper" class="main-wrapper white-background row"><main id="main-content" class="main-content white-background small-12 columns"><article><header><h1>Uporaba pi拧kotkov</h1></header><section class="static-content cookie-policy"><div class="row"><div class="small-12 columns"><h2><a id="t1" name="t1">Pi拧kotki</a></h2>Pi拧kotki so majhne datoteke, pomembne za delovanje spletnih strani, najve膷krat izbolj拧ajo in olaj拧ajo uporabni拧ko izku拧njo (npr. shrani podatke o nastavitvah spletne strani, da uporabniku ni potrebno pri vsakem obisku spreminjati nastavitve).<br /><br /> Pi拧kotek obi膷ajno vsebuje zaporedje 膷rk in 拧tevilk, ki se nalo啪i na uporabnikov ra膷unalnik, ko ta obi拧膷e dolo膷eno spletno stran. Ob vsakem ponovnem obisku bo spletna stran pridobila podatek o nalo啪enem pi拧kotku in uporabnika oz. napravo za dostop do spleta prepoznala.<br /><br /> Poleg funkcije izbolj拧anja uporabni拧ke izku拧nje je njihov namen razli膷en. Pi拧kotki se lahko uporabljajo tudi za analizo vedenja ali prepoznavanje uporabnikov.</div></div></section><section class="static-content cookie-policy"><div class="row"><div class="small-12 columns"><h2><a id="t2" name="t2">Vrste oziroma tipi pi拧kotkov, ki obstajajo</a></h2><b>Nujno potrebni pi拧kotki</b><br /> Ti pi拧kotki so bistvenega pomena, da vam omogo膷ajo premikanje po spletni strani in uporabo funkcionalnoti, kot so dostop do varnih obmo膷ij spletne strani. Brez teh pi拧kotkov servisi, ki jih 啪elite uporabljati na tej strani, ne bi delovali pravilno (npr. prijava, nakupni proces, ...).<br /><br /> <b>Analiti膷ni pi拧kotki</b><br /> Ti pi拧kotki zbirajo informacije o tem, kako se obiskovalci vedejo na spletni strani z namenom izbolj拧anja funkcionalnosti spletne strani (npr: katera spletna stran je najbolj obiskovana). Ti pi拧kotki ne zbirajo informacij, preko katerih bi lahko identificirali uporabnika. Vse informacije, ki jih ti pi拧kotki zberejo, so anonimne.<br /><br /> <b>Funkcionalni pi拧kotki</b><br /> Ti pi拧kotki omogo膷ajo spletni strani, da si zapomni va拧e nastavitve in izbire (npr: uporabni拧ko ime, jezik, regijo) in zagotavlja napredne, presonalizirane funkcije.<br /><br /> <b>Oglasni ali ciljani pi拧kotki</b><br /> Tovrstne pi拧kotke najpogosteje uporabljajo ogla拧evalska in dru啪abna omre啪ja (tretje strani) z namenom, da vam prika啪ejo bolj ciljane oglase, omejujejo ponavljanje oglasov ali merijo u膷inkovitost ogla拧evalskih akcij. Tovrstni pi拧kotki lahko omogo膷ajo sledenje va拧im akcijam na spletu.</div></div></section><section class="static-content cookie-policy"><div class="row"><div class="small-12 columns"><h2><a id="t3" name="t3">Vrste pi拧kotkov, ki jih uporabljamo na tej spletni strani </a></h2>Analiti膷ni pi拧kotki<br />Funkcionalni pi拧kotki</div></div></section><section class="static-content cookie-policy"><div class="row"><div class="small-12 columns"><h2><a id="t4" name="t4">Urejanje pi拧kotkov</a></h2>Prosimo, sledite spodnjim navodilom za izbrani spletni brskalnik:<br /><br /> <span id="chrome"></span><span class="browser">Chrome</span><br /><br /> Kliknite Chromov meni v orodni vrstici brskalnika.<br /> Izberite <b>Nastavitve</b>.<br /> Kliknite <b>Prika啪i dodatne nastavitve</b>.<br /> V razdelku "Zasebnost" kliknite <b>Nastavitve vsebine</b>.<br /> <br /><br /> <span id="ie10"></span><span class="browser">Internet Explorer</span><br /><br /> Kliknite gumb <b>Orodja</b>, nato pa 拧e <b>Internetne mo啪nosti</b>.<br /> Kliknite zavihek <b>Zasebnost</b> in v razdelku <b>Nastavitve</b> premaknite drsnik do vrha, 膷e 啪elite blokirati vse pi拧kotke, ali do dna, 膷e 啪elite dovoliti vse pi拧kotke, in nato kliknite V redu. S klikom na 'Strani' lahko dolo膷ite nastavitve pi拧kotkov za posamezne spletne strani.<br /> <br /><br /> <span id="ff35"></span><span class="browser">Firefox</span><br /><br /> Kliknite gumb <b>Orodja</b>, nato pa 拧e <b>Mo啪nosti</b>.<br /> Klinite zavihek <b>Zasebnost</b> in nastavite <b>Firefox naj</b>: na <b>Uporablja posebne nastavitve za zgodovino</b>.<br /> Kliknite na gumb <b>Prika啪i pi拧kote...</b>.<br /> Odprlo se bo okno z vsemi pi拧kotki, ki so shranjeni na va拧em ra膷unalniku.<br /> <br /><br /> <span id="safari3"></span><span class="browser">Apple Safari</span><br /><br /> Kliknite gumb <b>Uredi</b> in nato izberite <b>Nastavitve</b>.<br /> Kliknite zavihek <b>Zasebnost</b>.<br /><br /> <br /> Na voljo je tudi celovit vodnih o brisanju pi拧kotkov tudi za ostale spletne brskalnike, ki je na voljo na: <a href="https://www.aboutcookies.org/how-to-manage-and-delete-cookies" target="_blank">https://www.aboutcookies.org/how-to-manage-and-delete-cookies</a>.</div></div></section><section class="static-content cookie-policy"><div class="row"><div class="small-12 columns"><h2><a id="t5" name="t5">Pi拧kotki iz te spletne strani</a></h2></div></div></section><section class="static-content cookie-list"><table style="width: 100%"><thead><tr><th>Ime pi拧kotka</th><th>Namen</th><th>膶as trajanja</th><th>Organizacija</th></tr></thead><tbody><tr class="section-heading"><td colspan="4">Na拧i pi拧kotki</td></tr><tr><td>AutoLogin</td><td>Avtomatska prijava v spletno stran</td><td>1 mesec</td><td>Programski atelje A&Z</td></tr><tr><td>cookieperf</td><td>Skrije obvestilo o pi拧kotkih na spletni strani</td><td>1 leto</td><td>Programski atelje A&Z</td></tr><tr class="section-heading"><td colspan="4">Pi拧kotki drugih organizacij</td></tr><tr><td>__ga</td><td>Statistika obiska (Google Analytics)</td><td>2 leti</td><td>Google</td></tr><tr><td>__gat</td><td>Statistika obiska (Google Analytics)</td><td>1 minuta</td><td>Google</td></tr><tr><td>__gid</td><td>Statistika obiska (Google Analytics)</td><td>1 dan</td><td>Google</td></tr><tr><td>__gali</td><td>Statistika obiska (Google Analytics)</td><td>1 minuta</td><td>Google</td></tr><tr><td>NID</td><td>Maps</td><td>6 mesecev</td><td>Google</td></tr><tr><td>PREF</td><td>Maps</td><td>2 leti</td><td>Google</td></tr><tr><td>c_user</td><td>Prijava s Facebook-om</td><td>Za膷asni ali sejni pi拧kotki</td><td>Facebook</td></tr><tr><td>locale</td><td>Facebook</td><td>7 dni</td><td>Facebook</td></tr><tr><td>use_hitbox</td><td>Prikaz video vsebin</td><td>Za膷asni ali sejni pi拧kotki</td><td>YouTube</td></tr><tr><td>CONSENT</td><td>Prikaz video vsebin</td><td>20 let</td><td>YouTube</td></tr><tr><td>GPS</td><td>Prikaz video vsebin</td><td>30 minut</td><td>YouTube</td></tr><tr><td>VISITOR_INFO1_LIVE</td><td>Prikaz video vsebin</td><td>8 mesecev</td><td>YouTube</td></tr><tr><td>YSC</td><td>Prikaz video vsebin</td><td>Za膷asni ali sejni pi拧kotki</td><td>YouTube</td></tr><tr><td>PERF</td><td>Prikaz video vsebin</td><td>8 mesecev</td><td>YouTube</td></tr><tr><td>ct0</td><td>Twitter</td><td>6 ur</td><td>Twitter</td></tr><tr><td>_twitter_sess</td><td>Twitter</td><td>Za膷asni ali sejni pi拧kotki</td><td>Twitter</td></tr><tr><td>eu_cn</td><td>Twitter</td><td>1 leto</td><td>Twitter</td></tr><tr><td>guest_id</td><td>Twitter</td><td>2 leti</td><td>Twitter</td></tr><tr><td>personalization_id</td><td>Twitter</td><td>2 leti</td><td>Twitter</td></tr><tr><td>ftw_exp</td><td>Twitter</td><td>14 dni</td><td>Twitter</td></tr></tbody></table></section></article> </main></div></section><div class="row"><div class="small-12 columns"><div id="sponsor-slider" class="sponsor-slider royalSlider rsDefault visibleNearby rsHor"><div><a href="https://www.triglavzdravje.si/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_Triglav-zdravje-2.png" /></a></div><div><a href="https://www.europlakat.si/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_Europlakat_Digital.png" /></a></div><div><a href="https://www.fmg.si/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_Facility-management-group-si.png" /></a></div><div><a href="https://www.gbkr.si/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_Gorjenjska_Banka.png" /></a></div><div><a href="https://www.hidrotehnik.si/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_hidrotehnik.png" /></a></div><div><a href="https://www.kostak.si/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_kostak.png" /></a></div><div><a href="https://www.ljubljana.si/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_Mestna-Ljubljana.png" /></a></div><div><a href="https://www.porscheverovskova.com/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_Porsche.png" /></a></div><div><a href="https://eu.puma.com/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_Puma.png" /></a></div><div><a href="https://www.sport-ljubljana.si/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_sport-ljubljana_olimpija.png" /></a></div><div><a href="https://www.tisk-pintar.si/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_Tisk-Pintar.png" /></a></div><div><a href="https://www.union-experience.si/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner_Union.png" /></a></div><div><a href="https://www.mojekarte.si/" target="_blank"><img class="rsImg" src="/design/nkolimpija/img-nkol/partner/Partner-mojekarte.png" /></a></div></div></div></div><footer id="main-footer" class="main-footer"><div class="footer-wrapper row hide-for-print"><div class="footer-contact footer-item small-12 medium-6 large-3 columns"><h5>Kontakt</h5><p>Spletni portal upravlja dru啪ba</p><p>NK Olimpija Ljubljana</p><p>Dunajska cesta 167</p><p>SI-1000 Ljubljana</p><p>Slovenija, EU</p></div><div class="footer-offers footer-item small-12 medium-6 large-3 columns"><h5>Spletna prodaja</h5><ul><li><a href="https://shop.nkolimpija.si/si/vstopnice.html" title="Vstopnice">Vstopnice</a></li><li><a href="https://shop.nkolimpija.si/si/paketi.html" title="Sezonske vstopnice in paketi">Sezonske vstopnice in paketi</a></li><li><a href="https://shop.nkolimpija.si/si/skupina/1179787/gostovanja.html" title="Gostovanja">Gostovanja</a></li><li><a href="https://shop.nkolimpija.si/si/clanske-kartice.html" title="膶lanstva">膶lanstva</a></li><li><a href="https://shop.nkolimpija.si/si/darilne-kartice.html" title="Darilni bon">Darilni bon</a></li><li><a href="https://shop.nkolimpija.si/si/shop.html" title="Artikli">Artikli</a></li><li><a href="https://shop.nkolimpija.si/si/skupina/1179788/paket-artiklov.html" title="Paket artiklov">Paket artiklov</a></li></ul></div><div class="footer-other footer-item small-12 medium-6 large-3 columns"><h5>Koristne povezave</h5><ul><li><a href="https://www.nkolimpija.si/pogoji-poslovanja/" title="Splo拧ni pogoji uporabe">Splo拧ni pogoji uporabe</a></li><li><a href="https://cdn.mojekarte.si/m/0/140/documents/156-politika-zasebnosti-in-varstvo-osebnih-podatkov.pdf" title="Politika zasebnosti" target="_blank">Politika zasebnosti</a></li><li><a href="http://www.nkolimpija.si/kontakti" title="Kontakt">Kontakt</a></li></ul></div><div class="footer-account footer-item small-12 medium-6 large-3 columns"><h5>Moj ra膷un</h5><ul><li><a href="https://shop.nkolimpija.si/si/postanite-uporabnik.html" title="Postanite uporabnik">Postanite uporabnik</a></li><li><a href="https://shop.nkolimpija.si/si/prijavite-se.html" title="Prijavite se">Prijavite se</a></li><li><a href="https://shop.nkolimpija.si/si/pozabljeno-geslo.html" title="Ste pozabili va拧e geslo?">Ste pozabili va拧e geslo?</a></li></ul></div></div><div class="footer-powered-by text-center">Powered by <a href="https://www.mojekarte.com" target="blank" title="Mojekarte">Mojekarte™</a></div> </footer></div><div id="cookie-policy-notice" class="cookie-policy-notice"><p class="head-notice">Ta stran uporablja pi拧kotke.</p><p>Ve膷 informacij o uporabljenih pi拧kotkih in mo啪nostih v zvezi z njimi preberite <a href="https://shop.nkolimpija.si/si/uporaba-piskotkov.html">tukaj</a>. </p><a href="javascript:void(0);" id="hide-cookie-policy-notice" class="hide-cookie-policy-notice button tiny radius">Skrij obvestilo</a></div><script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script><script>if (!window.jQuery) { document.write('<script src="/design/rwd/js/jquery-2.2.4.min.js"><\/script>'); }</script><script src="//cdnjs.cloudflare.com/ajax/libs/foundation/5.5.3/js/foundation.min.js"></script><script>if (!jQuery().foundation) { document.write('<script src="/design/rwd/js/foundation-5.5.3.min.js"><\/script>'); }</script><script src="/design/rwd/js/picker.js"></script><script src="/design/rwd/js/picker.date.js"></script><script src="/js/loadJS.php?v=3.9.6.101"></script><script src="/languages/js_si/ajax_basket_strings-min.js?v=3.9.6.101"></script><script src="/languages/js_si/custom.js?v=3.9.6.101"></script> <script type="text/javascript"> PICKADATE = true;$(document).ready(function() {Foundation.libs.abide.settings.timeout = 10;$(document).foundation({equalizer: {equalize_on_stack: true}});Foundation.libs.abide.settings.patterns.password = /^.{1,120}$/;});$(function() { initDatePickYearMonthFirst(); /* initDatePick(); */ }); function initDatePick() { if (jQuery.isFunction(jQuery.fn.pickadate)) { p = jQuery(".date-pick").pickadate("picker"); if (typeof p == "undefined") { $(".date-pick").pickadate({ formatSubmit: "dd.mm.yyyy", editable: false, hiddenSuffix: '', selectMonths: true, selectYears: 100, }).prop('name', ''); } else { p.stop().start(); } } }; var currentYearMonth = []; var currentDatePicker = ""; var pickerValue = ""; var pickerParent = ""; var pickerBox = ""; var yearSelect = ""; var monthSelect = ""; var datePickers = document.getElementsByClassName("date-pick"); for (var i = 0; i < datePickers.length; i++) { currentYearMonth[datePickers[i].id] = ["", ""]; datePickers[i].addEventListener("mousedown", function() { currentDatePicker = this; pickerParent = currentDatePicker.parentElement; yearSelect = pickerParent.getElementsByClassName("picker__select--year"); monthSelect = pickerParent.getElementsByClassName("picker__select--month"); pickerBox = pickerParent.getElementsByClassName("picker__box"); }); } function initDatePickYearMonthFirst() { if (jQuery.isFunction(jQuery.fn.pickadate)) { p = jQuery(".date-pick").pickadate("picker"); if (typeof p == "undefined") { $(".date-pick").pickadate({ formatSubmit: "dd.mm.yyyy", editable: false, hiddenSuffix: '', selectYears: 100, selectMonths: true, closeOnSelect: true, onRender: function() { addYearMonthListeners(); }, onSet: function(context) { if (currentDatePicker != "") { if (currentYearMonth[currentDatePicker.id][0] != true && currentYearMonth[currentDatePicker.id][1] != true && pickerValue == "") { var highlight = context.highlight; if (highlight !== undefined && Array.isArray(highlight)) { $(".picker__nav--prev, .picker__nav--next, .picker__table, .picker__button--today, .picker__month").hide(); var tempSpan = document.createElement("div"); tempSpan.id = "yearLabel"; tempSpan.className = "year-label"; tempSpan.textContent = "Izberite leto in mesec:"; if (pickerBox != "") { pickerBox[0].insertBefore(tempSpan, pickerBox[0].firstChild); } } } } if ("clear" in context) { currentYearMonth[currentDatePicker.id] = ["", ""]; } }, onOpen: function() { if (currentDatePicker != "") { if (currentDatePicker != undefined) { pickerValue = currentDatePicker.value; } if (currentYearMonth[currentDatePicker.id][0] != true && currentYearMonth[currentDatePicker.id][1] != true && pickerValue == "") { $(".picker__nav--prev, .picker__nav--next, .picker__table, .picker__button--today, .picker__month").hide(); if (yearSelect != "" && monthSelect != "") { yearSelect[0].value = ""; monthSelect[0].value = ""; } var headers = document.getElementsByClassName("picker__header"); if (!pickerParent.querySelector("#yearLabel")) { var tempSpan = document.createElement("div"); tempSpan.id = "yearLabel"; tempSpan.className = "year-label"; tempSpan.textContent = "Izberite leto in mesec:"; if (pickerBox != "") { pickerBox[0].insertBefore(tempSpan, pickerBox[0].firstChild); } } addYearMonthListeners(); } else { $(".picker__nav--prev, .picker__nav--next, .picker__table, .picker__button--today, .picker__month").show(); } } } }).prop('name', ''); } else { p.stop().start(); } } }; function showCalendar() { var yearLabel = document.getElementById("yearLabel"); if (yearLabel != undefined) { yearLabel.remove(); } $(".picker__nav--prev, .picker__nav--next, .picker__table, .picker__button--today, .picker__button--clear, .picker__month").show(); }; function addYearMonthListeners() { if (yearSelect != "" && monthSelect != "") { yearSelect[0].addEventListener("change", function() { yearSelect[0].dataset.changed = "true"; if (currentYearMonth[currentDatePicker.id][1] == "") { monthSelect[0].value = ""; } $(".picker__month").show(); currentYearMonth[currentDatePicker.id][0] = true; if (currentYearMonth[currentDatePicker.id][0] == true && currentYearMonth[currentDatePicker.id][1] == true) { showCalendar(); } }); monthSelect[0].addEventListener("change", function() { monthSelect[0].dataset.changed = "true"; if (currentYearMonth[currentDatePicker.id][0] == "") { yearSelect[0].value = ""; } $(".picker__year").show(); currentYearMonth[currentDatePicker.id][1] = true; if (currentYearMonth[currentDatePicker.id][0] == true && currentYearMonth[currentDatePicker.id][1] == true) { showCalendar(); } }); } }jQuery(document).ready(function() {if( !(document.cookie.indexOf("cookiepref") >= 0)) {window.setTimeout(function() {jQuery("#cookie-policy-notice").slideDown('slow');}, 1500);jQuery("#hide-cookie-policy-notice").click(function() {jQuery("#cookie-policy-notice").slideUp(500);SetCookie("cookiepref", "Hide", 365);});function SetCookie(cookieName, cookieValue, nDays) {var today = new Date();var expire = new Date();if (nDays == null || nDays == 0) nDays = 1;expire.setTime(today.getTime() + 3600000 * 24 * nDays);document.cookie = cookieName + "=" + escape(cookieValue)+ ";expires=" + expire.toGMTString()+";path="+SITE_PATH+";SameSite=Lax;Secure";}}});$.fn.center = function () {this.css("position","absolute");this.css("top", ( $(window).height() - this.height() ) / 2+$(window).scrollTop() + "px");this.css("left", ( $(window).width() - this.width() ) / 2+$(window).scrollLeft() + "px");return this;};</script> <script type="text/javascript">function trackSocialLink(socialNetwork, action, url) {if (window.gtag) {gtag('event', action, {'event_category': socialNetwork,'event_label': url});} else if ((window.dataLayer || false)) {window.dataLayer.push({'socialNetwork': socialNetwork,'socialAction': action,'socialTarget': url,'event': 'socialInteraction'});} else if (window.ga && ga.loaded) {ga('send', 'social', socialNetwork, action, url);}};function trackEvent(eventCategory, eventAction, eventLabel) {if (window.gtag) {gtag('event', eventAction, {'event_category': eventCategory,'event_label': eventLabel});} else if (window.ga && ga.loaded) {ga('send', 'event', eventCategory, eventAction, eventLabel);}};</script><script async src="https://www.googletagmanager.com/gtag/js?id=G-3BWPG9CPG7"></script><script type="text/javascript">window.dataLayer = window.dataLayer || [];function gtag(){ dataLayer.push(arguments); }gtag('js', new Date());gtag('config','G-3BWPG9CPG7',{'anonymize_ip': true,'currency': 'EUR'});</script><script type="text/javascript">function subscribeNewsletter(e) {e.preventDefault();$("#newsletter-submit").prop('disabled', true);$("#newsletter-submit").html('<img src="/design/rwd/img/preloader-white.gif" />');var request;var email = $("#newsletter-email").val();$("#newsletter-result").hide();if (email.length >= 1) {if (request) {request.abort();}request = $.ajax({type: 'POST',url: 'https://' + window.location.hostname + '' + SITE_PATH + 'plugins/mail/subscription.php',data: {'email': email}});request.done(function(response) {$("#newsletter-submit").html('Potrdi');$("#newsletter-email").val('');if (response.state == 1) {$("#newsletter-result").html('<div class="default-padding-top"><div data-alert class="alert-box success radius">Prijavljeni ste na izbrane novice</div></div>');$("#newsletter-result").show();} else if (response.state == -2) {$("#newsletter-submit").prop('disabled', false);$("#newsletter-result").html('<div class="default-padding-top"><div data-alert class="alert-box alert radius">Vne拧eni email naslov ni veljaven</div></div>');$("#newsletter-result").show();} else {$("#newsletter-submit").prop('disabled', false);$("#newsletter-result").html('<div class="default-padding-top"><div data-alert class="alert-box alert radius">Napaka pri prijavljanju na novice</div></div>');$("#newsletter-result").show();}});request.fail(function () {$("#newsletter-submit").html('Potrdi');$("#newsletter-email").val('');$("#newsletter-submit").prop('disabled', false);$("#newsletter-result").html('<div class="default-padding-top"><div data-alert class="alert-box alert radius">Napaka pri prijavljanju na novice</div></div>');$("#newsletter-result").show();});}return false;}</script> <script type="text/javascript"> $(document).ready(function() { var $mainNavigationToggle = $('.main-navigation-toggle'), $mainNavigation = $('#main-navigation'); $mainNavigationToggle.click(function() { $mainNavigation.slideToggle(); }); }); </script> <script type="text/javascript"> if (typeof $('#sponsor-slider')[0] != "undefined") { $(document).ready(function() { $("#sponsor-slider").royalSlider({ addActiveClass: true, arrowsNav: true, controlNavigation: 'none', autoScaleSlider: true, autoScaleSliderWidth: 8, autoScaleSliderHeight: 4, imageScalePadding: 20, loop: true, loopRewind: true, fadeinLoadedSlide: false, keyboardNavEnabled: true, globalCaption: true, globalCaptionInside: false, randomizeSlides: true, autoPlay: { enabled: true, pauseOnHover: true }, visibleNearby: { enabled: true, centerArea: 0.2, center: true, breakpoint: 640, breakpointCenterArea: 0.4, navigateByCenterClick: true } }); }); } if (typeof $('#art-slider')[0] != "undefined") { $(document).ready(function() { let slider = $("#art-slider").data('royalSlider'); $(".rsNavSelected").hide(); }); } </script> </body></html>