1 2$(function(){ 3// Fontovi 4 Cufon.replace('#nav-tekst a', { 5 fontWeight: '700', 6 textShadow: '#333 1px 1px', 7 hover: {color: '#fff'} 8 }); 9 Cufon.replace('#nav-kontakt', { 10 fontWeight: '400', 11 hover: {color: '#f8d85f'} 12 }); 13 Cufon.replace('#footer-tekst', { 14 hover: {color: '#a6ce39'} 15 }); 16 Cufon.replace('.box_content'); 17// Meni jezici 18 $(document).ready(function(){ 19 $("#nav-jezici").hover(function(){ 20 $("#jezici-lista").slideDown(100); 21 return false; 22 }); 23 $("#jezici-lista").mouseleave(function(){ 24 $("#jezici-lista").slideUp(100); 25 return false; 26 }); 27 }); 28// Meni padajuci 29 $(document).ready(function(){ 30 $("#meni_nin_pali").hover(function(){ 31 $("#meni_nin").show(); 32 $("#meni_vodic").hide(); 33 $("#meni_manifestacije").hide(); 34 $("#meni_smjestaj").hide(); 35 $("#meni_bastina").hide(); 36 $("#meni_zanimljivosti").hide(); 37 $("#meni_multimedija").hide(); 38 $("#meni_info").hide(); 39 return false; 40 }); 41 $("#meni_vodic_pali").hover(function(){ 42 $("#meni_nin").hide(); 43 $("#meni_vodic").show(); 44 $("#meni_manifestacije").hide(); 45 $("#meni_smjestaj").hide(); 46 $("#meni_bastina").hide(); 47 $("#meni_zanimljivosti").hide(); 48 $("#meni_multimedija").hide(); 49 $("#meni_info").hide(); 50 return false; 51 }); 52 $("#meni_manifestacije_pali").hover(function(){ 53 $("#meni_nin").hide(); 54 $("#meni_vodic").hide(); 55 $("#meni_manifestacije").show(); 56 $("#meni_smjestaj").hide(); 57 $("#meni_bastina").hide(); 58 $("#meni_zanimljivosti").hide(); 59 $("#meni_multimedija").hide(); 60 $("#meni_info").hide(); 61 return false; 62 }); 63 $("#meni_smjestaj_pali").hover(function(){ 64 $("#meni_nin").hide(); 65 $("#meni_vodic").hide(); 66 $("#meni_manifestacije").hide(); 67 $("#meni_smjestaj").show(); 68 $("#meni_bastina").hide(); 69 $("#meni_zanimljivosti").hide(); 70 $("#meni_multimedija").hide(); 71 $("#meni_info").hide(); 72 return false; 73 }); 74 $("#meni_bastina_pali").hover(function(){ 75 $("#meni_nin").hide(); 76 $("#meni_vodic").hide(); 77 $("#meni_manifestacije").hide(); 78 $("#meni_smjestaj").hide(); 79 $("#meni_bastina").show(); 80 $("#meni_zanimljivosti").hide(); 81 $("#meni_multimedija").hide(); 82 $("#meni_info").hide(); 83 return false; 84 }); 85 $("#meni_zanimljivosti_pali").hover(function(){ 86 $("#meni_nin").hide(); 87 $("#meni_vodic").hide(); 88 $("#meni_manifestacije").hide(); 89 $("#meni_smjestaj").hide(); 90 $("#meni_bastina").hide(); 91 $("#meni_zanimljivosti").show(); 92 $("#meni_multimedija").hide(); 93 $("#meni_info").hide(); 94 return false; 95 }); 96 $("#meni_multimedija_pali").hover(function(){ 97 $("#meni_nin").hide(); 98 $("#meni_vodic").hide(); 99 $("#meni_manifestacije").hide(); 100 $("#meni_smjestaj").hide(); 101 $("#meni_bastina").hide(); 102 $("#meni_zanimljivosti").hide(); 103 $("#meni_multimedija").show(); 104 $("#meni_info").hide(); 105 return false; 106 }); 107 $("#meni_info_pali").hover(function(){ 108 $("#meni_nin").hide(); 109 $("#meni_vodic").hide(); 110 $("#meni_manifestacije").hide(); 111 $("#meni_smjestaj").hide(); 112 $("#meni_bastina").hide(); 113 $("#meni_zanimljivosti").hide(); 114 $("#meni_multimedija").hide(); 115 $("#meni_info").show(); 116 return false; 117 }); 118 $("header").mouseleave(function(){ 119 $("#meni_nin").hide(); 120 $("#meni_vodic").hide(); 121 $("#meni_manifestacije").hide(); 122 $("#meni_smjestaj").hide(); 123 $("#meni_bastina").hide(); 124 $("#meni_zanimljivosti").hide(); 125 $("#meni_multimedija").hide(); 126 $("#meni_info").hide(); 127 return false; 128 }); 129 }); 130//baština 131 $(document).ready(function() { 132 $('#pali-kulturna').click(function() { 133 $('#prirodna').hide(); 134 $('#kulturna').show(); 135 return false; 136 }); 137 $('#pali-prirodna').click(function() { 138 $('#kulturna').hide(); 139 $('#prirodna').show(); 140 return false; 141 }); 142 });
143//multimedija 144 $(document).ready(function() { 145 $('.pali-photo').click(function() { 146 $('#press').hide(); 147 $('#video').hide(); 148 $('#photo').show(); 149 return false; 150 }); 151 $('.pali-video').click(function() { 152 $('#photo').hide(); 153 $('#press').hide(); 154 $('#video').show(); 155 return false; 156 }); 157 $('.pali-press').click(function() { 158 $('#photo').hide(); 159 $('#video').hide(); 160 $('#press').show(); 161 return false; 162 }); 163 }); 164//mapa weba 165 $(document).ready(function() { 166 $("#mapa-weba").hide(); 167 $('#pali-mapu-weba').click(function() { 168 $('#mapa-weba').slideToggle(400); 169 return false; 170 }); 171 }); 172//newsletter 173 $(document).ready(function(){ 174 $("#newsletter").submit(function(){ 175 var str = $(this).serialize(); 176 $.ajax({ 177 type: "POST", 178 url: "/newsletter-obrada", 179 data: str, 180 success: function(msg){ 181 $("#note1").ajaxComplete(function(event, request, settings){ 182 if(msg == 'OK') 183 { 184 result = '<div class="notification_ok"><strong> Vaš upit je uspješno poslan!</strong><br /></div>'; 185 } 186 else 187 { 188 result = msg; 189 } 190 $(this).html(result); 191 }); 192 } 193 }); 194 $("#newsletter").hide(); 195 return false; 196 }); 197 }); 198//galerije slideri 199 $(function() { 200 $('#allinone_carousel_charming').allinone_carousel({ 201 skin: 'charming', 202 width: 963, 203 height: 391, 204 autoPlay: 3, 205 resizeImages:false, 206 autoHideBottomNav:false, 207 showElementTitle:true, 208 verticalAdjustment:20, 209 elementsHorizontalSpacing:120, 210 showPreviewThumbs:false, 211 //easing:'easeOutBounce', 212 numberOfVisibleItems:5 213 }); 214 }); 215 }); 216//crveni slider 217 $(function(){ 218 $('#slides').slides({ 219 preload: true, 220 play: 5000, 221 pause: 2500, 222 hoverPause: true, 223 animationStart: function(current){ 224 $('.caption').animate({ 225 bottom:-35 226 },100); 227 if (window.console && console.log) { 228 // example return of current slide number 229 console.log('animationStart on slide: ', current); 230 }; 231 }, 232 animationComplete: function(current){ 233 $('.caption').animate({ 234 bottom:0 235 },200); 236 if (window.console && console.log) { 237 // example return of current slide number 238 console.log('animationComplete on slide: ', current); 239 }; 240 }, 241 slidesLoaded: function() { 242 $('.caption').animate({ 243 bottom:0 244 },200); 245 } 246 }); 247 }); 248// osnovni podaci 249 function displayHideBox(boxNumber) 250 { 251 if(document.getElementById("LightBox"+boxNumber).style.display=="none") { 252 document.getElementById("LightBox"+boxNumber).style.display="block"; 253 document.getElementById("grayBG").style.display="block"; 254 255 } else { 256 document.getElementById("LightBox"+boxNumber).style.display="none"; 257 document.getElementById("grayBG").style.display="none"; 258 } 259 }
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.