1hs.graphicsDir = 'https://www.obec-lounova.cz/js/highslide/graphics/'; 2hs.outlineType = 'rounded-white'; 3hs.showCredits = 0; 4hs.padToMinWidth = true; 5hs.onBeforeExpandCallback = false; 6hs.zIndexCounter = 1450; 7 8// The gallery example on the front page 9var galleryOptions = { 10 slideshowGroup: 'gallery', 11// wrapperClassName: 'dark', 12 outlineType: 'rounded-white', 13 dimmingOpacity: 0.8, 14 align: 'center', 15 transitions: ['expand', 'crossfade'], 16 fadeInOut: true, 17 wrapperClassName: 'borderless floating-caption', 18 marginLeft: 100, 19 marginBottom: 80, 20 captionEval : 'this.thumb.alt', 21 numberPosition: 'caption' 22}; 23 24if (hs.addSlideshow) hs.addSlideshow({ 25 slideshowGroup: 'gallery', 26 interval: 5000, 27 repeat: false, 28 useControls: true, 29 overlayOptions: { 30 className: 'text-controls', 31 position: 'bottom center', 32 relativeTo: 'viewport', 33 offsetY: -60 34 }, 35 thumbstrip: { 36 position: 'bottom center', 37 mode: 'horizontal', 38 relativeTo: 'viewport' 39 } 40 41}); 42 43/* gcm galerie dalsi predchozi */ 44//html kod vrstvy 45function GetImgControlBarLeftArrow(height) 46{ 47 var styleHeight=''; 48 if (height>0) 49 styleHeight=' style="height:'+height+'px"'; 50 var hsImgControlBarLeftArrow = '<a href="javascript:void(0)" onclick="return hs.previous(this)" title="PÅedchozÃ" class="highslide-previous"'+styleHeight+'><span>PÅedchozÃ</span></a>'; 51 return hsImgControlBarLeftArrow; 52} 53function GetImgControlBarRightArrow(height) 54{ 55 var styleHeight=''; 56 if (height>0) 57 styleHeight=' style="height:'+height+'px"'; 58 var hsImgControlBarRightArrow = '<a href="javascript:void(0)" onclick="return hs.next(this)" title="DalÅ¡Ã" class="highslide-next"'+styleHeight+'><span>DalÅ¡Ã</span></a>'; 59 return hsImgControlBarRightArrow; 60} 61 62hs.Expander.prototype.onBeforeExpand = function (sender) { 63 if (this.slideshowGroup == 'gallery') 64 { 65 // vytvoÅenà elementu vrstvy a naplnÄnà obsahem 66 var controlbar = document.createElement('div'); 67 controlbar.className = "controlbar"; 68 controlbar.innerHTML = ""; 69 70 // kontrola, zda existuje pÅedchozà obrázek 71 if(sender.getAdjacentAnchor(-1)){ 72 controlbar.innerHTML = GetImgControlBarLeftArrow(this.y.size); 73 } 74 // kontrola, zda existuje následujÃcà obrázek 75 if(sender.getAdjacentAnchor(1)){ 76 controlbar.innerHTML += GetImgControlBarRightArrow(this.y.size); 77 } 78 79 80 // samotné pÅiÅazenà vrstvy 81 if (controlbar.innerHTML != "") { 82 sender.createOverlay( { overlayId: controlbar, position: "middle center", hideOnMouseOut: true, opacity: 1, width: '100%' } ); 83 } 84 } 85 86 if(typeof hs.onBeforeExpandCallback === 'function') 87 hs.onBeforeExpandCallback(); 88} 89 90hs.Expander.prototype.onInit = function() { 91 hs.marginBottom = (this.slideshowGroup == 'gallery') ? 135 : 15; 92} 93 94hs.Expander.prototype.onAfterClose = function(sender) { 95 hs_gcmbox=false; 96 callback = false; 97 if (sender && sender.wrapperClassName && /gcm-admin-reload/.test(sender.wrapperClassName)) 98 window.location.reload(true); 99 return false; 100}; 101 102hs.stripItemFormatter = function(a){ 103 var out_html = a.innerHTML.match(/<img[^>]*>/i)[0]; 104 return out_html; 105} 106 107var hs_gcmbox=false; 108var callback = false; 109function hs_gcm(link,box_width,box_height,cacheIframe,stornoReload,callback_fnc) 110{ 111 hs_gcmbox=true; 112 cacheIframe = typeof cacheIframe !== 'undefined' ? cacheIframe : false; 113 stornoReload = typeof stornoReload !== 'undefined' ? stornoReload : false; 114 var wrapperClass='titlebar gcm-admin'+(stornoReload ? ' gcm-admin-reload' : ''); 115 callback = (typeof(callback_fnc) === 'function' ? callback_fnc : false); 116 return hs.htmlExpand(link, { 117 objectType: 'iframe', 118 headingText: link.title, 119 outlineType: 'drop-shadow', 120 wrapperClassName: wrapperClass, 121 dimmingOpacity: 0.75, 122 preserveContent: cacheIframe, 123 width: box_width,
124 height: box_height 125 } 126 ); 127} 128function hs_gcm_setReload() 129{ 130 if (!hs) 131 return; 132 var expander = hs.getExpander(); 133 if (!expander) 134 return; 135 if (! /gcm-admin-reload/.test(expander.wrapperClassName)) 136 expander.wrapperClassName += ' gcm-admin-reload'; 137} 138 139function hs_gcm_overlay(link,content_id,box_width,box_height,stornoReload,on_before_expand_fnc){ 140 stornoReload = typeof stornoReload !== 'undefined' ? stornoReload : false; 141 var wrapperClass='titlebar gcm-admin'+(stornoReload ? ' gcm-admin-reload' : ''); 142 143 hs.onBeforeExpandCallback = (typeof(on_before_expand_fnc) === 'function' ? on_before_expand_fnc : false); 144 145 hs_gcmbox=true; 146 147 return hs.htmlExpand(link, { 148 objectType: null, 149 contentId: content_id, 150 headingText: link.title, 151 outlineType: 'drop-shadow', 152 wrapperClassName: wrapperClass, 153 dimmingOpacity: 0.75, 154 preserveContent: true, 155 width: box_width, 156 height: box_height, 157 align: 'center' 158 } 159 ); 160} 161 162hs.Expander.prototype.onBeforeClose = function() { 163 if (hs_gcmbox==true) 164 { 165 var exp = this; 166 if(typeof(exp.iframe)!=='undefined'){ 167 var iFrame=window.frames[exp.iframe.name]; 168 if (typeof(iFrame.CheckLeaveDirty)!='undefined' && iFrame.CheckLeaveDirty()==true) 169 return confirm(iFrame.CheckLeaveGetText()); 170 } 171 } 172 173 if(typeof callback === 'function'){ 174 callback(); 175 } 176} 177hs.Expander.prototype.onAfterExpand = function() { 178 if (hs_gcmbox == true && this.iframe) 179 this.iframe.id = 'hs_gcm'; 180} 181 182hs.onDimmerClick = function() { 183 if (hs_gcmbox) 184 return false; 185} 186 187hs.GetWindowWidth = function() { 188 // the more standards compliant browsers (mozilla/netscape/opera/IE7) use window.innerWidth and window.innerHeight 189 if (typeof window.innerWidth != 'undefined') 190 return window.innerWidth; 191 // IE6 in standards compliant mode (i.e. with a valid doctype as the first line in the document) 192 else if (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0) 193 return document.documentElement.clientWidth; 194 // older versions of IE 195 else 196 return document.getElementsByTagName('body')[0].clientWidth; 197} 198 199hs.GetWindowHeight = function() { 200 if (typeof window.innerWidth != 'undefined') 201 return window.innerHeight; 202 else if (typeof document.documentElement != 'undefined' && typeof document.documentElement.clientWidth != 'undefined' && document.documentElement.clientWidth != 0) 203 return document.documentElement.clientHeight; 204 else 205 return document.getElementsByTagName('body')[0].clientHeight; 206} 207 208hs.lang = { 209 cssDirection: 'ltr', 210 loadingText : 'NaÄÃtá se...', 211 loadingTitle : 'Click to cancel', 212 focusTitle : 'Click to bring to front', 213 fullExpandTitle : 'RozÅ¡ÃÅit na aktuálnà velikost (f)', 214 creditsText : 'Powered by <i>Highslide JS</i>', 215 creditsTitle : 'Go to the Highslide JS homepage', 216 previousText : 'PÅedchozÃ', 217 nextText : 'DalÅ¡Ã', 218 moveText : 'Pohyb', 219 closeText : 'ZavÅÃt', 220 closeTitle : 'ZavÅÃt (esc)', 221 resizeTitle : 'ZmÄnit velikost', 222 playText : 'PÅehrát', 223 playTitle : 'PÅehrát slideshow (spacebar)', 224 pauseText : 'Pauza', 225 pauseTitle : 'Pauza slideshow (spacebar)', 226 previousTitle : 'PÅedchozà (Å¡ipka vlevo)', 227 nextTitle : 'Dalšà (Å¡ipka vpravo)', 228 moveTitle : 'Pohyb', 229 fullExpandText : '1:1', 230 number: 'Obrázek %1 z %2', 231 restoreTitle : 'Klikni pro zavÅenà fotky, klikni a táhni pro pohyb. Použij Å¡ipky pro pÅedchozà a dalÅ¡Ã.' 232 };
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.