1<!DOCTYPE html> 2<html class="" dir="ltr" lang="da"> 3<head prefix="og: http://ogp.me/ns#"> 4 5 6 7 <meta charset="UTF-8" /> 8 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2, minimum-scale=1"> 9 <title>Tilmelding til mindesammenkomst</title> 10 <base href="https://www.agerbaek-hotel.dk/" /> 11 12 <link rel="preload" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" as="style"> 13 <link rel="preload" href="/catalog/view/theme/default/stylesheet/bootstrap_elements.css" as="style"> 14 <link rel="preload" href="/catalog/view/theme/default/stylesheet/columnz.css" as="style"> 15 16 <link rel="preload" href="/catalog/view/theme/default/stylesheet/stylesheet_default_v2.css" as="style"> 17 18 <link rel="preload" href="/catalog/view/javascript/jquery/jquery-3.5.1.min.js" as="script"> 19 20 <meta property="og:image" content="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/album/1445594225436459_20140308_145322-cropresize-1500x375.webp" /> <meta property="og:image:width" content="1500" /> <meta property="og:image:height" content="375" /> <meta property="og:image" content="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/logo-200x200.webp" /> <meta property="og:image:width" content="367" /> <meta property="og:image:height" content="90" /> <link href="https://www.agerbaek-hotel.dk/booking/tilmelding-til-arrangement" rel="canonical" /> 21 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 22 <meta name="theme-color" content="#9FC5CA"> 23 24 25 <link rel="alternate" href="https://www.agerbaek-hotel.dk/booking/tilmelding-til-arrangement" hreflang="da" /> 26 27 <link rel="alternate" href="https://www.agerbaek-hotel.dk/bookings/register-for-the-event" hreflang="en" /> 28 29 <link rel="apple-touch-icon" sizes="57x57" href="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-57x57.webp"> 30 <link rel="apple-touch-icon" sizes="60x60" href="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-60x60.webp"> 31 <link rel="apple-touch-icon" sizes="72x72" href="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-72x72.webp"> 32 <link rel="apple-touch-icon" sizes="76x76" href="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-76x76.webp"> 33 <link rel="apple-touch-icon" sizes="114x114" href="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-114x114.webp"> 34 <link rel="apple-touch-icon" sizes="120x120" href="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-120x120.webp"> 35 <link rel="apple-touch-icon" sizes="144x144" href="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-144x144.webp"> 36 <link rel="apple-touch-icon" sizes="152x152" href="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-152x152.webp"> 37 <link rel="apple-touch-icon" sizes="180x180" href="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-180x180.webp"> 38 <link rel="icon" type="image/png" sizes="32x32" href="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-32x32.webp"> 39 <link rel="icon" type="image/png" sizes="96x96" href="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-96x96.webp"> 40 <link rel="icon" type="image/png" sizes="16x16" href="https://www.agerbaek-hotel.dk/image/catalog/sitegrafik/icon.png"> 41 <meta name="msapplication-TileColor" content="#ffffff"> 42 <meta name="msapplication-TileImage" content="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/sitegrafik/icon-144x144.webp"> 43 44 <style> 45 :root { 46 --text: #333333; 47 --text-negative: #FFFFFF; 48 49 --primary: #053d60; 50 --secondary: #9fc5ca; 51 --success: #95c359; 52 --info: #2494a2; 53 --warning: #f6c624; 54 --danger: #BD3838; 55 --light: #e7efef; 56 --dark: #343a40; 57 58 --primary-light: #075686; 59 --secondary-light: #fcfdfd; 60 --success-light: #cae1ad; 61 --info-light: #40c3d5; 62 --warning-light: #fae290; 63 --danger-light: #d97e7e; 64 --light-light: #ffffff; 65 --dark-light: #495159; 66 67 --primary-dark: #03253a; 68 --secondary-dark: #4d848c; 69 --success-dark: #5b7d2d; 70 --info-dark: #165861; 71 --warning-dark: #a37e07; 72 --danger-dark: #712222; 73 --light-dark: #76a4a4; 74 --dark-dark: #1f2326; 75 76 --color-0: #2494a2; 77 --color-1: #e7efef; 78 --color-2: #bddfe3; 79 --color-3: #f6c624; 80 81 --size-h1: 46px; 82 --size-h2: 36px; 83 --size-h3: 26px; 84 --size-h4: 24px; 85 --size-h5: 20px; 86 --size-h6: 16px; 87 88 --min-size-h1: 24px; 89 --min-size-h2: 20px; 90 --min-size-h3: 18px; 91 --min-size-h4: 16px; 92 --min-size-h5: 14px; 93 --min-size-h6: 12px; 94 95 --size-1: 12px; 96 --size-2: 14px; 97 --size-3: 16px; 98 --size-4: 20px; 99 --size-5: 24px; 100 --size-6: 28px; 101 --size-7: 35px; 102 103 --scale-1: 0.5; 104 --scale-2: 0.8; 105 --scale-3: 1; 106 --scale-4: 1.5; 107 --scale-5: 2; 108 --scale-6: 2.5; 109 --scale-7: 3; 110 111 --color-h1: #333333; 112 --color-h2: #333333; 113 --color-h3: #333333; 114 --color-h4: #333333; 115 --color-h5: #333333; 116 --color-h6: #333333; 117 118 --font: 'Nunito', sans-serif; 119 --line-height: 1.2; 120 --size: 16px; 121 --min-size: 14px; 122 --size-button: 20px; 123 --min-size-button: 14px; 124 --menu-line-height: 45px; 125 } 126 </style> 127 128 <!-- Stylesheets --> 129 <link rel="stylesheet" href="/catalog/view/javascript/bootstrap/css/bootstrap.min.css"> 130 <!-- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> --> 131 <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css" /> 132 133 <link href="/catalog/view/theme/default/stylesheet/stylesheet_default_v2.css" rel="stylesheet" type="text/css"> 134 135 <link href="catalog/view/theme/default/stylesheet/d_ajax_search/d_ajax_search.css" rel="stylesheet" type="text/css"> 136 137 <!-- Cookie Consent by https://www.CookieConsent.com --> 138
138<script type="text/javascript" src="https://www.cookieconsent.com/releases/4.1.0/cookie-consent.js" charset="UTF-8"></script>
138 139
139<script type="text/javascript" charset="UTF-8"> 140 document.addEventListener('DOMContentLoaded', function () { 141 cookieconsent.run({ 142 "notice_banner_type":"simple", 143 "consent_type":"express", 144 "palette":"light", 145 "language":"da", 146 "page_load_consent_levels":["strictly-necessary"], 147 "notice_banner_reject_button_hide":false, 148 "preferences_center_close_button_hide":false, 149 "website_name":"Agerbæk Hotel", 150 "open_preferences_center_selector":"#open_preferences_center", 151 "website_privacy_policy_url":"https://www.agerbaek-hotel.dk/cookies" 152 }); 153 }); 154 </script>
154 155 <!-- End Cookie Consent by https://www.CookieConsent.com --> 156 157
157<script>window.dataLayer = window.dataLayer || [];var _paq = window._paq || [];</script>
157 158 159 <!-- jQuery --> 160
160<script type="text/javascript" data-cookieconsent="ignore" src="catalog/view/javascript/jquery/jquery-3.5.1.min.js"></script>
160 161 162 <!-- FontAwesome SVG&JS (Flere avancerede muligheder) 163
163<script src="https://kit.fontawesome.com/b71851e55e.js" crossorigin="anonymous"></script>
163 --> 164 165 <!-- FontAwesome Webfont (Bedste load-tid) 166 <link rel="preconnect" href="https://fonts.gstatic.com"> 167 <link rel="preconnect" href="https://fonts.googleapis.com"> 168
168<script src="https://kit.fontawesome.com/c926e48043.js" crossorigin="anonymous"></script>
168 --> 169 170 <!-- FontAwesome PHP render (Det nye shit) --> 171 <link rel="stylesheet" href="/catalog/view/javascript/fontawesome/css/fontawesome-utility.css"> 172 173
173<script type="text/javascript" data-cookieconsent="ignore" async defer> 174 var spinner = '<div class="spinner loadingio-spinner-spinner-b448li6dn8b"><div class="ldio-ll6w7u4a19"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div></div>'; 175 // Screen width PHP !!!!! 176 var screen_w = $(window).width(); 177 var screen_r = window.devicePixelRatio; 178 179 180 try { 181 window.stop(); 182 } catch (exception) { 183 document.execCommand('Stop'); 184 } 185 186 187 $.ajax({ 188 type: "POST", 189 url: '/get_screen', 190 data: {width: screen_w, density: screen_r}, 191 dataType: 'json', 192 success: function(json) { 193 location.reload(); 194 } 195 }); 196 197 var resized_count = 1; 198 199 $(document).ready(function () { 200 genImages('[data-gen]', 'data-gen'); 201 }); 202 203 function genImages(selector, attrname) { 204 205 var tag = $(selector).first(); 206 207 if (tag.length > 0 && !tag.hasClass('img-done')) { 208 var fluid = false; 209 210 if (attrname == 'data-gen-qv-data') { 211 var attribute = 'data-thumb'; 212 } else if (tag.is('img')) { 213 var attribute = 'src'; 214 tag.addClass('img-loading'); 215 if (tag.hasClass('img-fluid-tobe')) { 216 var fluid = true; 217 } 218 219 tag.parent().append(spinner); 220 } else if (tag.is('a')) { 221 var attribute = 'href'; 222 } else if (tag.is('input')) { 223 var attribute = 'value'; 224 } 225 226 var id = tag.attr(attrname); 227 228 $.ajax({ 229 type: "POST", 230 url: 'index.php?route=startup/startup/genImages', 231 data: {file: id}, 232 dataType: 'json', 233 success: function(json) { 234 tag.attr(attribute, json['filename']); 235 236 tag.removeClass('img-loading'); 237 tag.removeAttr(attrname); 238 if (fluid) { 239 tag.addClass('img-fluid'); 240 } 241 tag.parent().find('.loadingio-spinner-spinner-b448li6dn8b').remove(); 242 243 if (attribute == 'src') { 244 tag.attr('width', json['image_width']); 245 tag.attr('height', json['image_height']); 246 } 247 248 tag.addClass('img-done'); 249 250 if (resized_count == 1) { 251 $(document).trigger('firstImageGen'); 252 } 253 254 if ($(selector).length == 1) { 255 $(document).trigger('lastImageGen'); 256 } 257 resized_count++; 258 259 genImages(selector, attrname); 260 }, 261 complete: function () { 262 263 setTimeout(function () { 264 $('.pin [id*=album-container]').trigger('masonryreload'); 265 }, 500); 266 267 } 268 }); 269 } else { 270 resized_count = 1; 271 } 272 273 } 274 275 </script>
275 276 277 <!-- Bootstrap --> 278
278<script type="text/javascript" src="catalog/view/javascript/bootstrap/js/bootstrap.bundle.min.js"></script>
278 279 280 <!-- Other scripts --> 281
281<script type="text/javascript" src="catalog/view/javascript/d_tinysort/tinysort.min.js"></script>
281 282
282<script type="text/javascript" src="catalog/view/javascript/d_tinysort/jquery.tinysort.min.js"></script>
282 283 284 285 286 287 288 <!-- Google Tag Manager --> 289
289<script type="text/plain" data-cookie-consent="tracking">(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','UA-30699093-1');</script>
289 290 <!-- End Google Tag Manager --> 291 292 293 294 295 296 297
297<script type="text/plain" data-cookie-consent="tracking"> 298 var _paq = window._paq || []; 299 _paq.push(['trackPageView']); 300 _paq.push(['enableLinkTracking']); 301 (function() { 302 var u="https://analytics.pagedesign.dk/"; 303 _paq.push(['setTrackerUrl', u+'matomo.php']); 304 _paq.push(['setSiteId', '25']); 305 var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; 306 g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); 307 })(); 308 </script>
308 309 310 </head> 311 312<body class="product-category category-180_216" id="safari-browser"> 313 314 <!-- Google Tag Manager (noscript) --> 315 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=UA-30699093-1" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 316 <!-- End Google Tag Manager (noscript) --> 317 318 <div class="renew-cookie" title="Cookies" data-toggle="tooltip" id="open_preferences_center"></div> 319 320 321 322 <div id="blocker"><i class="fas fa-times fa-fw"></i></div> 323 <div id="blocker-cart"></div> 324 <nav id="top"> 325 <div class="container"> 326 <div id="top-links" class="row align-items-center justify-content-between justify-content-md-end pb-3"> 327 328 <div class="col-sm-12 col-md-auto pt-md-3 pt-1"> 329 <div class="language-list pb-md-0 pb-2"> 330 331 332 <ul> 333 <li> 334 <a class="active" data-currency="DKK" href="https://www.agerbaek-hotel.dk/booking/tilmelding-til-arrangement"> 335 da 336 </a> 337 </li> 338 <li> 339 <a data-currency="DKK" href="https://www.agerbaek-hotel.dk/bookings/register-for-the-event"> 340 en 341 </a> 342 </li> 343 </ul> 344 345 <input type="hidden" name="code" value="" /> 346 <input type="hidden" name="currency" value="" /> 347 <input type="hidden" name="redirect" value="https://www.agerbaek-hotel.dk/booking/tilmelding-til-arrangement" /> 348 349 </div> 350 351 352 </div> 353 354 <div class="col-auto d-none d-sm-inline"> 355 <div class="row color-bg home"> 356 <a href="/"><svg data-fa-render class="fa-solid fa-2x fa-house" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"/></svg><span class="d-none">Forside</span></a> 357 </div> 358 </div> 359 360 361 362 363 364 365 366 367 368 369 370 371 372 <div class="col-auto"> 373 <div class="row color-bg"> 374 <a href="tel:+4575196002" onclick="gtag('event', 'call', {'event_category': 'Phone click', 'event_label': 'phone header /booking/tilmelding-til-arrangement'});"><svg data-fa-render class="fas fa-fw fa-2x fa-phone-volume" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M280 0C408.1 0 512 103.9 512 232c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-101.6-82.4-184-184-184c-13.3 0-24-10.7-24-24s10.7-24 24-24zm8 192a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm-32-72c0-13.3 10.7-24 24-24c75.1 0 136 60.9 136 136c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-48.6-39.4-88-88-88c-13.3 0-24-10.7-24-24zM117.5 1.4c19.4-5.3 39.7 4.6 47.4 23.2l40 96c6.8 16.3 2.1 35.2-11.6 46.3L144 207.3c33.3 70.4 90.3 127.4 160.7 160.7L345 318.7c11.2-13.7 30-18.4 46.3-11.6l96 40c18.6 7.7 28.5 28 23.2 47.4l-24 88C481.8 499.9 466 512 448 512C200.6 512 0 311.4 0 64C0 46 12.1 30.2 29.5 25.4l88-24z"/></svg><span class="d-none">+45 75 19 60 02</span></a> 375 </div> 376 </div> 377 378 <div class="col-auto"> 379 <div class="row color-bg"> 380 <a href="mailto:[email protected]"><svg data-fa-render class="fas fa-fw fa-2x fa-paper-plane" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"/></svg><span class="d-none">[email protected]</span></a> 381 </div> 382 </div> 383 384 <div class="col-auto"> 385 <div class="row color-bg">
386 <a href="https://goo.gl/maps/qEXkYxEQSp2HSZjD8" target="_blank"><svg data-fa-render class="fas fa-fw fa-2x fa-signs-post" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M224 32H64C46.3 32 32 46.3 32 64v64c0 17.7 14.3 32 32 32H441.4c4.2 0 8.3-1.7 11.3-4.7l48-48c6.2-6.2 6.2-16.4 0-22.6l-48-48c-3-3-7.1-4.7-11.3-4.7H288c0-17.7-14.3-32-32-32s-32 14.3-32 32zM480 256c0-17.7-14.3-32-32-32H288V192H224v32H70.6c-4.2 0-8.3 1.7-11.3 4.7l-48 48c-6.2 6.2-6.2 16.4 0 22.6l48 48c3 3 7.1 4.7 11.3 4.7H448c17.7 0 32-14.3 32-32V256zM288 480V384H224v96c0 17.7 14.3 32 32 32s32-14.3 32-32z"/></svg><span class="d-none"></span></a> 387 </div> 388 </div> 389 390 391 392 <div class="col-auto"> 393 <div class="row color-bg usp Booking"> 394 395 <a href="https://www.agerbaek-hotel.dk/booking" title="Booking" data-toggle="tooltip" class="col-auto"><svg data-fa-render class="fa-solid fa-2x fa-calendar-clock" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H432 0V464c0 26.5 21.5 48 48 48H330.8C285.6 480.1 256 427.5 256 368c0-97.2 78.8-176 176-176c5.4 0 10.7 .2 16 .7V192zM576 368a144 144 0 1 0 -288 0 144 144 0 1 0 288 0zM432 288c8.8 0 16 7.2 16 16v48h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H432c-8.8 0-16-7.2-16-16V304c0-8.8 7.2-16 16-16z"/></svg> <span class="d-none">Booking</span></a> 396 </div> 397 398 </div> 399 400 <div class="col-auto"> 401 <div class="row color-bg usp TIlmeld"> 402 403 <a href="https://www.agerbaek-hotel.dk/booking/tilmelding-til-arrangement" title="TIlmeld" class="col-auto"><svg data-fa-render class="fa-solid fa-2x fa-pen-to-square" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"/></svg> <span class="text-show">TIlmeld</span></a> 404 </div> 405 406 </div> 407 408 409 410 <div class="col-auto"> 411 <div class="row color-bg socials"> 412 <a href="https://www.facebook.com/AgerbaekHotel" target="_blank"><svg data-fa-render class="fab fa-fw fa-2x fa-facebook" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"/></svg><pre class="d-none sr-only">Facebook</pre></a> </div> 413 </div> 414 415 416 417 418 419 420 421 422 </div> 423 </div> 424 </nav> 425 426 427 <header id="site-header"> 428 <div class="container pt-3 pt-lg-0"> 429 <div class="row align-items-center justify-content-between"> 430 431 <div class="order-0 col col-sm-8 col-md-6 col-lg-4 col-xl-3 pb-2"> 432 <div id="logo"> 433 <a href="/"> 434 <img src="https://www.agerbaek-hotel.dk/image/catalog/sitegrafik/logo.png" title="Agerbæk Hotel - restaurant, pool og god beliggenhed i Jylland" alt="Agerbæk Hotel - restaurant, pool og god beliggenhed i Jylland" width="367" height="90" class="img-fluid" /> 435 436 </a> 437 </div> 438 </div> 439 440 441 442 <div class="col"> 443 <!-- Mobil-menu-knap --> 444 445<div class="d-block d-xl-none text-right" data-breakpoint="1199" id="mobile-menu-toggle"> 446 <svg data-fa-render class="fas fa-spinner-third fa-spin text-muted menu-loading" style="display:none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M224 32c0-17.7 14.3-32 32-32C397.4 0 512 114.6 512 256c0 46.6-12.5 90.4-34.3 128c-8.8 15.3-28.4 20.5-43.7 11.7s-20.5-28.4-11.7-43.7c16.3-28.2 25.7-61 25.7-96c0-106-86-192-192-192c-17.7 0-32-14.3-32-32z"/></svg><svg data-fa-render class="fas fa-bars" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"/></svg> Menu 447</div> 448 449<!-- Menu --> 450<ul id="slide-menu" class="slide-menu row justify-content-end align-content-start"> 451 <!-- Level 1 --> 452 <li class="px-xxl-3 col-auto has-sub d-flex d-xl-inline-flex"> 453 <a href="https://www.agerbaek-hotel.dk/hotel" class="unclickable flex-grow-1 flex-xl-grow-0"> 454 <svg data-fa-render class="fa-solid fa-bed" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M32 32c17.7 0 32 14.3 32 32V320H288V160c0-17.7 14.3-32 32-32H544c53 0 96 43 96 96V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V416H352 320 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V64C0 46.3 14.3 32 32 32zm144 96a80 80 0 1 1 0 160 80 80 0 1 1 0-160z"/></svg> Hotel 455 </a> 456 457
458 <span class="indicator"><svg data-fa-render class="fas fa-angle-right fa-fw" style="display:none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg><svg data-fa-render class="fas fa-angle-down fa-fw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg></span> 459 460 <div class="dropdownmenu"> 461 462 463 <div class="row no-gutters row-cols-xl-1"> 464 465 <div class="back-menu col-12"><svg data-fa-render class="fas fa-angle-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg> Tilbage</div> 466 <div class="flex-menu col-xl col-12"> 467 468 <ul class="px-0"> 469 470 <!-- Level 2 --> 471 <li class="py-2 title d-flex "> 472 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/hotel/vaerelser" > 473 <svg data-fa-render class="fa-solid fa-bed" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M32 32c17.7 0 32 14.3 32 32V320H288V160c0-17.7 14.3-32 32-32H544c53 0 96 43 96 96V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V416H352 320 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V64C0 46.3 14.3 32 32 32zm144 96a80 80 0 1 1 0 160 80 80 0 1 1 0-160z"/></svg> Værelser 474 </a> 475 </li> 476 477 478 </ul> 479 480 481 482 <ul class="px-0"> 483 484 <!-- Level 2 --> 485 <li class="py-2 title d-flex "> 486 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/hotel/faciliteter" > 487 <svg data-fa-render class="fa-solid fa-person-swimming" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M309.5 178.4L447.9 297.1c-1.6 .9-3.2 2-4.8 3c-18 12.4-40.1 20.3-59.2 20.3c-19.6 0-40.8-7.7-59.2-20.3c-22.1-15.5-51.6-15.5-73.7 0c-17.1 11.8-38 20.3-59.2 20.3c-10.1 0-21.1-2.2-31.9-6.2C163.1 193.2 262.2 96 384 96h64c17.7 0 32 14.3 32 32s-14.3 32-32 32H384c-26.9 0-52.3 6.6-74.5 18.4zM160 160A64 64 0 1 1 32 160a64 64 0 1 1 128 0zM306.5 325.9C329 341.4 356.5 352 384 352c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 405.7 417 416 384 416c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7l0 0C136.7 341.2 165.1 352 192 352c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"/></svg> Faciliteter 488 </a> 489 </li> 490 491 492 </ul> 493 494 495 496 <ul class="px-0"> 497 498 <!-- Level 2 --> 499 <li class="py-2 title d-flex "> 500 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/hotel/praktisk-info" > 501 <svg data-fa-render class="fa-solid fa-circle-info" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg> Praktisk info 502 </a> 503 </li> 504 505 506 </ul> 507 508 509 510 <ul class="px-0"> 511 512 <!-- Level 2 --> 513 <li class="py-2 title d-flex "> 514 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/hotel/oplevelser-i-omradet" > 515 <svg data-fa-render class="fa-solid fa-roller-coaster" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M64 190.1c0-31.8 15.8-60 40-77V456c0 13.3 10.7 24 24 24s24-10.7 24-24V96.2c2-.1 4-.2 6.1-.2c14.8 0 29.1 3.5 41.9 9.9V456c0 13.3 10.7 24 24 24s24-10.7 24-24V154.7l48 69.1V456c0 13.3 10.7 24 24 24s24-10.7 24-24V292.9l20.3 29.2c7.9 11.3 17.2 21.3 27.7 29.8V456c0 13.3 10.7 24 24 24s24-10.7 24-24V377.6c13.6 4.2 28 6.4 42.6 6.4H488v72c0 13.3 10.7 24 24 24s24-10.7 24-24V378.4c14.4-4.2 27.8-10.5 40-18.6V448c0 17.7 14.3 32 32 32s32-14.3 32-32V248h-.2c.1-2.6 .2-5.3 .2-8c0-79.5-64.5-144-144-144h-4c-28.9 0-57.3 7.1-82.8 20.7l-51.6 27.5L432 251.3V177.1l7.3-3.9c12.7-6.8 26.5-11 40.7-12.5V264c0 13.3 10.7 24 24 24s24-10.7 24-24V166.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80H482.6c-26.2 0-50.8-12.8-65.7-34.4L287.9 99.9C258.4 57.4 209.9 32 158.1 32C70.8 32 0 102.8 0 190.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V190.1z"/></svg> Oplevelser i området 516 </a> 517 </li> 518 519 520 </ul> 521 522 523 524 <ul class="px-0"> 525 526 <!-- Level 2 --> 527 <li class="py-2 title d-flex "> 528 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/hotel/handvaerkerophold" > 529 <svg data-fa-render class="fa-solid fa-screwdriver-wrench" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109
529109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"/></svg> Til dig på farten 530 </a> 531 </li> 532 533 534 </ul> 535 536 537 </div> 538 </div> 539 540 </div> 541 </li> 542 <!-- Level 1 --> 543 <li class="px-xxl-3 col-auto has-sub d-flex d-xl-inline-flex"> 544 <a href="https://www.agerbaek-hotel.dk/restaurant" class=" flex-grow-1 flex-xl-grow-0"> 545 <svg data-fa-render class="fa-solid fa-fork-knife" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M475.3 27.3c5.8-5.8 6.3-15.1 1.1-21.5S462-1.9 455.1 2.7l-106.5 71C320.8 92.3 304 123.6 304 157.1c0 19.3 5.5 37.9 15.7 53.9L73.4 457.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L365 256.3c16 10.2 34.7 15.7 53.9 15.7c33.5 0 64.8-16.8 83.4-44.6l71-106.5c4.6-6.8 3.2-16-3.2-21.2s-15.6-4.8-21.5 1.1L457.4 192c-5.2 5.2-13.6 5.2-18.8 0c-4.9-4.9-5.2-12.8-.6-18.1l86.1-99.4c5.5-6.3 5.2-15.9-.8-21.8s-15.4-6.3-21.8-.8L402.1 138c-5.3 4.6-13.2 4.3-18.1-.6c-5.2-5.2-5.2-13.6 0-18.8l91.3-91.3zM52.5 7.3C47.9 2.6 41.5 0 34.9 0c-11.2 0-21 7.5-23.5 18.4C6.7 38.6 0 71.5 0 96c0 83.3 48.2 130.5 128.9 209.4c6.5 6.4 13.3 13 20.3 19.9c1.9 1.8 3.8 3.5 5.9 5.1L265.4 220.1 52.5 7.3zM457.4 502.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L355.9 310.6l-45.3 45.3L457.4 502.6z"/></svg> Restaurant 546 </a> 547 548 549 <span class="indicator"><svg data-fa-render class="fas fa-angle-right fa-fw" style="display:none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg><svg data-fa-render class="fas fa-angle-down fa-fw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg></span> 550 551 <div class="dropoutmenu"> 552 553 554 <div class="row no-gutters row-cols-xl-1"> 555 556 <div class="back-menu col-12"><svg data-fa-render class="fas fa-angle-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg> Tilbage</div> 557 <div class="flex-menu col-xl col-12"> 558 559 <ul class="px-0"> 560 561 <!-- Level 2 --> 562 <li class="py-2 title d-flex "> 563 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/restaurant/menukort" > 564 <svg data-fa-render class="fa-solid fa-pot-food" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M112 24c0 26.5 10.5 38.7 25.9 56.1l.4 .4C154.8 99 176 122.9 176 168c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-26.5-10.5-38.7-25.9-56.1l-.4-.4C85.2 93 64 69.1 64 24C64 10.7 74.7 0 88 0s24 10.7 24 24zm112 0c0 26.5 10.5 38.7 25.9 56.1l.4 .4C266.8 99 288 122.9 288 168c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-26.5-10.5-38.7-25.9-56.1l-.4-.4C197.2 93 176 69.1 176 24c0-13.3 10.7-24 24-24s24 10.7 24 24zm208 88c50.7 0 93.6 33.7 107.4 80H324.6c13.8-46.3 56.6-80 107.4-80zM77.7 320H48c-17.7 0-32-14.3-32-32s14.3-32 32-32H65.9c-.2-17.5 14-32 31.7-32H542.4c17.7 0 31.9 14.5 31.7 32H592c17.7 0 32 14.3 32 32s-14.3 32-32 32H
564562.3c-20.6 64-66.1 116.7-124.7 147.2l-1.2 9.7c-2.5 20-19.5 35-39.7 35H243.3c-20.2 0-37.2-15-39.7-35l-1.2-9.7C143.8 436.7 98.3 384 77.7 320z"/></svg> Menukort 565 </a> 566 </li> 567 568 569 </ul> 570 571 572 573 <ul class="px-0"> 574 575 <!-- Level 2 --> 576 <li class="py-2 title d-flex "> 577 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk//selskaber/vine-drikkevarer" > 578 <svg data-fa-render class="fa-solid fa-wine-glass" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M32.1 29.3C33.5 12.8 47.4 0 64 0H256c16.6 0 30.5 12.8 31.9 29.3l14 168.4c6 72-42.5 135.2-109.9 150.6V448h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H160 80c-17.7 0-32-14.3-32-32s14.3-32 32-32h48V348.4C60.6 333 12.1 269.8 18.1 197.8l14-168.4zm56 98.7H231.9l-5.3-64H93.4l-5.3 64z"/></svg> Vine og drikkevarer 579 </a> 580 </li> 581 582 583 </ul> 584 585 586 </div> 587 </div> 588 589 </div> 590 </li> 591 <!-- Level 1 --> 592 <li class="px-xxl-3 col-auto has-sub d-flex d-xl-inline-flex"> 593 <a href="https://www.agerbaek-hotel.dk/selskaber" class=" flex-grow-1 flex-xl-grow-0"> 594 <svg data-fa-render class="fa-solid fa-cake-candles" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M86.4 5.5L61.8 47.6C58 54.1 56 61.6 56 69.2V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L105.6 5.5C103.6 2.1 100 0 96 0s-7.6 2.1-9.6 5.5zm128 0L189.8 47.6c-3.8 6.5-5.8 14-5.8 21.6V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L233.6 5.5C231.6 2.1 228 0 224 0s-7.6 2.1-9.6 5.5zM317.8 47.6c-3.8 6.5-5.8 14-5.8 21.6V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L361.6 5.5C359.6 2.1 356 0 352 0s-7.6 2.1-9.6 5.5L317.8 47.6zM128 176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48c-35.3 0-64 28.7-64 64v71c8.3 5.2 18.1 9 28.8 9c13.5 0 27.2-6.1 38.4-13.4c5.4-3.5 9.9-7.1 13-9.7c1.5-1.3 2.7-2.4 3.5-3.1c.4-.4 .7-.6 .8-.8l.1-.1 0 0 0 0s0 0 0 0s0 0 0 0c3.1-3.2 7.4-4.9 11.9-4.8s8.6 2.1 11.6 5.4l0 0 0 0 .1 .1c.1 .1 .4 .4 .7 .7c.7 .7 1.7 1.7 3.1 3c2.8 2.6 6.8 6.1 11.8 9.5c10.2 7.1 23 13.1 36.3 13.1s26.1-6 36.3-13.1c5-3.5 9-6.9 11.8-9.5c1.4-1.3 2.4-2.3 3.1-3c.3-.3 .6-.6 .7-.7l.1-.1c3-3.5 7.4-5.4 12-5.4s9 2 12 5.4l.1 .1c.1 .1 .4 .4 .7 .7c.7 .7 1.7 1.7 3.1 3c2.8 2.6 6.8 6.1 11.8 9.5c10.2 7.1 23 13.1 36.3 13.1s26.1-6 36.3-13.1c5-3.5 9-6.9 11.8-9.5c1.4-1.3 2.4-2.3 3.1-3c.3-.3 .6-.6 .7-.7l.1-.1c2.9-3.4 7.1-5.3 11.6-5.4s8.7 1.6 11.9 4.8l0 0 0 0 0 0 .1 .1c.2 .2 .4 .4 .8 .8c.8 .7 1.9 1.8 3.5 3.1c3.1 2.6 7.5 6.2 13 9.7c11.2 7.3 24.9 13.4 38.4 13.4c10.7 0 20.5-3.9 28.8-9V288c0-35.3-28.7-64-64-64V176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48H256V176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48H128V176zM448 394.6c-8.5 3.3-18.2 5.4-28.8 5.4c-22.5 0-42.4-9.9-55.8-18.6c-4.1-2.7-7.8-5.4-10.9-7.8c-2.8 2.4-6.1 5-9.8 7.5C329.8 390 310.6 400 288 400s-41.8-10-54.6-18.9c-3.5-2.4-6.7-4.9-9.4-7.2c-2.7 2.3-5.9 4.7-9.4 7.2C201.8 390 182.6 400 160 400s-41.8-10-54.6-18.9c-3.7-2.6-7-5.2-9.8-7.5c-3.1 2.4-6.8 5.1-10.9 7.8C71.2 390.1 51.3 400 28.8 400c-10.6 0-20.3-2.2-28.8-5.4V480c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32V394.6z"/></svg> Selskaber 595 </a> 596 597
598 <span class="indicator"><svg data-fa-render class="fas fa-angle-right fa-fw" style="display:none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg><svg data-fa-render class="fas fa-angle-down fa-fw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg></span> 599 600 <div class="dropdownmenu"> 601 602 603 <div class="row no-gutters row-cols-xl-1"> 604 605 <div class="back-menu col-12"><svg data-fa-render class="fas fa-angle-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg> Tilbage</div> 606 <div class="flex-menu col-xl col-12"> 607 608 <ul class="px-0"> 609 610 <!-- Level 2 --> 611 <li class="py-2 title d-flex "> 612 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/selskaber/selskabsmenu" > 613 <svg data-fa-render class="fa-solid fa-cake-candles" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M86.4 5.5L61.8 47.6C58 54.1 56 61.6 56 69.2V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L105.6 5.5C103.6 2.1 100 0 96 0s-7.6 2.1-9.6 5.5zm128 0L189.8 47.6c-3.8 6.5-5.8 14-5.8 21.6V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L233.6 5.5C231.6 2.1 228 0 224 0s-7.6 2.1-9.6 5.5zM317.8 47.6c-3.8 6.5-5.8 14-5.8 21.6V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L361.6 5.5C359.6 2.1 356 0 352 0s-7.6 2.1-9.6 5.5L317.8 47.6zM128 176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48c-35.3 0-64 28.7-64 64v71c8.3 5.2 18.1 9 28.8 9c13.5 0 27.2-6.1 38.4-13.4c5.4-3.5 9.9-7.1 13-9.7c1.5-1.3 2.7-2.4 3.5-3.1c.4-.4 .7-.6 .8-.8l.1-.1 0 0 0 0s0 0 0 0s0 0 0 0c3.1-3.2 7.4-4.9 11.9-4.8s8.6 2.1 11.6 5.4l0 0 0 0 .1 .1c.1 .1 .4 .4 .7 .7c.7 .7 1.7 1.7 3.1 3c2.8 2.6 6.8 6.1 11.8 9.5c10.2 7.1 23 13.1 36.3 13.1s26.1-6 36.3-13.1c5-3.5 9-6.9 11.8-9.5c1.4-1.3 2.4-2.3 3.1-3c.3-.3 .6-.6 .7-.7l.1-.1c3-3.5 7.4-5.4 12-5.4s9 2 12 5.4l.1 .1c.1 .1 .4 .4 .7 .7c.7 .7 1.7 1.7 3.1 3c2.8 2.6 6.8 6.1 11.8 9.5c10.2 7.1 23 13.1 36.3 13.1s26.1-6 36.3-13.1c5-3.5 9-6.9 11.8-9.5c1.4-1.3 2.4-2.3 3.1-3c.3-.3 .6-.6 .7-.7l.1-.1c2.9-3.4 7.1-5.3 11.6-5.4s8.7 1.6 11.9 4.8l0 0 0 0 0 0 .1 .1c.2 .2 .4 .4 .8 .8c.8 .7 1.9 1.8 3.5 3.1c3.1 2.6 7.5 6.2 13 9.7c11.2 7.3 24.9 13.4 38.4 13.4c10.7 0 20.5-3.9 28.8-9V288c0-35.3-28.7-64-64-64V176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48H256V176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48H128V176zM448 394.6c-8.5 3.3-18.2 5.4-28.8 5.4c-22.5 0-42.4-9.9-55.8-18.6c-4.1-2.7-7.8-5.4-10.9-7.8c-2.8 2.4-6.1 5-9.8 7.5C329.8 390 310.6 400 288 400s-41.8-10-54.6-18.9c-3.5-2.4-6.7-4.9-9.4-7.2c-2.7 2.3-5.9 4.7-9.4 7.2C201.8 390 182.6 400 160 400s-41.8-10-54.6-18.9c-3.7-2.6-7-5.2-9.8-7.5c-3.1 2.4-6.8 5.1-10.9 7.8C71.2 390.1 51.3 400 28.8 400c-10.6 0-20.3-2.2-28.8-5.4V480c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32V394.6z"/></svg> Selskabsmenu 614 </a> 615 </li> 616 617 618 </ul> 619 620 621 622 <ul class="px-0"> 623 624 <!-- Level 2 --> 625 <li class="py-2 title d-flex "> 626 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk//restaurant/ud-af-huset/selskabsmenu-ud-af-huset" > 627 <svg data-fa-render class="fa-solid fa-party-horn" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M32 32a32 32 0 1 1 64 0A32 32 0 1 1 32 32zM448 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm32 256a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM167 153c-9.4
627-9.4-9.4-24.6 0-33.9l8.3-8.3c16.7-16.7 27.2-38.6 29.8-62.1l3-27.4C209.6 8.2 221.5-1.3 234.7 .1s22.7 13.3 21.2 26.5l-3 27.4c-3.8 34.3-19.2 66.3-43.6 90.7L201 153c-9.4 9.4-24.6 9.4-33.9 0zM359 311l8.2-8.3c24.4-24.4 56.4-39.8 90.7-43.6l27.4-3c13.2-1.5 25 8 26.5 21.2s-8 25-21.2 26.5l-27.4 3c-23.5 2.6-45.4 13.1-62.1 29.8L393 345c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9zM506.3 8.5c8.6 10.1 7.3 25.3-2.8 33.8l-10 8.5c-14.8 12.5-33.7 19.1-53 18.6c-16.6-.4-30.6 12.4-31.6 29l-1.8 30c-2.5 42.5-38.3 75.3-80.8 74.2c-7.6-.2-15 2.4-20.7 7.3l-10 8.5c-10.1 8.6-25.3 7.3-33.8-2.8s-7.3-25.3 2.8-33.8l10-8.5c14.8-12.5 33.7-19.1 53-18.6c16.6 .4 30.6-12.4 31.6-29l1.8-30c2.5-42.5 38.3-75.3 80.8-74.2c7.6 .2 15-2.4 20.7-7.3l10-8.5c10.1-8.6 25.3-7.3 33.8 2.8zM150.6 201.4l160 160c7.7 7.7 11 18.8 8.6 29.4s-9.9 19.4-20 23.2l-39.7 14.9L83.1 252.5 98 212.8c3.8-10.2 12.6-17.7 23.2-20s21.7 1 29.4 8.6zM48.2 345.6l22.6-60.2L226.6 441.2l-60.2 22.6L48.2 345.6zM35.9 378.5l97.6 97.6L43.2 510c-11.7 4.4-25 1.5-33.9-7.3S-2.4 480.5 2 468.8l33.8-90.3z"/></svg> Selskabsmenu - ud af huset 628 </a> 629 </li> 630 631 632 </ul> 633 634 635 636 <ul class="px-0"> 637 638 <!-- Level 2 --> 639 <li class="py-2 title d-flex "> 640 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/selskaber/vine-drikkevarer" > 641 <svg data-fa-render class="fa-solid fa-wine-glass" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M32.1 29.3C33.5 12.8 47.4 0 64 0H256c16.6 0 30.5 12.8 31.9 29.3l14 168.4c6 72-42.5 135.2-109.9 150.6V448h48c17.7 0 32 14.3 32 32s-14.3 32-32 32H160 80c-17.7 0-32-14.3-32-32s14.3-32 32-32h48V348.4C60.6 333 12.1 269.8 18.1 197.8l14-168.4zm56 98.7H231.9l-5.3-64H93.4l-5.3 64z"/></svg> Vine og drikkevarer 642 </a> 643 </li> 644 645 646 </ul> 647 648 649 650 <ul class="px-0"> 651 652 <!-- Level 2 --> 653 <li class="py-2 title d-flex "> 654 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/selskaber/kaffebord-og-mindehojtidelighed" > 655 <svg data-fa-render class="fa-solid fa-cross" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M176 0c-26.5 0-48 21.5-48 48v80H48c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48h80V464c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V256h80c26.5 0 48-21.5 48-48V176c0-26.5-21.5-48-48-48H256V48c0-26.5-21.5-48-48-48H176z"/></svg> Mindesammenkomst 656 </a> 657 </li> 658 659 660 </ul> 661 662 663 664 <ul class="px-0"> 665 666 <!-- Level 2 --> 667 <li class="py-2 title d-flex "> 668 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/selskaber/konferencer-og-moder" > 669 <svg data-fa-render class="fa-solid fa-users-medical" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M144 160A80 80 0 1 0 144 0a80 80 0 1 0 0 160zm368 0A80 80 0 1 0 512 0a80 80 0 1 0 0 160zM0 298.7C0 310.4 9.6 320 21.3 320H234.7c.2 0 .4 0 .7 0c-26.6-23.5-43.3-57.8-43.3-96c0-7.6 .7-15 1.9-22.3
669c-13.6-6.3-28.7-9.7-44.6-9.7H106.7C47.8 192 0 239.8 0 298.7zM405.3 320h77.4c6.6-18.6 24.4-32 45.3-32h32c20.9 0 38.7 13.4 45.3 32h13.4c11.8 0 21.3-9.6 21.3-21.3C640 239.8 592.2 192 533.3 192H490.7c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 38.2-16.8 72.5-43.3 96c.2 0 .4 0 .7 0zM416 400c0-14.6 6.5-27.7 16.9-36.5C416.3 356.1 398 352 378.7 352H261.3C187.7 352 128 411.7 128 485.3c0 14.7 11.9 26.7 26.7 26.7H482.7c-1.8-5-2.7-10.4-2.7-16V480H464c-26.5 0-48-21.5-48-48V400zm0-176a96 96 0 1 0 -192 0 96 96 0 1 0 192 0zm96 112v48H464c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h48v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V448h48c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H576V336c0-8.8-7.2-16-16-16H528c-8.8 0-16 7.2-16 16z"/></svg> Konferencer og møder 670 </a> 671 </li> 672 673 674 </ul> 675 676 677 678 <ul class="px-0"> 679 680 <!-- Level 2 --> 681 <li class="py-2 title d-flex "> 682 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/selskaber/ovrige-betingelser" > 683 <svg data-fa-render class="fa-solid fa-file-circle-info" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384v38.6C310.1 219.5 256 287.4 256 368c0 59.1 29.1 111.3 73.7 143.3c-3.2 .5-6.4 .7-9.7 .7H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zm48 96a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm0 96a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm-32 48c0 8.8 7.2 16 16 16h0v48h0c-8.8 0-16 7.2-16 16s7.2 16 16 16h16 16c8.8 0 16-7.2 16-16s-7.2-16-16-16V368c0-8.8-7.2-16-16-16H416c-8.8 0-16 7.2-16 16z"/></svg> Ãvrige betingelser 684 </a> 685 </li> 686 687 688 </ul> 689 690 691 </div> 692 </div> 693 694 </div> 695 </li> 696 <!-- Level 1 --> 697 <li class="px-xxl-3 col-auto has-sub d-flex d-xl-inline-flex"> 698 <a href="https://www.agerbaek-hotel.dk/ud-af-huset" class="unclickable flex-grow-1 flex-xl-grow-0"> 699 <svg data-fa-render class="fa-solid fa-burger-fries" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M183.2 1.7c-5-2.5-10.8-2.2-15.6 .7S160 10.5 160 16V206.7l0 0v63.2c9.2 1.4 19.8 2.2 32 2.2s22.8-.8 32-2.2V31.8c-.1-6-3.5-11.4-8.8-14.1l-32-16zM128 14.7l-.2-1.3c-.8-5-4-9.3-8.5-11.6s-9.9-2.3-14.4-.1l-32 16c-6.3 3.1-9.8 10-8.6 16.9l32 192c.5 1.2 .9 2.3 1.2 3.4c2 6.3 6.7 15.9 18.7 24.3c3.2 2.2 7.1 4.5 11.8 6.6V14.7zM40.3 85.6L19.9 80.5c-5.3-1.3-10.8 .1-14.8 3.8S-.7 93.4 .2 98.8l16.5 93.4c1.6-.1 3.1-.2 4.7-.2H48c3.6 0 7 .4 10.2 1L40.3 85.6zM383.8 98.8c.9-5.3-.9-10.8-4.8-14.5s-9.5-5.1-14.8-3.8L346.2 85l-19 107.8c2-.3 4-.6 6.1-.7c11-6.5 23.3-12.3 37.1-17.2l13.4-76.1zM276.3 337.2c-11.8-10.4-19.5-25.3-20.2-42.1c-16.6 5.4-37.6 8.8-64.1 8.8c-91.7 0-117.7-41-125.1-64.3C64.3 231.2 56.8 224 48 224H21.4C9.6 224
6990 233.6 0 245.4c0 1.7 .2 3.4 .6 5.1l57.5 237C61.5 501.9 74.4 512 89.2 512H272c-10-13.4-16-30-16-48c0-14.7 6.6-27.8 17-36.6c-10.5-11.4-17-26.6-17-43.4c0-18.5 7.8-35.1 20.3-46.8zm-8.5-82.9c.8-.6 1.6-1.1 2.4-1.7c4.1-6.6 9.4-14 16.1-21.6c.1-.3 .2-.6 .3-.9c.7-2.3 1.7-4.7 2.8-7L319.8 50.8c.9-5.3-.9-10.8-4.8-14.5s-9.5-5.1-14.8-3.8l-32 8C262 42 257.3 47 256.2 53.2l-.2 1.4V261c4.8-2.1 8.7-4.4 11.8-6.6zm372.2 38c0-3-.5-5.9-1.7-8.6c-8.1-18.4-48.4-91.9-174.3-91.9s-166.2 73.5-174.3 91.9c-1.2 2.7-1.7 5.7-1.7 8.6c0 15.2 12.3 27.5 27.5 27.5H612.5c15.2 0 27.5-12.3 27.5-27.5zM384 239.8a16 16 0 1 1 0 32 16 16 0 1 1 0-32zm64 0a16 16 0 1 1 32 0 16 16 0 1 1 -32 0zm96 0a16 16 0 1 1 0 32 16 16 0 1 1 0-32zm-224 112c-17.7 0-32 14.3-32 32s14.3 32 32 32H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H320zm-16 96c-8.8 0-16 7.2-16 16c0 26.5 21.5 48 48 48H592c26.5 0 48-21.5 48-48c0-8.8-7.2-16-16-16H304z"/></svg> Ud af huset 700 </a> 701 702 703 <span class="indicator"><svg data-fa-render class="fas fa-angle-right fa-fw" style="display:none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg><svg data-fa-render class="fas fa-angle-down fa-fw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg></span> 704 705 <div class="dropdownmenu"> 706 707 708 <div class="row no-gutters row-cols-xl-1"> 709 710 <div class="back-menu col-12"><svg data-fa-render class="fas fa-angle-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg> Tilbage</div> 711 <div class="flex-menu col-xl col-12"> 712 713 <ul class="px-0"> 714 715 <!-- Level 2 --> 716 <li class="py-2 title d-flex "> 717 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/ud-af-huset/ugemenu-takeaway" > 718 <svg data-fa-render class="fa-solid fa-burger-fries" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M183.2 1.7c-5-2.5-10.8-2.2-15.6 .7S160 10.5 160 16V206.7l0 0v63.2c9.2 1.4 19.8 2.2 32 2.2s22.8-.8 32-2.2V31.8c-.1-6-3.5-11.4-8.8-14.1l-32-16zM128 14.7l-.2-1.3c-.8-5-4-9.3-8.5-11.6s-9.9-2.3-14.4-.1l-32 16c-6.3 3.1-9.8 10-8.6 16.9l32 192c.5 1.2 .9 2.3 1.2 3.4c2 6.3 6.7 15.9 18.7 24.3c3.2 2.2 7.1 4.5 11.8 6.6V14.7zM40.3 85.6L19.9 80.5c-5.3-1.3-10.8 .1-14.8 3.8S-.7 93.4 .2 98.8l16.5 93.4c1.6-.1 3.1-.2 4.7-.2H48c3.6 0 7 .4 10.2 1L40.3 85.6zM383.8 98.8c.9-5.3-.9-10.8-4.8-14.5s-9.5-5.1-14.8-3.8L346.2 85l-19 107.8c2-.3 4-.6 6.1-.7c11-6.5 23.3-12.3 37.1-17.2l13.4-76.1zM276.3 337.2c-11.8-10.4-19.5-25.3-20.2-42.1c-16.6 5.4-37.6 8.8-64.1 8.8c-91.7 0-117.7-41-125.1-64.3C64.3 231.2 56.8 224 48 224H21.4C9.6 224 0 233.6 0 245.4c0 1.7 .2 3.4 .6 5.1l57.5 237C61.5 501.9 74.4 512 89.2 512H272c-10-13.4-16-30-16-48c0-14.7 6.6-27.8 17-36.6c-10.5-11.4-17-26.6-17-43.4c0-18.5 7.8-35.1 20.3-46.8zm-8.5-82.9c.8-.6 1.6-1.1 2.4-1.7c4.1-6.6 9.4-14 16.1-21.6c.1-.3 .2-.6 .3-.9c.7-2.3 1.7-4.7 2.8-7L319.8 50.8c.9-5.3-.9-10.8-4.8-14.5s-9.5-5.1-14.8-3.8l-32 8C262 42 257.3 47 256.2 53.2l-.2 1.4V261c4.8-2.1 8.7-4.4 11.8-6.6zm372.2 38c0-3-.5-5.9-1.7-8.6c-8.1-18.4-48.4-91.9-174.3-91.9s-166.2 73.5-174.3 91.9c-1.2 2.7-1.7 5.7-1.7 8.6c0 15.2 12.3 27.5 27.5 27.5H612.5c15.2 0 27.5-12.3 27.5-27.5zM384 239.8a16 16 0 1 1 0 32 16 16 0 1 1 0-32zm64 0a16 16 0 1 1 32 0 16 16 0 1 1 -32 0zm96 0a16 16 0 1 1 0 32 16 16 0 1 1 0-32zm-224 112c-17.7 0-32 14.3-32 32s14.3 32 32 32H608c17.7 0 32-14.3 32-32s-14.3-32-32-32H320zm-16 96c-8.8 0-16 7.2-16 16c0 26.5 21.5 48 48 48H592c26.5 0 48-21.5 48-48c0-8.8-7.2-16-16-16H304z"/></svg> Takeaway 719 </a> 720 </li> 721 722 723 </ul> 724 725 726 727 <ul class="px-0"> 728 729 <!-- Level 2 --> 730 <li class="py-2 title d-flex "> 731 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/ud-af-huset/klar-til-grill-sous-vide-produkter" > 732 <svg data-fa-render class="fa-solid fa-grill-hot" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M120 0c13.3 0 24 10.7 24 24v2.6c0 5.3 2.7 10.3 7.1 13.3l12.4 8.3C181.3 60 192 80 192 101.4V104c0 13.3-10.7 24-24 24s-24-10.7-24-24v-2.6c0-5.3-2.7-10.3-7.1-13.3l-12.4-8.3C106.7 68 96 48 96 26.6V24c0-13.3 10.7-24 24-24zM0 192c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32c0 78.1-46.6 145.3-113.6 175.3l47.7 111.2c5.2 12.2-.4 26.3-12.6 31.5s-26.3-.4-31.5-12.6L327 472H155.3c-9.5 23.5-32.5 40-59.3 40c-35.3 0-64-28.7-64-64s28.7-64 64-64c3.4 0 6.8 .3 10.1 .8l7.5-17.5C46.6 337.3 0 270.1 0 192zM155.3 424H306.5l-18.3-42.7C277.7 383.1 267 384 256 384H192c-11 0-21.7-.9-32.2-2.7L147.5 410c3.2 4.3 5.8 9 7.8 14zM96 472a24 24 0 1 0 0-48 24 24 0 1 0 0 48zM256 24v2.6c0 5.3 2.7 10.3 7.1 13.3l12.4 8.3C293.3 60 304 80 304 101.4V104c0 13.3-10.7 24-24 24s-24-10.7-24-24v-2.6c0-5.3-2.7-10.3-7.1-13.3l-12.4-8.3C218.7 68 208 48 208 26.6V24c0-13.3 10.7-24 24-24s24 10.7 24 24z"/></svg> Klar til grill - sous-v
732ide produkter 733 </a> 734 </li> 735 736 737 </ul> 738 739 740 741 <ul class="px-0"> 742 743 <!-- Level 2 --> 744 <li class="py-2 title d-flex "> 745 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/ud-af-huset/selskabsmenu-ud-af-huset" > 746 <svg data-fa-render class="fa-solid fa-cake-candles" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M86.4 5.5L61.8 47.6C58 54.1 56 61.6 56 69.2V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L105.6 5.5C103.6 2.1 100 0 96 0s-7.6 2.1-9.6 5.5zm128 0L189.8 47.6c-3.8 6.5-5.8 14-5.8 21.6V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L233.6 5.5C231.6 2.1 228 0 224 0s-7.6 2.1-9.6 5.5zM317.8 47.6c-3.8 6.5-5.8 14-5.8 21.6V72c0 22.1 17.9 40 40 40s40-17.9 40-40V69.2c0-7.6-2-15-5.8-21.6L361.6 5.5C359.6 2.1 356 0 352 0s-7.6 2.1-9.6 5.5L317.8 47.6zM128 176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48c-35.3 0-64 28.7-64 64v71c8.3 5.2 18.1 9 28.8 9c13.5 0 27.2-6.1 38.4-13.4c5.4-3.5 9.9-7.1 13-9.7c1.5-1.3 2.7-2.4 3.5-3.1c.4-.4 .7-.6 .8-.8l.1-.1 0 0 0 0s0 0 0 0s0 0 0 0c3.1-3.2 7.4-4.9 11.9-4.8s8.6 2.1 11.6 5.4l0 0 0 0 .1 .1c.1 .1 .4 .4 .7 .7c.7 .7 1.7 1.7 3.1 3c2.8 2.6 6.8 6.1 11.8 9.5c10.2 7.1 23 13.1 36.3 13.1s26.1-6 36.3-13.1c5-3.5 9-6.9 11.8-9.5c1.4-1.3 2.4-2.3 3.1-3c.3-.3 .6-.6 .7-.7l.1-.1c3-3.5 7.4-5.4 12-5.4s9 2 12 5.4l.1 .1c.1 .1 .4 .4 .7 .7c.7 .7 1.7 1.7 3.1 3c2.8 2.6 6.8 6.1 11.8 9.5c10.2 7.1 23 13.1 36.3 13.1s26.1-6 36.3-13.1c5-3.5 9-6.9 11.8-9.5c1.4-1.3 2.4-2.3 3.1-3c.3-.3 .6-.6 .7-.7l.1-.1c2.9-3.4 7.1-5.3 11.6-5.4s8.7 1.6 11.9 4.8l0 0 0 0 0 0 .1 .1c.2 .2 .4 .4 .8 .8c.8 .7 1.9 1.8 3.5 3.1c3.1 2.6 7.5 6.2 13 9.7c11.2 7.3 24.9 13.4 38.4 13.4c10.7 0 20.5-3.9 28.8-9V288c0-35.3-28.7-64-64-64V176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48H256V176c0-17.7-14.3-32-32-32s-32 14.3-32 32v48H128V176zM448 394.6c-8.5 3.3-18.2 5.4-28.8 5.4c-22.5 0-42.4-9.9-55.8-18.6c-4.1-2.7-7.8-5.4-10.9-7.8c-2.8 2.4-6.1 5-9.8 7.5C329.8 390 310.6 400 288 400s-41.8-10-54.6-18.9c-3.5-2.4-6.7-4.9-9.4-7.2c-2.7 2.3-5.9 4.7-9.4 7.2C201.8 390 182.6 400 160 400s-41.8-10-54.6-18.9c-3.7-2.6-7-5.2-9.8-7.5c-3.1 2.4-6.8 5.1-10.9 7.8C71.2 390.1 51.3 400 28.8 400c-10.6 0-20.3-2.2-28.8-5.4V480c0 17.7 14.3 32 32 32H416c17.7 0 32-14.3 32-32V394.6z"/></svg> Selskabsmenu - ud af huset 747 </a> 748 </li> 749 750 751 </ul> 752 753 754 </div> 755 </div> 756 757 </div> 758 </li> 759 <!-- Level 1 --> 760 <li class="px-xxl-3 col-auto has-sub d-flex d-xl-inline-flex"> 761 <a href="https://www.agerbaek-hotel.dk/info" class="unclickable flex-grow-1 flex-xl-grow-0"> 762 <svg data-fa-render class="fa-solid fa-square-info" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
762<path d="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM184 336h24V272H184c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg> Info 763 </a> 764 765 766 <span class="indicator"><svg data-fa-render class="fas fa-angle-right fa-fw" style="display:none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg><svg data-fa-render class="fas fa-angle-down fa-fw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg></span> 767 768 <div class="dropdownmenu"> 769 770 771 <div class="row no-gutters row-cols-xl-1"> 772 773 <div class="back-menu col-12"><svg data-fa-render class="fas fa-angle-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg> Tilbage</div> 774 <div class="flex-menu col-xl col-12"> 775 776 <ul class="px-0"> 777 778 <!-- Level 2 --> 779 <li class="py-2 title d-flex "> 780 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/info/om-hotellet" > 781 Om hotellet 782 </a> 783 </li> 784 785 786 </ul> 787 788 789 790 <ul class="px-0"> 791 792 <!-- Level 2 --> 793 <li class="py-2 title d-flex "> 794 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/info/jobs" > 795 Generationsskifte 796 </a> 797 </li> 798 799 800 </ul> 801 802 803 804 <ul class="px-0"> 805 806 <!-- Level 2 --> 807 <li class="py-2 title d-flex "> 808 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/info/kontakt" > 809 Kontakt 810 </a> 811 </li> 812 813 814 </ul> 815 816 817 818 <ul class="px-0"> 819 820 <!-- Level 2 --> 821 <li class="py-2 title d-flex "> 822 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/info/erhvervsaftaler" > 823 Erhvervsaftaler 824 </a> 825 </li> 826 827 828 </ul> 829 830 831 832 <ul class="px-0"> 833 834 <!-- Level 2 --> 835 <li class="py-2 title d-flex "> 836 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/info/samarbejdspartnere" > 837 Samarbejdspartnere 838 </a> 839 </li> 840 841 842 </ul> 843 844 845 846 <ul class="px-0"> 847 848 <!-- Level 2 --> 849 <li class="py-2 title d-flex "> 850 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/info/nyheder" > 851 SoMe 852 </a> 853 </li> 854 855 856 </ul> 857 858 859 </div> 860 </div> 861 862 </div> 863 </li> 864 <!-- Level 1 --> 865 <li class="px-xxl-3 col-auto has-sub active d-flex d-xl-inline-flex"> 866 <a href="https://www.agerbaek-hotel.dk/booking" class="unclickable flex-grow-1 flex-xl-grow-0"> 867 <svg data-fa-render class="fa-solid fa-calendar-clock" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 9
8676 32zM448 192H432 0V464c0 26.5 21.5 48 48 48H330.8C285.6 480.1 256 427.5 256 368c0-97.2 78.8-176 176-176c5.4 0 10.7 .2 16 .7V192zM576 368a144 144 0 1 0 -288 0 144 144 0 1 0 288 0zM432 288c8.8 0 16 7.2 16 16v48h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H432c-8.8 0-16-7.2-16-16V304c0-8.8 7.2-16 16-16z"/></svg> Booking 868 </a> 869 870 871 <span class="indicator"><svg data-fa-render class="fas fa-angle-right fa-fw" style="display:none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg><svg data-fa-render class="fas fa-angle-down fa-fw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"/></svg></span> 872 873 <div class="dropdownmenu"> 874 875 876 <div class="row no-gutters row-cols-xl-1"> 877 878 <div class="back-menu col-12"><svg data-fa-render class="fas fa-angle-left" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"/></svg> Tilbage</div> 879 <div class="flex-menu col-xl col-12"> 880 881 <ul class="px-0"> 882 883 <!-- Level 2 --> 884 <li class="py-2 title d-flex "> 885 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/booking/book-vaerelse" > 886 Book værelse 887 </a> 888 </li> 889 890 891 </ul> 892 893 894 895 <ul class="px-0"> 896 897 <!-- Level 2 --> 898 <li class="py-2 title d-flex "> 899 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/booking/tilmelding-til-mortensaften-d-10-november" > 900 <svg data-fa-render class="fa-solid fa-party-horn" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M32 32a32 32 0 1 1 64 0A32 32 0 1 1 32 32zM448 160a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm32 256a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM167 153c-9.4-9.4-9.4-24.6 0-33.9l8.3-8.3c16.7-16.7 27.2-38.6 29.8-62.1l3-27.4C209.6 8.2 221.5-1.3 234.7 .1s22.7 13.3 21.2 26.5l-3 27.4c-3.8 34.3-19.2 66.3-43.6 90.7L201 153c-9.4 9.4-24.6 9.4-33.9 0zM359 311l8.2-8.3c24.4-24.4 56.4-39.8 90.7-43.6l27.4-3c13.2-1.5 25 8 26.5 21.2s-8 25-21.2 26.5l-27.4 3c-23.5 2.6-45.4 13.1-62.1 29.8L393 345c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9zM506.3 8.5c8.6 10.1 7.3 25.3-2.8 33.8l-10 8.5c-14.8 12.5-33.7 19.1-53 18.6c-16.6-.4-30.6 12.4-31.6 29l-1.8 30c-2.5 42.5-38.3 75.3-80.8 74.2c-7.6-.2-15 2.4-20.7 7.3l-10 8.5c-10.1 8.6-25.3 7.3-33.8-2.8s-7.3-25.3 2.8-33.8l10-8.5c14.8-12.5 33.7-19.1 53-18.6c16.6 .4 30.6-12.4 31.6-29l1.8-30c2.5-42.5 38.3-75.3 80.8-74.2c7.6 .2 15-2.4 20.7-7.3l10-8.5c10.1-8.6 25.3-7.3 33.8 2.8zM150.6 201.4l160 160c7.7 7.7 11 18.8 8.6 29.4s-9.9 19.4-20 23.2l-39.7 14.9L83.1 252.5 98 212.8c3.8-10.2 12.6-17.7 23.2-20s21.7 1 29.4 8.6zM48.2 345.6l22.6-60.2L226.6 441.2l-60.2 22.6L48.2 345.6zM35.9 378.5l97.6 97.6L43.2 510c-11.7 4.4
900-25 1.5-33.9-7.3S-2.4 480.5 2 468.8l33.8-90.3z"/></svg> Tilmelding til mortensaften d. 8. og 10. november 901 </a> 902 </li> 903 904 905 </ul> 906 907 908 909 <ul class="px-0"> 910 911 <!-- Level 2 --> 912 <li class="py-2 title d-flex "> 913 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/booking/bordreservation" > 914 Bordreservation 915 </a> 916 </li> 917 918 919 </ul> 920 921 922 923 <ul class="px-0"> 924 925 <!-- Level 2 --> 926 <li class="py-2 title d-flex active"> 927 <a class=" flex-grow-1 " href="https://www.agerbaek-hotel.dk/booking/tilmelding-til-arrangement" > 928 Tilmelding til mindesammenkomst 929 </a> 930 </li> 931 932 933 </ul> 934 935 936 </div> 937 </div> 938 939 </div> 940 </li> 941 </ul> 942 943 </div> 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 </div> 962 </div> 963 964 965 966 </header> 967 968 969 970 971 <div class="container d-none"> 972 <ul class="breadcrumb"> 973 <li><a href="https://www.agerbaek-hotel.dk/"><span>Forside</span></a></li> 974 <li><span>Booking</span></li> 975 <li><span>Tilmelding til mindesammenkomst</span></li> 976 </ul> 977</div> 978 979 980 981 982 <div id="ajax-filter-container"> 983 984 <div class="container" > 985 <div class="row"> 986 <div class="col-12"> 987 <h1>Tilmelding til mindesammenkomst</h1> 988 </div> 989 </div> 990 </div> 991 992 993<div style="" class=" "> 994<div class="container-fluid pl-0 pr-0 " id="columnz_id_2339"> 995 <div class="row no-gutters "> 996 997 <div class="col-12 columnz-layout1 view-show position-bottom background-1 columnz_type_container">
998 <div style="" class=" container_column2340"> 999 1000 <!-- Container --> 1001 1002 <div class="row "> 1003 1004 <div class="col-12 columnz_type_image"> 1005 <div style="" class=" "> 1006 1007 1008 1009 1010 1011 1012 1013 1014 <!-- Billede --> 1015 <img width="1500" height="375" src="https://www.agerbaek-hotel.dk/image/cachewebp/catalog/album/1445594225436459_20140308_145322-cropresize-1500x375.webp" alt="Tilmelding til mindesammenkomst" title="" class="img-fluid"> 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 </div> 1026 </div> 1027 <div class="col-container columnz_type_heading"> 1028 <div style="" class=" "> 1029 1030 1031 1032 1033 <!-- Tekst --> 1034 <div class=" " > 1035 <h1>Tilmelding til mindesammenkomst</h1> 1036<h2>Hans Christian Thuesen</h2> 1037 </div> 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 </div> 1052 </div> 1053 1054 </div> 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 </div> 1078 </div> 1079 1080 </div> 1081 </div> 1082</div> 1083 1084<div style="" class=" "> 1085<div class="container booking-table " id="columnz_id_2342"> 1086 <div class="row "> 1087 1088 <div class="col-12 columnz_type_container">
1089 <div style="" class=" container_column2343"> 1090 1091 <!-- Container --> 1092 1093 <div class="row "> 1094 1095 <div class="col-12 bg-color columnz_type_heading"> 1096 <div style="" class="p-2 columnz-bgcolor-secondary_dark "> 1097 1098 1099 1100 1101 <!-- Tekst --> 1102 <div class=" columnz-color-secondary_light" > 1103 <h4>Udfyld venligst formularen for tilmelding eller kontakt os på tlf. 75 19 60 02 eller sms 29 21 40 28</h4> 1104 </div> 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 </div> 1119 </div> 1120 <div class="col-12 col-lg-12 columnz_type_module"> 1121 <div style="" class=" "> 1122 1123 1124 1125 1126 1127 1128 1129 <!-- Modul --> 1130 <div class="row"> 1131 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> 1132 <div class="xform-mod"> 1133 <link href="catalog/view/theme/default/stylesheet/xform/boxplus.css" rel="stylesheet"><style>li.li-hidden{display:none;}</style><div class="form-wrapper6ac1ad2da14d6"><h3><strong>Mindesammenkomst for Hans Christian Thuesen, fredag d. 9. oktober 2026 kl. 12:30 i Agerbæk Kirke</strong></h3> 1134<p> </p> 1135<p> </p><form method="post" onsubmit="return !!(xformSubmit6ac1ad2da14d6())" class="form-class6ac1ad2da14d6" enctype="multipart/form-data" action=""><div class="form-row"><div style="display:none" class="xmessage6ac1ad2da14d6 col"></div><div style="display:none" class="xloading"> 1136 <div class="xspinner"> 1137 <div class="bounce1"></div> 1138 <div class="bounce2"></div> 1139 <div class="bounce3"></div> 1140 </div></div><div class="field col-12 row-c2 col-sm-6 li-text"><div class="form-group"><input placeholder="Navn *" id="field-c2" class="f-c2 form-control req form-controllarge" name="data[c2]" value="" type="text" /></div></div><div class="field col-12 row-c24 col-sm-6 li-text"><div class="form-group"><input placeholder="Antal *" id="field-c24" class="f-c24 form-control req form-controllarge" name="data[c24]" value="" type="text" /></div></div><div class="field col-12 row-c17 col-sm-6 li-email"><div class="form-group"><input placeholder="E-mail *" id="field-c17" class="f-c17 form-control req form-controllarge" name="data[c17]" value="" type="text" /></div></div><div class="field col-12 row-c64 col-sm-6 li-text"><div class="form-group"><input placeholder="Tlf.nr." id="field-c64" class="f-c64 form-control form-controllarge" name="data[c64]" value="" type="text" /></div></div><div class="field col-12 row-c14 li-paragraph"><div class="form-group"><textarea placeholder="Allergener der skal tages hensyn til" id="field-c14" class="f-c14 form-control form-controlmedium" name="data[c14]"></textarea></div></div><div class="field col-12 row-c22 li-submit"><input type="text" id="lastname" name="sirname"><button id="field-c22" class="f-c22 xbtn btn btn-block btn-warning" name="submit" value="Send tilmelding" type="submit">Send tilmelding <svg data-fa-render class="fa-solid fa-paper-plane pl-2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"/></svg></button></div><div style="display:none" class="xloading"> 1141 <div class="xspinner"> 1142 <div class="bounce1"></div> 1143 <div class="bounce2"></div> 1144 <div class="bounce3"></div> 1145 </div></div><input type="hidden" name="form_id" value="25"></div></form></div>
1145<script> 1146 function xformSubmit6ac1ad2da14d6() { 1147 var btn_lbl = ""; 1148 var btn_text = $("form.form-class6ac1ad2da14d6 div.li-submit button").text(); 1149 $.ajax({ 1150 type: "get", 1151 dataType: "json", 1152 url: "index.php?route=extension/xform/xform/ajaxSubmit&formId=25", 1153 type: "post", 1154 processData: false, 1155 contentType: false, 1156 data: new FormData(document.querySelector("form.form-class6ac1ad2da14d6")), 1157 cache: false, 1158 beforeSend: function() { 1159 $("form.form-class6ac1ad2da14d6 div.li-submit button").prop("disabled", true); 1160 $("form.form-class6ac1ad2da14d6 div.li-submit button").text("... loading"); 1161 }, 1162 complete: function() { 1163 $("form.form-class6ac1ad2da14d6 div.li-submit button").prop("disabled", false); 1164 $("form.form-class6ac1ad2da14d6 div.li-submit button").text(btn_text); 1165 }, 1166 success: function(data) { 1167 if(data && typeof data == "object" && data.error.length > 0) { 1168 $("form.form-class6ac1ad2da14d6").find("span.error-block").remove(); 1169 for (var i=0; i < data.error.length; i++) { 1170 console.log($("form.form-class6ac1ad2da14d6").find("[name^='data["+data.error[i].cid+"]']").closest("div")); 1171 $("form.form-class6ac1ad2da14d6").find("[name^='data["+data.error[i].cid+"]']").closest("div").append("<span class=\"error-block\">"+data.error[i].error+"</span>"); 1172 } 1173 } 1174 else { 1175 if(data.redirect) { 1176 location = data.redirect; 1177 } else if(data.message) { 1178 $("div.xmessage6ac1ad2da14d6").html(data.message).show(); 1179 $(".form-wrapper6ac1ad2da14d6 .form-row div.field").hide(); 1180 $("div.xloading").hide(); 1181 $("div.form-wrapper6ac1ad2da14d6").height(400); 1182 } 1183 } 1184 1185 if ($("form.form-class6ac1ad2da14d6").closest("#cboxLoadedContent").length) { 1186 $("form.form-class6ac1ad2da14d6").closest("#cboxLoadedContent").animate({ 1187 scrollTop: 0 1188 }, 500); 1189 } else { 1190 $("html, body").animate({ 1191 scrollTop: $("div.form-wrapper6ac1ad2da14d6").offset().top 1192 }, 500); 1193 } 1194 1195 } 1196 }); 1197 return false; 1198 } 1199 </script>
1199 1200 </div> 1201 </div> 1202</div> 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 </div> 1215 </div> 1216 1217 </div> 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 </div> 1241 </div> 1242 1243 </div> 1244 </div> 1245</div> 1246 1247<div style="" class=" "> 1248<div class="container pt-3 " id="columnz_id_2341"> 1249 <div class="row "> 1250 1251 <div class="col-12 columnz_type_text"> 1252 <div style="" class=" "> 1253 1254 1255 1256 1257 <!-- Tekst --> 1258 <div class=" " > 1259 <h5>Kontakt os</h5> 1260<p>Det er også muligt at tilmelde sig arrangementet telefonisk, på SMS eller på mail.</p> 1261 </div> 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 </div> 1276 </div> 1277 <div class="col-12 col-lg-4 columnz_type_link"> 1278 <div style="" class="pr-lg-3 pr-xl-5 "> 1279 1280 1281 1282 1283 1284 <!-- Link --> 1285 <div class="text-left "> 1286 <a href="tel:+4575196002" class=" btn btn-warning btn-block btn-0"> 1287 Ring på tlf. 75 19 60 02 1288 <svg data-fa-render class="fa-solid fa-phone-volume fa-fw " xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M280 0C408.1 0 512 103.9 512 232c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-101.6-82.4-184-184-184c-13.3 0-24-10.7-24-24s10.7-24 24-24zm8 192a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm-32-72c0-13.3 10.7-24 24-24c75.1 0 136 60.9 136 136c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-48.6-39.4-88-88-88c-13.3 0-24-10.7-24-24zM117.5 1.4c19.4-5.3 39.7 4.6 47.4 23.2l40 96c6.8 16.3 2.1 35.2-11.6 46.3L144 207.3c33.3 70.4 90.3 127.4 160.7 160.7L345 318.7c11.2-13.7 30-18.4 46.3-11.6l96 40c18.6 7.7 28.5 28 23.2 47.4l-24 88C481.8 499.9 466 512 448 512C200.6 512 0 311.4 0 64C0 46 12.1 30.2 29.5 25.4l88-24z"/></svg> 1289 </a> 1290 </div> 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 </div> 1304 </div> 1305 <div class="col-12 col-lg-4 columnz_type_link"> 1306 <div style="" class="pr-lg-3 pr-xl-5 "> 1307 1308 1309 1310 1311 1312 <!-- Link --> 1313 <div class="text-left "> 1314 <a href="tel:+4529214028" class=" btn btn-secondary btn-block btn-0"> 1315 SMS på nr. 29 21 40 28 1316 <svg data-fa-render class="fa-solid fa-mobile-retro fa-fw " xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M0 64C0 28.7 28.7 0 64 0H256c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zm64 96v64c0 17.7 14.3 32 32 32H224c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H96c-17.7 0-32 14.3-32 32zM80 352a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm24 56a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm56-56a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm24 56a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm56-56a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm24 56a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM128 48c-8.8 0-16 7.2-16 16s7.2 16 16 16h64c8.8 0 16-7.2 16-16s-7.2-16-16-16H128z"/></svg> 1317 </a> 1318 </div> 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 </div> 1332 </div> 1333 <div class="col-12 col-lg-4 columnz_type_link"> 1334 <div style="" class="pl-lg-3 pl-xl-5 "> 1335 1336 1337 1338 1339 1340 <!-- Link --> 1341 <div class="text-left "> 1342 <a href="mailto:[email protected]" class=" btn btn-primary btn-block btn-0"> 1343 Skriv på mail 1344 <svg data-fa-render class="fa-solid fa-envelope-open-text fa-fw " xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M215.4 96H144 107.8 96v8.8V144v40.4 89L.2 202.5c1.6-18.1 10.9-34.9 25.7-45.8L48 140.3V96c0-26.5 21.5-48 48-48h76.6l49.9-36.9C232.2 3.9 243.9 0 256 0s23.8 3.9 33.5 11L339.4 48H416c26.5 0 48 21.5 48 48v44.3l22.1 16.4c14.8 10.9 24.1 27.7 25.7 45.8L416 273.4v-89V144 104.8 96H404.2 368 296.6 215.4zM0 448V242.1L217.6 403.3c11.1 8.2 24.6 12.7 38.4 12.7s27.3-4.4 38.4-12.7L512 242.1V448v0c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64v0zM176 160H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H176c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H176c-8.8 0-16-7.2-16-16s7.2-16 16-16z"/></svg> 1345 </a> 1346 </div> 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 </div> 1360 </div> 1361 1362 </div> 1363 </div> 1364</div> 1365 1366 1367 1368 1369 1370 </div> 1371 1372
1372<script type="application/ld+json"> 1373 { 1374 "@context": "http://schema.org/", 1375 "@type": "BreadcrumbList", 1376 "itemListElement": [ 1377 { 1378 "@type": "ListItem", 1379 "position": 1, 1380 "name": "Forside", 1381 "item": "https://www.agerbaek-hotel.dk/" 1382 } 1383 , { 1384 "@type": "ListItem", 1385 "position": 2, 1386 "name": "Booking", 1387 "item": "https://www.agerbaek-hotel.dk/booking/tilmelding-til-arrangement" 1388 } 1389 , { 1390 "@type": "ListItem", 1391 "position": 3, 1392 "name": "Tilmelding til mindesammenkomst", 1393 "item": "https://www.agerbaek-hotel.dk/booking/tilmelding-til-arrangement" 1394 } 1395 ] 1396 } 1397 </script>
1397 1398 1399 1400 1401 1402 1403<button type="button" class="hidden modal_search btn btn-primary" style="display: none" data-toggle="modal" data-target="#searchModal"> 1404 Launch Live Ajax Search 1405</button>
1406<script> 1407 function text_complite(ev, keywords) { 1408 if (ev.keyCode == 38 || ev.keyCode == 40) { 1409 return false; 1410 } 1411 if (keywords == '' || keywords.length < 1 || keywords.length < 0 ) { 1412 return false; 1413 } 1414 1415 $.ajax({ 1416 url: $('base').attr('href') + 'index.php?route=extension/module/d_ajax_search/getAutocomplite&keyword=' + keywords, 1417 dataType: 'json', 1418 beforeSend: function () { 1419 }, 1420 success: function (autocomplite) { 1421 $('#search-autocomplite').text(''); 1422 $('#help').hide(); 1423 if (typeof autocomplite != 'undefined' && autocomplite != null) { 1424 $("[name=search]").first().val().toLowerCase(); 1425 if (autocomplite != '' && autocomplite.indexOf($("[name=search]").first().val()) !== -1) { 1426 $('#search-autocomplite').text(autocomplite.toLowerCase()); 1427 } 1428 1429 $("[name=search]").keydown(function (event) { 1430 if (event.keyCode == 39) { 1431 $("[name=search]").val(autocomplite); 1432 $('#search-autocomplite').text(''); 1433 } else if (event.keyCode == 08){ 1434 $('#search-autocomplite').text(''); 1435 } 1436 }); 1437 1438 } 1439 }, 1440 error: function (xhr, ajaxOptions, thrownError) { 1441 console.log(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 1442 } 1443 }); 1444 } 1445 1446 function doquick_search(ev, keywords) { 1447 if (ev.keyCode == 38 || ev.keyCode == 40) { 1448 return false; 1449 } 1450 1451 // $('#d_ajax_search_results').remove(); 1452 updown = -1; 1453 1454 if (keywords == '' || keywords.length < 1 || keywords.length < 0 ) { 1455 return false; 1456 } 1457 keywords = encodeURI(keywords); 1458 1459 $.ajax({ 1460 url: $('base').attr('href') + 'index.php?route=extension/module/d_ajax_search/searchresults&keyword=' + keywords, 1461 dataType: 'json', 1462 beforeSend: function () { 1463 var html = '<div id="d_ajax_search_results"><div id="d_ajax_search_results_body">'; 1464 html += '<span class="wait-spinner"><svg data-fa-render class="fad fa-spinner-third fa-spin fa-3x fa-fw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="fa-primary" d="M224 32c0-17.7 14.3-32 32-32C397.4 0 512 114.6 512 256c0 46.6-12.5 90.4-34.3 128c-8.8 15.3-28.4 20.5-43.7 11.7s-20.5-28.4-11.7-43.7c16.3-28.2 25.7-61 25.7-96c0-106-86-192-192-192c-17.7 0-32-14.3-32-32z"/><path class="fa-secondary" d="M256 64C150 64 64 150 64 256s86 192 192 192c70.1 0 131.3-37.5 164.9-93.6l.1 .1c-6.9 14.9-1.5 32.8 13 41.2c15.3 8.9 34.9 3.6 43.7-11.7c.2-.3 .4-.6 .5-.9l0 0C434.1 460.1 351.1 512 256 512C114.6 512 0 397.4 0 256S114.6 0 256 0c-17.7 0-32 14.3-32 32s14.3 32 32 32z"/></svg></span>'; 1465 if (0) { 1466 $('#search_mobile').after(html); 1467 } else { 1468 $("[name=search]").after(html); 1469 // $('#d_ajax_search_results').css('margin-top', '-' + $("[name=search]").css('margin-bottom')); 1470 } 1471 }, 1472 success: function (results) { 1473 // $('#search-autocomplite').text(''); 1474 $('[id="d_ajax_search_results"]').remove(); 1475 $('#help').hide(); 1476 var result = $.map(results, function (value, index) { 1477 return [value]; 1478 }); 1479 1480 if (typeof result != 'undefined' && result.length > 0) { 1481 // $('#search-autocomplite').text(result[0].autocomplite); 1482 if (result[0].keyword !== $("[name=search]").first().val()) { 1483 // $("[name=search]").first().val(result[0].keyword); 1484 } 1485 var html, i, name; 1486 html = '<div id="d_ajax_search_results"><div id="d_ajax_search_results_body">'; 1487 1488 if (result[0].redirect) { 1489 html += '<div class="redirect hidden">' + result[0].redirect + '</div>'; 1490 } 1491 1492 if (result[0].saggestion) { 1493 html += '<div class="saggestion">Viser resultater for <span class="saggestion-result">' + result[0].saggestion + '</span></div>'; 1494 } 1495 for (i = 0; i < result.length; i++) { 1496 1497 1498 if (i >= 5 && 1) { 1499 var addclass = 'hidden'; 1500 } else { 1501 addclass = ''; 1502 } 1503 1504 if (1) { 1505 if (i == 0) { 1506 html += '<div class="result_block ' + addclass + '"><div class="block-text">' + result[i].where_find + '</div>'; 1507 } else if (i !== 0 && result[i].where_find !== result[i - 1].where_find) { 1508 html += '<div class="result_block ' + addclass + '"><div class="block-text">' + result[i].where_find + '</div>'; 1509 } 1510 } 1511 1512 html += '<a class="result-link align-items-center ' + addclass + ' sort-item row d-flex" item_data="' + result[i].item_data + '"' + (result[i].weight > 0 ? ' data-sort-order="' + result[i].weight + '"' : '') + ' href="' + result[i].href + '">'; 1513 1514 if (result[i].image) { 1515 html += '<span class="col-auto"><img src="' + result[i].image + '" /></span>'; 1516 } 1517 1518 if (result[i].name.length > 30) { 1519 name = result[i].name.slice(0, 40) + '...'; 1520 } else { 1521 name = result[i].name; 1522 } 1523 html += '<span class="col name"><span class="forkeydon">' + name + '</span>'; 1524 html += '<span class="where-find">' + result[i].where_find + result[i].find_by + '</span>'; 1525 if (result[i].special) { 1526 html += '<span class="special">' + result[i].special + '</span>'; 1527 html += '<span class="old-price">' + result[i].price + '</span>'; 1528 } else { 1529 if (result[i].price) { 1530 html += '<span class="price">' + result[i].price + '</span>'; 1531 } 1532 } 1533 html += '</span>'; 1534 1535 1536 1537 html += '</a>'; 1538 1539 if (1) { 1540 if (i < result.length - 1 && result[i].where_find == result[i + 1].where_find) { 1541 } else { 1542 html += '</div>'; 1543 } 1544 } 1545 1546 } 1547 if (addclass == 'hidden') { 1548 html += '</div><a class="all_results"><svg data-fa-render style="pointer-events:none" class="fas fa-ellipsis" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"/></svg></a></div>'; 1549 } 1550 if ($('#d_ajax_search_results').length > 0) { 1551 $('#d_ajax_search_results').remove(); 1552 } 1553 if (0) { 1554 $('.modal-body').append(html); 1555 } else { 1556 $("[name=search]").after(html); 1557 // $('#d_ajax_search_results').css('margin-top', '-' + $("[name=search]").css('margin-bottom')); 1558 } 1559 1560 $(".result-link").click(function (ev) { 1561 var json = {}; 1562 1563 var link = ev.currentTarget.attributes.item_data.value; 1564 json.type = link.split('=')[0].split('_')[0]; 1565 json.type_id = link.split('=')[1]; 1566 1567 json.select = $(ev.currentTarget).find('.forkeydon').html(); 1568 if (0) { 1569 if ($('.saggestion-result').text() != '') { 1570 json.search = $('.saggestion-result').text(); 1571 } else if ($('.redirect').text() != '') { 1572 json.search = $('.redirect').text(); 1573 } else { 1574 json.search = $('#search_input').val(); 1575 } 1576 } else { 1577 if ($('.saggestion-result').text() != '') { 1578 json.search = $('.saggestion-result').text(); 1579 } else if ($('.redirect').text() != '') { 1580 json.search = $('.redirect').text(); 1581 } else { 1582 json.search = $("[name=search]").first().val(); 1583 } 1584 } 1585 1586 write_to_database(json); 1587 }); 1588 1589 if (1) { 1590 $('#d_ajax_search_results_body > .result_block').each(function () { 1591 $(this).find('>.sort-item').tsort({attr: 'data-sort-order'}, {defaults: {order: 'desc'}}); 1592 }); 1593 } else { 1594 $('#d_ajax_search_results_body >.sort-item').tsort({attr: 'data-sort-order'}, {defaults: {order: 'desc'}}); 1595 } 1596 1597 $(document).on('click', '.all_results', function () { 1598 $('.result-link').removeClass('hidden'); 1599 $('.result_block').removeClass('hidden'); 1600 $('.all_results').addClass('hidden'); 1601 }); 1602 1603 } else { 1604 $('#d_ajax_search_results').remove(); 1605 $('#search-autocomplite').text(''); 1606 var html; 1607 html = '<div id="d_ajax_search_results"><div id="d_ajax_search_results_body">'; 1608 html += '<span class="no-results"><i class="fal fa-exclamation-circle"></i> Ingen resultater</span></div></div>'; 1609 if (0) { 1610 $('.modal-body').append(html); 1611 // $('#d_ajax_search_results').css('margin-top', '-' + $("[name=search]").css('margin-bottom')); 1612 } else { 1613 $("[name=search]").after(html); 1614 // $('#d_ajax_search_results').css('margin-top', '-' + $("[name=search]").css('margin-bottom')); 1615 } 1616 } 1617 }, 1618 error: function (xhr, ajaxOptions, thrownError) { 1619 console.log('error'); 1620 } 1621 }); 1622 return true; 1623 } 1624
1625 var delay = (function () { 1626 var timer = 0; 1627 return function (callback, ms) { 1628 clearTimeout(timer); 1629 timer = setTimeout(callback, ms); 1630 }; 1631 })(); 1632 1633 function write_to_database(val) { 1634 $.ajax({ 1635 type: 'post', 1636 url: $('base').attr('href') + 'index.php?route=extension/module/d_ajax_search/write_to_base&json=' + val, 1637 data: val, 1638 dataType: 'json', 1639 beforeSend: function () { 1640 }, 1641 complete: function () { 1642 }, 1643 success: function (json) { 1644 }, 1645 error: function (xhr, ajaxOptions, thrownError) { 1646 console.log(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); 1647 } 1648 }); 1649 } 1650 1651 function clearInput() { 1652 $('#d_ajax_search_results').remove(); 1653 $('#search_input').val(''); 1654 $('#help').show(); 1655 } 1656 1657 $(document).ready(function () { 1658 1659 if (0) { 1660 $(document).on('click', '[name=search]', function (event) { 1661 $('.modal_search').click(); 1662 $('#searchModal').on("shown.bs.modal", function () { 1663 $('#search_input').focus(); 1664 }); 1665 }) 1666 } else { 1667 $("[name=search]").before('<div class="form-control form-control-sm" id="search-autocomplite"></div>'); 1668 } 1669 $("[name=search]").attr('maxlength', '64'); 1670 $("[name=search]").attr('autocomplete', 'off'); 1671 $(document).on('blur', '[name=search]', function (event) { 1672 setTimeout(function () { 1673 $('body').click(function (event) { 1674 console.log($(event.target).attr('class')); 1675 if ($(event.target).attr('class') != 'all_results') { 1676 $('#d_ajax_search_results').remove(); 1677 } 1678 }); 1679 $('#help').show(); 1680 if (1) { 1681 updown = 1; 1682 } else { 1683 updown = 0; 1684 } 1685 }, 500); 1686 }); 1687 $(document).on('keyup', '[name=search]', function (ev) { 1688 var a = ev; 1689 var b = this.value; 1690 text_complite(a, b); 1691 delay(function () { 1692 doquick_search(a, b); 1693 }, 500); 1694 }); 1695 $(document).on('focus', '[name=search]', function (ev) { 1696 var a = ev; 1697 var b = this.value; 1698 text_complite(a, b); 1699 delay(function () { 1700 doquick_search(a, b); 1701 }, 500); 1702 }); 1703 if (1) { 1704 var updown = 0; 1705 var block = 0; 1706 } else { 1707 var updown = -1; 1708 } 1709 function upDownEvent(ev) { 1710 1711 if (1) { 1712 var check = document.getElementsByClassName('result_block'); 1713 elem = check[block]; 1714 var min_el = 1; 1715 } else { 1716 var elem = document.getElementById('d_ajax_search_results_body'); 1717 var min_el = 0; 1718 } 1719 var xxx = 0; 1720 var fkey = $("[name=search]").find('[name=search]').first(); 1721 1722 if (elem) { 1723 1724 var length = elem.childNodes.length - 1; 1725 1726 if (updown != -1 && typeof (elem.childNodes[updown]) != 'undefined') { 1727 1728 $(elem.childNodes[updown]).removeClass('selected'); 1729 } 1730 if (1) { 1731 if (block != 0 && block != block - 1) { 1732 $(check[block - 1].childNodes[check[block - 1].childNodes.length - 1]).removeClass('selected'); 1733 } 1734 } 1735 1736 if (ev.keyCode == 38) { 1737 updown = (updown > -1) ? --updown : updown; 1738 if (1) { 1739 if (updown <= 0) { 1740 updown = (check[block - 1].childNodes.length) - 1; 1741 $(check[block - 1].childNodes[(check[block - 1].childNodes.length) - 1]).addClass('selected'); 1742 block--; 1743 xxx = 5; 1744 } 1745 } 1746 1747 } else if (ev.keyCode == 40) { 1748 updown = (updown <= length) ? ++updown : updown; 1749 } 1750 1751 if (updown >= min_el && updown <= length && (ev.keyCode == 40 || ev.keyCode == 38)) { 1752 1753 $(elem.childNodes[updown]).addClass('selected'); 1754 1755 var text = $(elem.childNodes[updown]).find('.forkeydon').html(); 1756 1757 $("[name=search]").first().val(text); 1758 } 1759 if (updown >= length && xxx != 5 && typeof (check[block + 1]) != 'undefined') { 1760 block++; 1761 updown = 0; 1762 } 1763 if (ev.keyCode == 13) { 1764 if (typeof $('.result-link.selected').attr('href') != 'undefined') { 1765 window.location.replace($('.result-link.selected').attr('href')); 1766 } 1767 1768 } 1769 } 1770 1771 return false; 1772 } 1773 }); 1774</script>
1774 1775 1776<footer class="pt-5"> 1777 <div class="container"> 1778 1779 <div class="row"> 1780 <div class="col-12 mb-4 text-xl-center"> 1781 <img src="https://www.agerbaek-hotel.dk/image/catalog/sitegrafik/logo.png" title="" alt="" width="367" height="90" class="img-fluid" /> 1782 </div> 1783 <div class="col-xl-5 col-lg-12 col-12 mb-4"> 1784 <span class="h4">Information</span> 1785 <!-- <span class="h5">Agerbæk Hotel</span> --> 1786 1787 1788 <div class="row contacts"> 1789 1790 <div class="col-12 pb-3"> 1791 <svg data-fa-render class="fas fa-fw fa-2x fa-phone-volume" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M280 0C408.1 0 512 103.9 512 232c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-101.6-82.4-184-184-184c-13.3 0-24-10.7-24-24s10.7-24 24-24zm8 192a32 32 0 1 1 0 64 32 32 0 1 1 0-64zm-32-72c0-13.3 10.7-24 24-24c75.1 0 136 60.9 136 136c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-48.6-39.4-88-88-88c-13.3 0-24-10.7-24-24zM117.5 1.4c19.4-5.3 39.7 4.6 47.4 23.2l40 96c6.8 16.3 2.1 35.2-11.6 46.3L144 207.3c33.3 70.4 90.3 127.4 160.7 160.7L345 318.7c11.2-13.7 30-18.4 46.3-11.6l96 40c18.6 7.7 28.5 28 23.2 47.4l-24 88C481.8 499.9 466 512 448 512C200.6 512 0 311.4 0 64C0 46 12.1 30.2 29.5 25.4l88-24z"/></svg> <a href="tel:+4575196002" onclick="gtag('event', 'call', {'event_category': 'Phone click', 'event_label': 'phone footer /booking/tilmelding-til-arrangement'});">+45 75 19 60 02</a> 1792 </div> 1793 1794 <div class="col-12 pb-3"> 1795 <svg data-fa-render class="fas fa-fw fa-2x fa-paper-plane" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z"/></svg> <a href="mailto:[email protected]">[email protected]</a> 1796 </div> 1797 <div class="col-12 pb-3"> 1798 <svg data-fa-render class="fas fa-fw fa-2x fa-signs-post" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M224 32H64C46.3 32 32 46.3 32 64v64c0 17.7 14.3 32 32 32H441.4c4.2 0 8.3-1.7 11.3-4.7l48-48c6.2-6.2 6.2-16.4 0-22.6l-48-48c-3-3-7.1-4.7-11.3-4.7H288c0-17.7-14.3-32-32-32s-32 14.3-32 32zM480 256c0-17.7-14.3-32-32-32H288V192H224v32H70.6c-4.2 0-8.3 1.7-11.3 4.7l-48 48c-6.2 6.2-6.2 16.4 0 22.6l48 48c3 3 7.1 4.7 11.3 4.7H448c17.7 0 32-14.3 32-32V256zM288 480V384H224v96c0 17.7 14.3 32 32 32s32-14.3 32-32z"/></svg> <a href="https://www.google.com/maps/place/Agerb%C3%A6k+Hotel/@55.6002022,8.8025494,20.21z/data=!4m9!3m8!1s0x464b16a05db3358b:0xdfe78e68d0f6e8aa!5m2!4m1!1i2!8m2!3d55.600125!4d8.802666!16s%2Fg%2F1thkvwb5?entry=tts&shorturl=1" target="_blank">Storegade 7, 6753 Agerbæk</a> 1799 </div> 1800 1801 1802 1803 </div> 1804 </div> 1805 1806 <div class="col-xl-4 col-lg-6 col-12 mb-4 info"> 1807 <span class="h4">Reservationer</span> 1808 1809 <ul> <li><a href="https://www.agerbaek-hotel.dk/book-et-vaerelse" > 1810 <svg data-fa-render class="fa-solid fa-bed" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M32 32c17.7 0 32 14.3 32 32V320H288V160c0-17.7 14.3-32 32-32H544c53 0 96 43 96 96V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V416H352 320 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V64C0 46.3 14.3 32 32 32zm144 96a80 80 0 1 1 0 160 80 80 0 1 1 0-160z"/></svg> Book et værelse</a></li> 1811 1812 <li><a href="https://www.agerbaek-hotel.dk/reserver-et-bord" > 1813 <svg data-fa-render class="fa-solid fa-plate-utensils" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M40.7 16c4 .3 7.1 3.5 7.3 7.5L55.5 152H72.9L88.1 23.1c.5-4 3.9-7.1 7.9-7.1s7.5 3 7.9 7.1L119.1 152h17.3L144 23.5c.2-4 3.3-7.2 7.3-7.5s7.6 2.3 8.5 6.1l30.3 128.7c1.3 5.4 1.9 11 1.9 16.6c0 39.9-32.2 72.2-72 72.5V472c0 13.3-10.7 24-24 24s-24-10.7-24-24V240c-39.8-.3-72-32.6-72-72.5c0-5.6 .6-11.2 1.9-16.6L32.2 22.2c.9-3.9 4.5-6.5 8.5-6.1zm572.4 1c2-.7 4-1 6.1-1c11.5 0 20.9 9.3 20.9 20.9V216 320 472c0 13.3-10.7 24-24 24s-24-10.7-24-24V320H544c-17.7 0-32-14.3-32-32V160C512 59.2 596.2 23.2 613.1 17zM221.2 143.6L204.9 74.3C241.8 47.7 287.1 32 336 32c60.3 0 115 23.8 155.3 62.5C484.3 113.3 480 135 480 160v26.2C454.1 132.8 399.3 96 336 96c-44.9 0-85.5 18.5-114.6 48.3l-.2-.8zM336 480c-76.2 0-143.5-38.1-184-96.2V266.8c8.5-2.8 16.6-6.7 24-11.4l0 .6c0 88.4 71.6 160 160 160c68.1 0 126.2-42.5 149.3-102.4c9.2 21 29.3 36.2 53.2 38.2C502.6 427.6 425.4 480 336 480zM208 256a128 128 0 1 1 256 0 128 128 0 1 1 -256 0z"/></svg> Reserver et bord</a></li> 1814 1815 </ul> 1816 1817 1818 </div> 1819 1820
1821 <div class="col-xl-3 col-lg-6 col-12 mb-4"> 1822 <span class="h4">à bningstider</span> 1823 <div class="row opens"> 1824 1825 1826 <div class="col-12 pb-3"><svg data-fa-render class="fa-solid fa-2x fa-fork-knife" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M475.3 27.3c5.8-5.8 6.3-15.1 1.1-21.5S462-1.9 455.1 2.7l-106.5 71C320.8 92.3 304 123.6 304 157.1c0 19.3 5.5 37.9 15.7 53.9L73.4 457.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L365 256.3c16 10.2 34.7 15.7 53.9 15.7c33.5 0 64.8-16.8 83.4-44.6l71-106.5c4.6-6.8 3.2-16-3.2-21.2s-15.6-4.8-21.5 1.1L457.4 192c-5.2 5.2-13.6 5.2-18.8 0c-4.9-4.9-5.2-12.8-.6-18.1l86.1-99.4c5.5-6.3 5.2-15.9-.8-21.8s-15.4-6.3-21.8-.8L402.1 138c-5.3 4.6-13.2 4.3-18.1-.6c-5.2-5.2-5.2-13.6 0-18.8l91.3-91.3zM52.5 7.3C47.9 2.6 41.5 0 34.9 0c-11.2 0-21 7.5-23.5 18.4C6.7 38.6 0 71.5 0 96c0 83.3 48.2 130.5 128.9 209.4c6.5 6.4 13.3 13 20.3 19.9c1.9 1.8 3.8 3.5 5.9 5.1L265.4 220.1 52.5 7.3zM457.4 502.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L355.9 310.6l-45.3 45.3L457.4 502.6z"/></svg> <b>Restaurant:</b> à ben efter aftale</div> 1827 <div class="col-12 pb-3"><svg data-fa-render class="fa-solid fa-2x fa-clock" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"/></svg> <b>Check-in:</b> 14.00 til 20.00 </div> 1828 <div class="col-12 pb-3"><svg data-fa-render class="fa-solid fa-2x fa-clock" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"/></svg> <b>Check-out:</b> 07.00 til 11.00 </div> 1829 </tbody> 1830 </table> 1831 </div> 1832 1833 </div> 1834 1835 1836 </div> 1837 1838 1839 1840 </div> 1841 1842 <div class="blue-bar"> 1843 <div class="container py-4"> 1844 <div class="row"> 1845 <div class="col-xl-5 col-lg-6 col-md-auto col-12"> 1846<a class="smiley" href="http://www.findsmiley.dk/122470" target="_blank"> 1847<img alt="Fødevarestyrelsens kontrolrapport: Agarbæk Hotel" src="/image/catalog/sitegrafik/smiley.jpg" title="Fødevarestyrelsens kontrolrapport: Agarbæk Hotel" width="97" height="30"> 1848</a> 1849</div> 1850 1851 1852 <div class="col-xl-4 col-lg-4 col-sm-auto col-12 order-xl-1 order-2 pt-md-0 pt-3 socialmedia"> 1853 1854 </div> 1855 1856 <div class="col-xl-3 col-lg-4 col-sm-auto col-12 order-xl-2 order-1 pt-md-0 pt-3 socialmedia"> 1857 <a href="https://www.facebook.com/AgerbaekHotel" target="_blank"><svg data-fa-render class="fab fa-fw fa-2x fa-facebook" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"/></svg> Følg på Facebook</a> </div> 1858 </div></div></div> 1859 1860 </footer> 1861 1862 1863<!-- Stylesheets --> 1864 1865 1866 1867<!-- Common -->
1868<script type="text/javascript"> 1869 function getURLVar(key) { 1870 var value = []; 1871 var query = String(document.location).split('?'); 1872 1873 if (query[1]) { 1874 var part = query[1].split('&'); 1875 1876 for (i = 0; i < part.length; i++) { 1877 var data = part[i].split('='); 1878 1879 1880 if (data[0] && data[1]) { 1881 value[data[0]] = data[1]; 1882 } 1883 } 1884 1885 if (value[key]) { 1886 return value[key]; 1887 } else { 1888 return ''; 1889 } 1890 } 1891} 1892 1893function arrangeProductThumbs(module_id, row_classes, productclass) { 1894 1895 if (localStorage.getItem('display') == 'list') { 1896 $('#' + module_id + ' #grid-view').removeClass('active'); 1897 $('#' + module_id + ' #list-view').addClass('active'); 1898 1899 $('#' + module_id + ' .product-row').removeClass(row_classes); 1900 } else { 1901 $('#' + module_id + ' #grid-view').addClass('active'); 1902 $('#' + module_id + ' #list-view').removeClass('active'); 1903 1904 $('#' + module_id + ' .product-row').addClass(row_classes); 1905 } 1906 1907 var screen = $(window).width(); 1908 1909 if (screen >= 992) { 1910 // Product-thumb Bootstrap-klasser 1911 var image_grid_class = "col-auto mb-2"; 1912 var image_list_class = "col-12 col-md-2 align-self-stretch d-flex align-items-center"; 1913 1914 var name_grid_class = "col-auto"; 1915 var name_list_class = "col-12 d-flex flex-column justify-content-center px-3 col-md-4 my-3 my-md-0 text-center text-md-left"; 1916 1917 var price_grid_class = "col-auto row no-gutters justify-content-center align-items-center"; 1918 var price_list_class = "col-12 col-md-3 col-lg-2 row no-gutters justify-content-center align-items-center"; 1919 1920 var buttons_grid_class = "col-auto d-flex justify-content-center"; 1921 var buttons_list_class = "col-12 d-flex flex-column no-gutters col
1921-md-1"; 1922 1923 // Product List 1924 $('#' + module_id + ' #list-view').click(function() { 1925 $('#' + module_id + ' #grid-view').removeClass('active'); 1926 $('#' + module_id + ' #list-view').addClass('active'); 1927 1928 $('#' + module_id + ' .product-row').removeClass(row_classes); 1929 1930 $('#' + module_id + ' .product-grid').each(function () { 1931 1932 $(this).removeClass('product-grid ' + productclass).addClass('product-list col-12'); 1933 $(this).find('> .product-thumb').removeClass('flex-column'); 1934 1935 $(this).find('> .product-thumb').addClass('align-items-center'); 1936 $(this).find('> .product-thumb .image').removeClass(image_grid_class).addClass(image_list_class); 1937 $(this).find('> .product-thumb .name').removeClass(name_grid_class).addClass(name_list_class); 1938 $(this).find('> .product-thumb .price').removeClass(price_grid_class).addClass(price_list_class); 1939 $(this).find('> .product-thumb .button-group').removeClass(buttons_grid_class).addClass(buttons_list_class); 1940 1941 if ($(this).find('> .product-thumb .caption .description').length) { 1942 $(this).find('> .product-thumb .name').append('<p class="description">' + $(this).find('> .product-thumb .caption .description').html() + '</p>'); 1943 $(this).find('> .product-thumb .caption .description').remove(); 1944 } 1945 1946 }); 1947 1948 1949 localStorage.setItem('display', 'list'); 1950 }); 1951 1952 // Product Grid 1953 $('#' + module_id + ' #grid-view').click(function() { 1954 $('#' + module_id + ' #grid-view').addClass('active'); 1955 $('#' + module_id + ' #list-view').removeClass('active'); 1956 1957 $('#' + module_id + ' .product-row').addClass(row_classes); 1958 1959 $('#' + module_id + ' .product-list').each(function () { 1960 $(this).removeClass('product-list col-12').addClass('product-grid ' + productclass); 1961 $(this).find('> .product-thumb').addClass('flex-column'); 1962 1963 $(this).find('> .product-thumb').removeClass('align-items-center'); 1964 $(this).find('> .product-thumb .image').removeClass(image_list_class).addClass(image_grid_class); 1965 $(this).find('> .product-thumb .name').removeClass(name_list_class).addClass(name_grid_class); 1966 $(this).find('> .product-thumb .price').removeClass(price_list_class).addClass(price_grid_class); 1967 $(this).find('> .product-thumb .button-group').removeClass(buttons_list_class).addClass(buttons_grid_class); 1968 1969 if ($(this).find('> .product-thumb .name .description').length) { 1970 $(this).find('> .product-thumb .caption').append('<div class="description">' + $(this).find('> .product-thumb .name .description').html() + '</div>'); 1971 $(this).find('> .product-thumb .name .description').remove(); 1972 } 1973 }); 1974 1975 1976 localStorage.setItem('display', 'grid'); 1977 }); 1978 1979 if (localStorage.getItem('display') == 'list') { 1980 $('#' + module_id + ' #list-view').trigger('click'); 1981 } else { 1982 $('#' + module_id + ' #grid-view').trigger('click'); 1983 } 1984 } else { 1985 $('#' + module_id + ' #grid-view').trigger('click'); 1986 $('#' + module_id + ' .view-state').hide(); 1987 } 1988} 1989 1990// YouTube API 1991var players = []; 1992 1993function onPlayerStateChange(playcount, event) { 1994 1995 //When the video has ended 1996 if (event.data == YT.PlayerState.ENDED) { 1997 if ($(event.target.i).attr('id') !== undefined) { 1998 var player_box = $(event.target.i).parent(); 1999 } 2000 if ($(event.target.h).attr('id') !== undefined) { 2001 var player_box = $(event.target.h).parent(); 2002 } 2003 var loop = (player_box.data('yt-loop') ? 1 : 0); 2004 2005 if (loop) { 2006 players[playcount].playVideo(); 2007 } else { 2008 if ($(event.target.i).attr('id') !== undefined) { 2009 var new_div = '<div id="' + $(event.target.i).attr('id') + '"></div>'; 2010 $(event.target.i).after(new_div); 2011 $(event.target.i).remove(); 2012 } 2013 if ($(event.target.h).attr('id') !== undefined) { 2014 var new_div = '<div id="' + $(event.target.h).attr('id') + '"></div>'; 2015 $(event.target.h).after(new_div); 2016 $(event.target.h).remove(); 2017 } 2018 2019 } 2020 2021 } 2022} 2023function onPlayerReady(event) { 2024 event.target.playVideo(); 2025} 2026 2027 2028 2029$(document).ready(function () { 2030 2031 // Quick View 2032 $('body').on('show.bs.modal', '[id*=quickview]', function (e) { 2033 if ($(this).closest('.product-row')) { 2034 var q = $(this).detach(); 2035 q.appendTo('body'); 2036 } 2037 2038 var product_id = $(this).attr('data-product-id'); 2039 var quickview = $(this).attr('id'); 2040
2041 if ($(this).find('.modal-body').text().length == 0) { 2042 $.ajax({ 2043 url: 'index.php?route=product/product/getQuickView', 2044 type: 'post', 2045 data: { product: product_id, modal: quickview }, 2046 dataType: 'json', 2047 beforeSend: function () { 2048 $('#' + quickview).find('.modal-body').html('<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="spinner" class="svg-inline--fa fa-spinner fa-pulse fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"></path></svg>'); 2049 }, 2050 complete: function () { 2051 $('#' + quickview).find('.modal-body .fa-spinner').remove(); 2052 }, 2053 success: function (json) { 2054 $('#' + quickview).find('.modal-body').html(json['html']); 2055 genImages('#' + quickview + ' [data-gen-qv]', 'data-gen-qv'); 2056 genImages('#' + quickview + ' [data-gen-qv-data]', 'data-gen-qv-data'); 2057 } 2058 }); 2059 } 2060 }); 2061 2062 $("table").addClass("table"); 2063 2064 if ($(".table").parent().hasClass("table-responsive") == false) { 2065 $(".table").wrap("<div class='table-responsive'>"); 2066 } 2067 2068 var allVideos = $("iframe[src*='//www.youtube.com']"); 2069 2070 $(allVideos).addClass("embed-responsive-item"); 2071 2072 $(allVideos).each(function () { 2073 $(this).attr("src", $(this).attr("src").replace($(this).attr("src"), 2074 $(this).attr("src") + "?rel=0")); 2075 }); 2076 2077 if ($(".embed-responsive-item").parent().hasClass("embed-responsive") == false) { 2078 $(".embed-responsive-item").wrap("<div class='embed-responsive embed-responsive-16by9'>"); 2079 } 2080 2081 2082 $('.text-danger').each(function () { 2083 var element = $(this).parent().parent(); 2084 2085 if (element.hasClass('form-group')) { 2086 element.addClass('has-error'); 2087 } 2088 }); 2089 2090 $('#currencyForm ul li a, #currencyForm > div > a').on('click', function (e) { 2091 e.preventDefault(); 2092 2093 $('#currencyForm input[name=\'code\']').attr('value', $(this).attr('name')); 2094 $('#currencyForm').submit(); 2095 }); 2096 2097 $('#languageForm ul li a, #languageForm > div > a').on('click', function (e) { 2098 e.preventDefault(); 2099 2100 $('#languageForm input[name=\'code\']').attr('value', $(this).attr('href')); 2101 $('#languageForm input[name=\'currency\']').attr('value', $(this).attr('data-currency')); 2102 $('#languageForm').submit(); 2103 }); 2104 2105 /* Searches */ 2106 /* Search type: show */ 2107 if ($('#search.show_field').length) { 2108 var search_box = $('#search.show_field'); 2109 var search_input = $('#search.show_field').find('input[name=\'search\']'); 2110 var search_button = $('#search.show_field').find('button'); 2111 search_button.on('click', function () { 2112 if (search_input.val() != '') { 2113 url = search_input.data('href'); 2114 var value = search_input.val(); 2115 2116 if (value) { 2117 url += '?search=' + encodeURIComponent(value); 2118 } 2119 2120 location = url; 2121 } 2122 }); 2123 2124 search_box.on('keydown', function (e) { 2125 if (e.keyCode == 13 && search_input.val() != '') { 2126 search_button.trigger('click'); 2127 2128 } 2129 }); 2130 } 2131 2132 /* Search type: hover */ 2133 if ($('#search.show_field_hover').length) { 2134 var search_box = $('#search.show_field_hover'); 2135 var search_input = $('#search.show_field_hover').find('input[name=\'search\']'); 2136 var search_button = $('#search.show_field_hover').find('button'); 2137 search_box.hover(function () { 2138 2139 search_box.stop(true).addClass('open'); 2140 2141 search_button.on('click', function () { 2142 if (search_input.val() != '') { 2143 url = search_input.data('href'); 2144 var value = search_input.val(); 2145 2146 if (value) { 2147 url += '?search=' + encodeURIComponent(value); 2148 } 2149 2150 location = url; 2151 } 2152 }); 2153 2154 search_box.on('keydown', function (e) { 2155 if (e.keyCode == 13 && search_input.val() != '') { 2156 search_button.trigger('click'); 2157 } 2158 }); 2159 }, function () { 2160 search_box.stop(true).delay(1000).queue(function(){ 2161 $(this).removeClass('open'); 2162 }); 2163 }); 2164 } 2165 2166 /* Search type: click */ 2167 if ($('#search.show_field_click').length) { 2168 var search_box = $('#search.show_field_click'); 2169 var search_input = $('#search.show_field_click').find('input[name=\'search\']'); 2170 var search_button = $('#search.show_field_click').find('button'); 2171 2172 search_button.popover({ 2173 trigger: 'click', 2174 content: search_input, 2175 placement: 'bottom', 2176 container: '#search.show_field_click', 2177 html: true 2178 }); 2179 2180 search_button.on('shown.bs.popover', function () { 2181 search_input.focus(); 2182 search_button.on('click', function () { 2183 if (search_input.val() != '') { 2184 url = search_input.data('href'); 2185 var value = search_input.val(); 2186 2187 if (value) { 2188 url += '?search=' + encodeURIComponent(value); 2189 } 2190 2191 location = url; 2192 } 2193 }); 2194 2195 search_box.on('keydown', function (e) { 2196 if (e.keyCode == 13 && search_input.val() != '') { 2197 search_button.trigger('click'); 2198 } 2199 }); 2200 }); 2201 } 2202 2203 2204 $('[data-toggle=\'tooltip\']').tooltip({ container: 'body' }); 2205 $(document).ajaxStop(function () { 2206 $('[data-toggle=\'tooltip\']').tooltip({ container: 'body' }); 2207 }); 2208}); 2209 2210 2211var cart = { 2212 'add': function (product_id, quantity) { 2213 var scroll_pos = $('html').scrollTop(); 2214 2215 $.ajax({ 2216 url: 'index.php?route=checkout/cart/add', 2217 type: 'post', 2218 data: 'product_id=' + product_id + '&quantity=' + (typeof (quantity) != 'undefined' ? quantity : 1), 2219 dataType: 'json', 2220 beforeSend: function () { 2221 $('.btn-add-cart[onclick="cart.add(\'' + product_id + '\');"] i.cart-loading').show(); 2222 $('.btn-add-cart[onclick="cart.add(\'' + product_id + '\');"] i:not(.cart-loading)').hide(); 2223 }, 2224 success: function (json) { 2225 $('.alert, .text-danger').remove(); 2226 2227 if (json.redirect) { location = json.redirect } 2228 2229 2230 if (json.success) { 2231 if (json.pal_status == '1' && json.pal_ecommerce == '1') { 2232 _paq.push(['addEcommerceItem', json.tr_sku, json.tr_name, json.tr_category, json.tr_price, json.tr_quantity]); 2233 _paq.push(['trackEcommerceCartUpdate', json.tr_total_price]); 2234 _paq.push(['trackPageView']) 2235 } 2236 2237 if (json.ga_track == 'gtag') { 2238 gtag('event', 'add_to_cart', {'event_category': 'Add to Cart', 'event_label': json['product_name']}); 2239 } else if (json.ga_track == 'gtm') { 2240 window.dataLayer.push({ 2241 'event': 'gtm.addToCart', 2242 'ecommerce': { 2243 'currencyCode': json['currency_code'], 2244 'add': { 2245 'products': [{ 2246 'name': json['product_name'], 2247 'id': json['product_id'], 2248 'price': '' + json['price'] + '', 2249 'brand': json['manufacturer'], 2250 'category': json['category'], 2251 'quantity': json['quantity'] 2252 }] 2253 } 2254 } 2255 }); 2256 } 2257 2258 $('#cart-total').html(json.total); 2259 $('#cart-text').html(json.text); 2260 2261 getCart(json.success, product_id); 2262 2263 /*$('html, body').animate({ 2264 scrollTop: 0 2265 }, 1500, function() { 2266 2267 2268 $('#cart > button').dropdown('show'); 2269 $('#cart .shop-more').attr('data-scrollpos', scroll_pos); 2270 2271 });*/ 2272 2273 } 2274 } 2275 }) 2276 }, 2277 'update': function (key, quantity) { 2278 $.ajax({ 2279 url: 'index.php?route=checkout/cart/edit', type: 'post', data: 'key=' + key + '&quantity=' + (typeof (quantity) != 'undefined' ? quantity : 1), 2280 dataType: 'json', success: function (json) { 2281 $('#cart-total').html(json.total); 2282 $('#cart-text').html(json.text); 2283 2284 if (getURLVar('route') == 'checkout/cart' || getURLVar('route') == 'checkout/checkout') { 2285 location = 'index.php?route=checkout/cart'; 2286 } else { 2287 getCart(); 2288 } 2289 } 2290 }) 2291 }, 2292 'remove': function (key) { 2293 $('#cart ul [data-toggle="tooltip"]').tooltip('dispose'); 2294 $.ajax({ 2295 url: 'index.php?route=checkout/cart/remove', type: 'post', 2296 data: 'key=' + key, 2297 dataType: 'json', 2298 beforeSend: function () { 2299 $('[onclick="cart.remove(\'' + key + '\');"] i').toggleClass('fa-trash-alt fa-spinner fa-pulse'); 2300 }, 2301 success: function (json) { 2302 $('#cart-total').html(json.total); 2303 $('#cart-text').html(json.text); 2304 2305 if (json.ga_track == 'gtag') { 2306 gtag('event', 'remove_from_cart', {'event_category': 'Remove from Cart', 'event_label': json['product_name']}); 2307 } else if (json.ga_track == 'gtm') { 2308 window.dataLayer.push({ 2309 'event': 'gtm.removeFromCart', 2310 'ecommerce': { 2311 'currencyCode': json['currency_code'], 2312 'remove': { 2313 'products': [{ 2314 'name': json['product_name'], 2315 'id': json['product_id'], 2316 'price': '' + json['price'] + '', 2317 'brand': json['manufacturer'], 2318 'category': json['category'], 2319 'quantity': json['quantity'] 2320 }] 2321 } 2322 } 2323 }); 2324 } 2325 2326 if (getURLVar('route') == 'checkout/cart' || getURLVar('route') == 'checkout/checkout') { 2327 location = 'index.php?route=checkout/cart' 2328 } else { 2329 $('#cart-total').html(json.total); 2330 $('#cart-text').html(json.text); 2331 getCart(); 2332 } 2333 2334 } 2335 }) 2336 } 2337}
2337 2338 2339var voucher = { 2340 'add': function () { }, 2341 'remove': function (key) { 2342 $.ajax({ 2343 url: 'index.php?route=checkout/cart/remove', type: 'post', data: 'key=' + key, dataType: 'json', beforeSend: function () { 2344 $('#cart > button').button('loading'); 2345 }, 2346 complete: function () { 2347 $('#cart > button').button('reset'); 2348 }, 2349 success: function (json) { 2350 $('#cart-total').html(json['total']); 2351 2352 if (getURLVar('route') == 'checkout/cart' || getURLVar('route') == 'checkout/checkout') { location = 'index.php?route=checkout/cart'; } 2353 else { 2354 getCart(); 2355 } 2356 } 2357 }); 2358 } 2359} 2360 2361var wishlist = { 2362 'add': function (product_id) { 2363 $.ajax({ 2364 url: 'index.php?route=account/wishlist/add', type: 'post', data: 'product_id=' + product_id, dataType: 'json', success: function (json) { 2365 2366 var button_selector = $('.btn-add-wishlist.add-wishlist' + product_id); 2367 2368 button_selector.popover('dispose'); 2369 button_selector.popover({ 2370 content: json['success'], 2371 placement: 'top', 2372 trigger: 'focus', 2373 template: '<div class="popover text-success" role="tooltip"><div class="arrow"></div><div class="popover-body"></div></div>', 2374 html: true 2375 }); 2376 2377 if (json['success']) { 2378 //button_selector.find('span').html(json['icon']); 2379 if (json['action'] == 'remove') { 2380 button_selector.find('span.filled').hide(); 2381 button_selector.find('span.outline').show(); 2382 } else { 2383 button_selector.find('span.filled').show(); 2384 button_selector.find('span.outline').hide(); 2385 } 2386 button_selector.attr('data-original-title', json['title']); 2387 2388 if (json.ga_track == 'gtag') { 2389 if (json['action'] == 'remove') { 2390 gtag('event', 'remove_from_wishlist', {'event_category': 'Remove from Wishlist', 'event_label': json['name']}); 2391 } else if (json['action'] == 'add') { 2392 gtag('event', 'add_to_wishlist', {'event_category': 'Add to Wishlist', 'event_label': json['name']}); 2393 } 2394 } 2395 2396 button_selector.tooltip('hide'); 2397 button_selector.popover('show'); 2398 2399 setTimeout(function () { button_selector.popover('hide'); }, 2000); 2400 } 2401 2402 $('#wishlist-total').html(json['total']); 2403 $('#wishlist-text').html(json['text']); 2404 } 2405 }); 2406 }, 2407 'remove': function () { } 2408} 2409 2410var compare = { 2411 'add': function (product_id) { 2412 $.ajax({ 2413 url: 'index.php?route=product/compare/add', type: 'post', data: 'product_id=' + product_id, dataType: 'json', success: function (json) { 2414 2415 var button_selector = $('.btn-add-compare.add-compare' + product_id); 2416 2417 button_selector.popover('dispose'); 2418 button_selector.popover({ 2419 content: json['success'], 2420 placement: 'top', 2421 trigger: 'focus', 2422 template: '<div class="popover text-success" role="tooltip"><div class="arrow"></div><div class="popover-body"></div></div>', 2423 html: true 2424 }); 2425 2426 if (json['success']) { 2427 //button_selector.find('span').html(json['icon']); 2428 if (json['action'] == 'remove') { 2429 button_selector.find('span.filled').hide(); 2430 button_selector.find('span.outline').show(); 2431 } else { 2432 button_selector.find('span.filled').show(); 2433 button_selector.find('span.outline').hide(); 2434 } 2435 button_selector.attr('data-original-title', json['title']); 2436 2437 if (json.ga_track == 'gtag') { 2438 gtag('event', 'add_to_compare', {'event_category': 'Add to Compare', 'event_label': json['name']}); 2439 } 2440 2441 button_selector.tooltip('hide'); 2442 button_selector.popover('show'); 2443 setTimeout(function () { button_selector.popover('hide'); }, 2000); 2444 2445 $('#compare-total').html(json['total']); 2446 $('#compare-text').html(json['text']); 2447 } 2448 } 2449 }); 2450 }, 2451 'remove': function () { } 2452} 2453 2454$(function(){ 2455 $(document).delegate('.agree', 'click', function (e) { 2456 e.preventDefault(); 2457 $('#modal-agree').remove(); 2458 var element = this; $.ajax({ 2459 url: $(element).attr('href'), 2460 type: 'get', dataType: 'html', success: function (data) { 2461 html = '<div id="modal-agree" class="modal">'; 2462 html += ' <div class="modal-dialog modal-dialog-scrollable modal-dialog-centered modal-xl">'; 2463 html += ' <div class="modal-content">'; 2464 html += ' <div class="modal-header">'; 2465 html += ' <h5 class="modal-title">' + $(element).text() + '</h5>'; 2466 html += ' <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>'; 2467 html += ' </div>'; 2468 html += ' <div class="modal-body">' + data + '</div>';
2469 html += ' </div'; 2470 html += ' </div>'; 2471 html += '</div>'; 2472 2473 $('body').append(html); 2474 $('#modal-agree').modal('show'); 2475 } 2476 }); 2477 }); 2478}); 2479 2480(function ($) { 2481 function Autocomplete(element, options) { 2482 this.element = element; this.options = options; this.timer = null; this.items = new Array(); 2483 $(element).attr('autocomplete', 'off'); 2484 $(element).on('focus', $.proxy(this.focus, this)); 2485 $(element).on('blur', $.proxy(this.blur, this)); 2486 $(element).on('keydown', $.proxy(this.keydown, this)); 2487 $(element).after('<ul class="dropdown-menu"></ul>'); 2488 $(element).siblings('ul.dropdown-menu').delegate('a', 'click', $.proxy(this.click, this)); 2489 } 2490 Autocomplete.prototype = { 2491 focus: function () { 2492 this.request(); 2493 }, 2494 blur: function () { 2495 setTimeout(function (object) { 2496 object.hide(); 2497 }, 2498 200, this); 2499 }, 2500 click: function (event) { 2501 event.preventDefault(); 2502 value = $(event.target).parent().attr('data-value'); 2503 if (value && this.items[value]) { 2504 this.options.select(this.items[value]); 2505 } 2506 }, 2507 keydown: function (event) { 2508 switch (event.keyCode) { 2509 case 27: this.hide(); 2510 break; default: this.request(); 2511 break; 2512 } 2513 }, 2514 show: function () { 2515 var pos = $(this.element).position(); 2516 $(this.element).siblings('ul.dropdown-menu').css({ 2517 top: pos.top + $(this.element).outerHeight(), 2518 left: pos.left 2519 }); 2520 $(this.element).siblings('ul.dropdown-menu').show(); 2521 }, 2522 hide: function () { 2523 $(this.element).siblings('ul.dropdown-menu').hide(); 2524 }, 2525 request: function () { 2526 clearTimeout(this.timer); 2527 this.timer = setTimeout(function (object) { 2528 object.options.source($(object.element).val(), 2529 $.proxy(object.response, object)); 2530 }, 2531 200, this); 2532 }, 2533 response: function (json) { 2534 html = ''; if (json.length) { 2535 for (i = 0; i < json.length; i++) { this.items[json[i]['value']] = json[i]; } 2536 for (i = 0; i < json.length; i++) { 2537 if (!json[i]['category']) { html += '<li data-value="' + json[i]['value'] + '"><a href="#">' + json[i]['label'] + '</a></li>'; } 2538 } 2539 var category = new Array(); 2540 for (i = 0; i < json.length; i++) { 2541 if (json[i]['category']) { 2542 if (!category[json[i]['category']]) { 2543 category[json[i]['category']] = new Array(); 2544 category[json[i]['category']]['name'] = json[i]['category']; category[json[i]['category']]['item'] = new Array(); 2545 } 2546 category[json[i]['category']]['item'].push(json[i]); 2547 } 2548 } 2549 for (i in category) { 2550 html += '<li class="dropdown-header">' + category[i]['name'] + '</li>'; for (j = 0; j < category[i]['item'].length; j++) { html += '<li data-value="' + category[i]['item'][j]['value'] + '"><a href="#"> ' + category[i]['item'][j]['label'] + '</a></li>'; } 2551 } 2552 } 2553 if (html) { 2554 this.show(); 2555 } 2556 else { 2557 this.hide(); 2558 } 2559 $(this.element).siblings('ul.dropdown-menu').html(html); 2560 } 2561 }; 2562 $.fn.autocomplete = function (option) { 2563 return this.each(function () { 2564 var data = $(this).data('autocomplete'); 2565 if (!data) { 2566 data = new Autocomplete(this, option); 2567 $(this).data('autocomplete', data); 2568 } 2569 }); 2570 } 2571})(window.jQuery); 2572 2573</script>
2573 2574 2575<!-- Slide-menu -->
2576<script type="text/javascript"> 2577 function getMenu(type) { 2578 2579 if (!$('html').hasClass('menu-started')) { 2580 2581 if (type == 'mobile') { 2582 $('#mobile-menu-toggle i.menu-loading, #mobile-menu-toggle svg.menu-loading').show(); 2583 $('#mobile-menu-toggle i.menu-loading + i, #mobile-menu-toggle svg.menu-loading + svg').hide(); 2584 } 2585 2586 $('#slide-menu').load('index.php?route=common/category_menu/info&ajax=1&screen=' + $(window).width() + ' > ul > li', function () { 2587 2588 $('html').addClass('menu-started'); 2589 2590 if (type == 'mobile') { 2591 $('i.menu-loading, svg.menu-loading').hide(); 2592 $('i.menu-loading + i, svg.menu-loading + svg').show(); 2593 2594 $("#blocker").show(0); 2595 $('html').toggleClass('open-menu'); 2596 } 2597 2598 getMenuFunctions(type); 2599 2600 $('html').removeClass('menu-loading'); 2601 2602 }); 2603 2604 } else if (type == 'mobile') { 2605 $("#blocker").show(0); 2606 $('html').toggleClass('open-menu'); 2607 } 2608 2609} 2610 2611function getMenuFunctions(type) { 2612 2613 if (type == 'desktop' && !$('html').hasClass('menu-desktop-functions')) { 2614 2615 $('html').removeClass('mobilemenu-active'); 2616 $('html').addClass('menu-desktop-functions'); 2617 $('html').removeClass('menu-mobile-functions'); 2618 2619 $("#slide-menu > li").each(function () { 2620 /* Dropdown menu ud af skærm fix */ 2621 if ($('div', this).length) { 2622 var elm = $('div:first', this); 2623 elm.show(); 2624 var off = elm.offset(); 2625 var l = off.left; 2626 var w = elm.width(); 2627 var docH = $("body").height(); 2628 var docW = $("body").width(); 2629 elm.attr('style', ''); 2630 2631 var isEntirelyVisible = (l + w <= docW); 2632 2633 if (!isEntirelyVisible) { 2634 $(this).find('.dropdownmenu, .dropoutmenu').addClass('edge'); 2635 } else { 2636 $(this).find('.dropdownmenu, .dropoutmenu').removeClass('edge'); 2637 } 2638 } 2639 }); 2640 2641 $("#slide-menu .indicator svg.fa-angle-right").hide(); 2642 $("#slide-menu .indicator svg.fa-angle-down").show(); 2643 2644 $("#slide-menu .flex-menu .title").each(function () { 2645 $(this).find('.indicator').remove(); 2646 }); 2647 2648 $("#slide-menu .dropoutmenu .title").each(function() { 2649 if ($(this).next(".sub").length == true) { 2650 $(this).children('a').after('<span class="dropoutarrow"><svg data-fa-render class="fal fa-angle-right" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M267.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-160 160c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L233.4 256 84.7 107.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l160 160z"/></svg></span>'); 2651 2652 /* Dropdown menu ud af skærm fix */ 2653 2654 var elm = $(this).next(".sub"); 2655 elm.closest('.dropoutmenu').show(); 2656 elm.show(); 2657 var off = elm.offset(); 2658 var l = off.left + $(this).width(); 2659 var w = elm.width(); 2660 var docH = $("body").height(); 2661 var docW = $("body").width(); 2662 elm.closest('.dropoutmenu').attr('style', ''); 2663 elm.attr('style', ''); 2664 2665 var isEntirelyVisible = (l + w <= docW); 2666 2667 if (!isEntirelyVisible) { 2668 $(this).next(".sub").addClass('edge'); 2669 } else { 2670 $(this).next(".sub").removeClass('edge'); 2671 } 2672 2673 } 2674 }); 2675 2676 $("#blocker").hide(0); 2677 $('html').removeClass('open-menu'); 2678 $('#slide-menu').css('overflow', ''); 2679 $('.open-sub').css('overflow', ''); 2680 $('.megamenu, .fullmenu, .dropdownmenu, .dropoutmenu').css('top', ''); 2681 2682 /* Megamenu */ 2683 $("#slide-menu .megamenubar").each(function () { 2684 var first_sub = $(this).find('ul li:first'); 2685 var first_data_sub = first_sub.attr('data-sub'); 2686 2687 first_sub.addClass('over'); 2688 $(this).find('[data-parent="' + first_data_sub + '"]').closest('.flex-menu').addClass('over'); 2689 }); 2690 2691 $("#slide-menu .megamenubar ul > li[data-sub]").mouseover(function () { 2692 2693 $(this).clearQueue(); 2694 $(this).closest('.megamenu').find('[data-parent]').clearQueue(); 2695 2696 var data_sub = $(this).attr('data-sub'); 2697 2698 $(this).delay(400).queue(function(){ 2699 $(this).parent().children().removeClass('over'); 2700 $(this).addClass('over'); 2701 }); 2702 2703 $(this).closest('.megamenu').find('div[data-parent="' + data_sub + '"]').delay(400).queue(function(){ 2704 $(this).closest('.flex-menu').parent().children('.flex-menu').removeClass('over'); 2705 $(this).closest('.flex-menu').addClass('over'); 2706 }); 2707 }); 2708 2709 } 2710 2711 if (type == 'mobile' && !$('html').hasClass('menu-mobile-functions')) { 2712 2713 $('html').addClass('menu-mobile-functions'); 2714 $('html').removeClass('menu-desktop-functions'); 2715 2716 var breakpoint = $('#mobile-menu-toggle').data('breakpoint'); 2717 var screenW = $(window).width(); 2718 if (screenW <= breakpoint) { 2719 2720 $('html').addClass('mobilemenu-active'); 2721 2722 $("#slide-menu .flex-menu .title").each(function() { 2723 if ($(this).next(".sub").length == true) { 2724 $(this).children('a').after('<span class="indicator"><svg data-fa-render class="fas fa-angle-right fa-fw" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"/></svg></span>'); 2725 } 2726 $(this).find('.dropoutarrow').remove(); 2727 }); 2728 $("#slide-menu .indicator svg.fa-angle-right").show(); 2729 $("#slide-menu .indicator svg.fa-angle-down").hide(); 2730 } 2731 2732 $("#slide-menu").on("click", ".indicator", function (event) { 2733 if ($(this).parent().find(".megamenu, .fullmenu, .dropdownmenu, .dropoutmenu").length == true) { 2734 screenW = $(window).width(); 2735 if (screenW <= breakpoint) { 2736 event.preventDefault(); 2737 } 2738 } 2739 if ($(this).parent().next(".sub").length == true) { 2740 screenW = $(window).width(); 2741 if (screenW <= breakpoint) { 2742 event.preventDefault(); 2743 } 2744 } 2745 2746 if (screenW <= breakpoint) { 2747 if ($(this).parent().find(".megamenu, .fullmenu, .dropdownmenu, .dropoutmenu").length > 0) { 2748 $(this).parent().find(".megamenu, .fullmenu, .dropdownmenu, .dropoutmenu").addClass('open-sub'); 2749 2750 $('#slide-menu').css('overflow', 'hidden'); 2751 $(this).parent().find(".megamenu, .fullmenu, .dropdownmenu, .dropoutmenu").css('top', $('#slide-menu').scrollTop() + 'px'); 2752 } 2753 2754 if ($(this).parent().next(".sub").length > 0) { 2755 $(this).parent().next(".sub").addClass('open-sub'); 2756 2757 $(this).closest('.open-sub').css('overflow', 'hidden'); 2758 $(this).parent().next(".sub").css('top', $(this).closest('.open-sub').scrollTop() + 'px'); 2759 } 2760 2761 } 2762 2763 }); 2764 2765 $('.back-menu').click(function() { 2766 $(this).closest('.open-sub').removeClass('open-sub'); 2767 2768 if ($(this).closest('.open-sub').length > 0) { 2769 $(this).closest('.open-sub').css('overflow', ''); 2770 } else { 2771 $('#slide-menu').css('overflow', ''); 2772 } 2773 }); 2774 2775 } 2776 2777} 2778 2779$('#mobile-menu-toggle').click(function () { 2780 getMenu('mobile'); 2781}); 2782 2783$("#blocker").on('mousedown touchstart', function () { 2784 if ($('html').hasClass('open-menu')) { 2785 $('html').removeClass('open-menu'); 2786 $("#blocker").delay(800).hide(0); 2787 } else { 2788 $("#blocker").hide(0); 2789 } 2790}); 2791 2792$(window).on('load', function () { 2793 var breakpoint = $('#mobile-menu-toggle').data('breakpoint'); 2794 var screenW = $(window).width(); 2795 2796 $('html').removeClass('open-menu'); 2797 if (screenW <= breakpoint) { 2798 2799 } else { 2800 $('html').addClass('menu-started'); 2801 getMenuFunctions('desktop'); 2802 } 2803}); 2804 2805$(window).on('resize', function () { 2806 var breakpoint = $('#mobile-menu-toggle').data('breakpoint'); 2807 var screenW = $(window).width(); 2808 2809 if (screenW <= breakpoint) { 2810 if ($('#slide-menu').text().trim().length && !$('html').hasClass('menu-mobile-functions')) { 2811 getMenuFunctions('mobile'); 2812 } 2813 } else { 2814 if (!$('html').hasClass('menu-loading') && !$('html').hasClass('menu-desktop-functions')) { 2815 $('html').addClass('menu-loading'); 2816 $('html').removeClass('menu-started'); 2817 getMenu('desktop'); 2818 } 2819 } 2820}); 2821 2822 2823function getCart(message = false, product_id = false) { 2824 2825 if (!$("#blocker-cart").is(':visible')) { 2826 $('#cart-toggle i.cart-loading, #cart-toggle svg.cart-loading').show(); 2827 $('#cart-toggle i.cart-loading + i, #cart-toggle svg.cart-loading + svg').hide(); 2828 } 2829 2830 $('#slide-cart').load('index.php?route=common/cart/info ul:first > li', function () { 2831 if (!$("#blocker-cart").is(':visible')) { 2832 $("#blocker-cart").show(0); 2833 $('html').toggleClass('open-cart'); 2834 2835 $('i.cart-loading, svg.cart-loading').hide(); 2836 $('i.cart-loading + i, svg.cart-loading + svg').show(); 2837 } 2838 2839 2840 2841 $("#blocker-cart, [data-dismiss='cart']").on('mousedown touchstart', function () { 2842 if ($('html').hasClass("open-cart") == true) { 2843 $('html').removeClass('open-cart'); 2844 $("#blocker-cart").delay(800).hide(0); 2845 } 2846 }); 2847 2848 if (message) { 2849 $('#slide-cart').prepend('<li class="col-auto p-2 alert alert-success">' + message + '<button type="button" class="close" data-dismiss="alert">×</button></li>'); 2850 } 2851 2852 }); 2853 2854} 2855 2856$('i.cart-loading, svg.cart-loading').hide(); 2857$('i.menu-loading, svg.menu-loading').hide(); 2858
2859$('#cart-toggle').click(function (e) { 2860 e.preventDefault(); 2861 getCart(); 2862}); 2863</script>
2863 2864 2865<!-- Colorbox -->
vendor: 21,414 bytes, lines 2866-3681
2866<script type="text/javascript"> 2867 /*! 2868 Colorbox 1.5.14 2869 license: MIT 2870 http://www.jacklmoore.com/colorbox 2871*/ 2872(function ($, document, window) { 2873 var 2874 // Default settings object. 2875 // See http://jacklmoore.com/colorbox for details. 2876 defaults = { 2877 // data sources 2878 html: false, 2879 photo: false, 2880 iframe: false, 2881 inline: false, 2882 2883 // behavior and appearance 2884 transition: "elastic", 2885 speed: 300, 2886 fadeOut: 300, 2887 width: false, 2888 initialWidth: "600", 2889 innerWidth: false, 2890 maxWidth: false, 2891 height: false, 2892 initialHeight: "450", 2893 innerHeight: false, 2894 maxHeight: false, 2895 scalePhotos: true, 2896 scrolling: true, 2897 opacity: 0.9, 2898 preloading: true, 2899 className: false, 2900 overlayClose: true, 2901 escKey: true, 2902 arrowKey: true, 2903 top: false, 2904 bottom: false, 2905 left: false, 2906 right: false, 2907 fixed: false, 2908 data: undefined, 2909 closeButton: true, 2910 fastIframe: true, 2911 open: false, 2912 reposition: true, 2913 loop: true, 2914 slideshow: false, 2915 slideshowAuto: true, 2916 slideshowSpeed: 2500, 2917 slideshowStart: "start slideshow", 2918 slideshowStop: "stop slideshow", 2919 photoRegex: /\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i, 2920 2921 // alternate image paths for high-res displays 2922 retinaImage: false, 2923 retinaUrl: false, 2924 retinaSuffix: '@2x.$1', 2925 2926 // internationalization 2927 current: "image {current} of {total}", 2928 previous: "previous", 2929 next: "next", 2930 close: "close", 2931 xhrError: "This content failed to load.", 2932 imgError: "This image failed to load.", 2933 2934 // accessbility 2935 returnFocus: true, 2936 trapFocus: true, 2937 2938 // callbacks 2939 onOpen: false, 2940 onLoad: false, 2941 onComplete: false, 2942 onCleanup: false, 2943 onClosed: false, 2944 2945 rel: function() { 2946 return this.rel; 2947 }, 2948 href: function() { 2949 // using this.href would give the absolute url, when the href may have been inteded as a selector (e.g. '#container') 2950 return $(this).attr('href'); 2951 }, 2952 title: function() { 2953 return this.title; 2954 } 2955 }, 2956 2957 // Abstracting the HTML and event identifiers for easy rebranding 2958 colorbox = 'colorbox', 2959 prefix = 'cbox', 2960 boxElement = prefix + 'Element', 2961 2962 // Events 2963 event_open = prefix + '_open', 2964 event_load = prefix + '_load', 2965 event_complete = prefix + '_complete', 2966 event_cleanup = prefix + '_cleanup', 2967 event_closed = prefix + '_closed', 2968 event_purge = prefix + '_purge', 2969 2970 // Cached jQuery Object Variables 2971 $overlay, 2972 $box, 2973 $wrap, 2974 $content, 2975 $topBorder, 2976 $leftBorder, 2977 $rightBorder, 2978 $bottomBorder, 2979 $related, 2980 $window, 2981 $loaded, 2982 $loadingBay, 2983 $loadingOverlay, 2984 $title, 2985 $current, 2986 $slideshow, 2987 $next, 2988 $prev, 2989 $close, 2990 $groupControls, 2991 $events = $('<a/>'), // $({}) would be prefered, but there is an issue with jQuery 1.4.2 2992 2993 // Variables for cached values or use across multiple functions 2994 settings, 2995 interfaceHeight, 2996 interfaceWidth, 2997 loadedHeight, 2998 loadedWidth, 2999 index, 3000 photo, 3001 open, 3002 active, 3003 closing, 3004 loadingTimer, 3005 publicMethod, 3006 div = "div", 3007 requests = 0, 3008 previousCSS = {}, 3009 init; 3010 3011 // **************** 3012 // HELPER FUNCTIONS 3013 // **************** 3014 3015 // Convenience function for creating new jQuery objects 3016 function $tag(tag, id, css) { 3017 var element = document.createElement(tag); 3018 3019 if (id) { 3020 element.id = prefix + id; 3021 } 3022 3023 if (css) { 3024 element.style.cssText = css; 3025 } 3026 3027 return $(element); 3028 } 3029 3030 // Get the window height using innerHeight when available to avoid an issue with iOS 3031 // http://bugs.jquery.com/ticket/6724 3032 function winheight() { 3033 return window.innerHeight ? window.innerHeight : $(window).height(); 3034 } 3035 3036 function Settings(element, options) { 3037 if (options !== Object(options)) { 3038 options = {}; 3039 } 3040 3041 this.cache = {}; 3042 this.el = element; 3043 3044 this.value = function(key) { 3045 var dataAttr; 3046 3047 if (this.cache[key] === undefined) { 3048 dataAttr = $(this.el).attr('data-cbox-'+key); 3049 3050 if (dataAttr !== undefined) { 3051 this.cache[key] = dataAttr; 3052 } else if (options[key] !== undefined) { 3053 this.cache[key] = options[key]; 3054 } else if (defaults[key] !== undefined) { 3055 this.cache[key] = defaults[key]; 3056 } 3057 } 3058 3059 return this.cache[key]; 3060 }; 3061 3062 this.get = function(key) { 3063 var value = this.value(key); 3064 return $.isFunction(value) ? value.call(this.el, this) : value; 3065 }; 3066 } 3067 3068 // Determine the next and previous members in a group. 3069 function getIndex(increment) { 3070 var 3071 max = $related.length, 3072 newIndex = (index + increment) % max; 3073 3074 return (newIndex < 0) ? max + newIndex : newIndex; 3075 } 3076 3077 // Convert '%' and 'px' values to integers 3078 function setSize(size, dimension) { 3079 return Math.round((/%/.test(size) ? ((dimension === 'x' ? $window.width() : winheight()) / 100) : 1) * parseInt(size, 10)); 3080 } 3081 3082 // Checks an href to see if it is a photo. 3083 // There is a force photo option (photo: true) for hrefs that cannot be matched by the regex. 3084 function isImage(settings, url) { 3085 return settings.get('photo') || settings.get('photoRegex').test(url); 3086 } 3087 3088 function retinaUrl(settings, url) { 3089 return settings.get('retinaUrl') && window.devicePixelRatio > 1 ? url.replace(settings.get('photoRegex'), settings.get('retinaSuffix')) : url; 3090 } 3091 3092 function trapFocus(e) { 3093 if ('contains' in $box[0] && !$box[0].contains(e.target) && e.target !== $overlay[0]) { 3094 e.stopPropagation(); 3095 $box.focus(); 3096 } 3097 } 3098 3099 function setClass(str) { 3100 if (setClass.str !== str) { 3101 $box.add($overlay).removeClass(setClass.str).addClass(str); 3102 setClass.str = str; 3103 } 3104 } 3105 3106 function getRelated(rel) { 3107 index = 0; 3108 3109 if (rel && rel !== false && rel !== 'nofollow') { 3110 $related = $('.' + boxElement).filter(function () { 3111 var options = $.data(this, colorbox); 3112 var settings = new Settings(this, options); 3113 return (settings.get('rel') === rel); 3114 }); 3115 index = $related.index(settings.el); 3116 3117 // Check direct calls to Colorbox. 3118 if (index === -1) { 3119 $related = $related.add(settings.el); 3120 index = $related.length - 1; 3121 } 3122 } else { 3123 $related = $(settings.el); 3124 } 3125 } 3126 3127 function trigger(event) { 3128 // for external use 3129 $(document).trigger(event); 3130 // for internal use 3131 $events.triggerHandler(event); 3132 } 3133 3134 var slideshow = (function(){ 3135 var active, 3136 className = prefix + "Slideshow_", 3137 click = "click." + prefix, 3138 timeOut; 3139 3140 function clear () { 3141 clearTimeout(timeOut); 3142 } 3143 3144 function set() { 3145 if (settings.get('loop') || $related[index + 1]) { 3146 clear(); 3147 timeOut = setTimeout(publicMethod.next, settings.get('slideshowSpeed')); 3148 } 3149 } 3150 3151 function start() { 3152 $slideshow 3153 .html(settings.get('slideshowStop')) 3154 .unbind(click) 3155 .one(click, stop); 3156 3157 $events 3158 .bind(event_complete, set) 3159 .bind(event_load, clear); 3160 3161 $box.removeClass(className + "off").addClass(className + "on"); 3162 } 3163 3164 function stop() { 3165 clear(); 3166 3167 $events 3168 .unbind(event_complete, set) 3169 .unbind(event_load, clear); 3170 3171 $slideshow 3172 .html(settings.get('slideshowStart')) 3173 .unbind(click) 3174 .one(click, function () { 3175 publicMethod.next(); 3176 start(); 3177 }); 3178 3179 $box.removeClass(className + "on").addClass(className + "off"); 3180 } 3181 3182 function reset() { 3183 active = false; 3184 $slideshow.hide(); 3185 clear(); 3186 $events 3187 .unbind(event_complete, set) 3188 .unbind(event_load, clear); 3189 $box.removeClass(className + "off " + className + "on"); 3190 } 3191 3192 return function(){ 3193 if (active) { 3194 if (!settings.get('slideshow')) { 3195 $events.unbind(event_cleanup, reset); 3196 reset(); 3197 } 3198 } else { 3199 if (settings.get('slideshow') && $related[1]) { 3200 active = true; 3201 $events.one(event_cleanup, reset); 3202 if (settings.get('slideshowAuto')) { 3203 start(); 3204 } else { 3205 stop(); 3206 } 3207 $slideshow.show(); 3208 } 3209 } 3210 }; 3211 3212 }()); 3213 3214 3215 function launch(element) { 3216 var options; 3217 3218 if (!closing) { 3219 3220 options = $(element).data(colorbox); 3221 3222 settings = new Settings(element, options); 3223 3224 getRelated(settings.get('rel')); 3225 3226 if (!open) { 3227 open = active = true; // Prevents the page-change action from queuing up if the visitor holds down the left or right keys. 3228 3229 setClass(settings.get('className')); 3230 3231 // Show colorbox so the sizes can be calculated in older versions of jQuery 3232 $box.css({visibility:'hidden', display:'block', opacity:''}); 3233 3234 $loaded = $tag(div, 'LoadedContent', 'width:0; height:0; overflow:hidden; visibility:hidden'); 3235 $content.css({width:'', height:''}).append($loaded); 3236 3237 // Cache values needed for size calculations 3238 interfaceHeight = $topBorder.height() + $bottomBorder.height() + $content.outerHeight(true) - $content.height(); 3239 interfaceWidth = $leftBorder.width() + $rightBorder.width() + $content.outerWidth(true) - $content.width(); 3240 loadedHeight = $loaded.outerHeight(true); 3241 loadedWidth = $loaded.outerWidth(true); 3242 3243 // Opens inital empty Colorbox prior to content being loaded. 3244 var initialWidth = setSize(settings.get('initialWidth'), 'x'); 3245 var initialHeight = setSize(settings.get('initialHeight'), 'y'); 3246 var maxWidth = settings.get('maxWidth'); 3247 var maxHeight = settings.get('maxHeight'); 3248 3249 settings.w = (maxWidth !== false ? Math.min(initialWidth, setSize(maxWidth, 'x')) : initialWidth) - loadedWidth - interfaceWidth; 3250 settings.h = (maxHeight !== false ? Math.min(initialHeight, setSize(maxHeight, 'y')) : initialHeight) - loadedHeight - interfaceHeight; 3251 3252 $loaded.css({width:'', height:settings.h}); 3253 publicMethod.position(); 3254 3255 trigger(event_open); 3256 settings.get('onOpen'); 3257 3258 $groupControls.add($title).hide(); 3259 3260 $box.focus(); 3261 3262 if (settings.get('trapFocus')) { 3263 // Confine focus to the modal 3264 // Uses event capturing that is not supported in IE8- 3265 if (document.addEventListener) { 3266 3267 document.addEventListener('focus', trapFocus, true); 3268 3269 $events.one(event_closed, function () { 3270 document.removeEventListener('focus', trapFocus, true); 3271 }); 3272 } 3273 } 3274 3275 // Return focus on closing 3276 if (settings.get('returnFocus')) { 3277 $events.one(event_closed, function () { 3278 $(settings.el).focus(); 3279 }); 3280 } 3281 } 3282 3283 var opacity = parseFloat(settings.get('opacity')); 3284 $overlay.css({ 3285 opacity: opacity === opacity ? opacity : '', 3286 cursor: settings.get('overlayClose') ? 'pointer' : '', 3287 visibility: 'visible' 3288 }).show(); 3289 3290 if (settings.get('closeButton')) { 3291 $close.html(settings.get('close')).appendTo($content); 3292 } else { 3293 $close.appendTo('<div/>'); // replace with .detach() when dropping jQuery < 1.4 3294 } 3295 3296 load(); 3297 } 3298 } 3299 3300 // Colorbox's markup needs to be added to the DOM prior to being called 3301 // so that the browser will go ahead and load the CSS background images. 3302 function appendHTML() { 3303 if (!$box) { 3304 init = false; 3305 $window = $(window); 3306 $box = $tag(div).attr({ 3307 id: colorbox, 3308 'class': $.support.opacity === false ? prefix + 'IE' : '', // class for optional IE8 & lower targeted CSS. 3309 role: 'dialog', 3310 tabindex: '-1' 3311 }).hide(); 3312 $overlay = $tag(div, "Overlay").hide(); 3313 $loadingOverlay = $([$tag(div, "LoadingOverlay")[0],$tag(div, "LoadingGraphic")[0]]); 3314 $wrap = $tag(div, "Wrapper"); 3315 $content = $tag(div, "Content").append( 3316 $title = $tag(div, "Title"), 3317 $current = $tag(div, "Current"), 3318 $prev = $('<button type="button"/>').attr({id:prefix+'Previous'}), 3319 $next = $('<button type="button"/>').attr({id:prefix+'Next'}), 3320 $slideshow = $tag('button', "Slideshow"), 3321 $loadingOverlay 3322 ); 3323 3324 $close = $('<button type="button"/>').attr({id:prefix+'Close'}); 3325 3326 $wrap.append( // The 3x3 Grid that makes up Colorbox 3327 $tag(div).append( 3328 $tag(div, "TopLeft"), 3329 $topBorder = $tag(div, "TopCenter"), 3330 $tag(div, "TopRight") 3331 ), 3332 $tag(div, false, 'clear:left').append( 3333 $leftBorder = $tag(div, "MiddleLeft"), 3334 $content, 3335 $rightBorder = $tag(div, "MiddleRight") 3336 ), 3337 $tag(div, false, 'clear:left').append( 3338 $tag(div, "BottomLeft"), 3339 $bottomBorder = $tag(div, "BottomCenter"), 3340 $tag(div, "BottomRight") 3341 ) 3342 ).find('div div').css({'float': 'left'}); 3343 3344 $loadingBay = $tag(div, false, 'position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;'); 3345 3346 $groupControls = $next.add($prev).add($current).add($slideshow); 3347 } 3348 if (document.body && !$box.parent().length) { 3349 $(document.body).append($overlay, $box.append($wrap, $loadingBay)); 3350 } 3351 } 3352 3353 // Add Colorbox's event bindings 3354 function addBindings() { 3355 function clickHandler(e) { 3356 // ignore non-left-mouse-clicks and clicks modified with ctrl / command, shift, or alt. 3357 // See: http://jacklmoore.com/notes/click-events/ 3358 if (!(e.which > 1 || e.shiftKey || e.altKey || e.metaKey || e.ctrlKey)) { 3359 e.preventDefault(); 3360 launch(this); 3361 } 3362 } 3363 3364 if ($box) { 3365 if (!init) { 3366 init = true; 3367 3368 // Anonymous functions here keep the public method from being cached, thereby allowing them to be redefined on the fly. 3369 $next.click(function () { 3370 publicMethod.next(); 3371 }); 3372 $prev.click(function () { 3373 publicMethod.prev(); 3374 }); 3375 $close.click(function () { 3376 publicMethod.close(); 3377 }); 3378 $overlay.click(function () { 3379 if (settings.get('overlayClose')) { 3380 publicMethod.close(); 3381 } 3382 }); 3383 3384 // Key Bindings 3385 $(document).bind('keydown.' + prefix, function (e) { 3386 var key = e.keyCode; 3387 if (open && settings.get('escKey') && key === 27) { 3388 e.preventDefault(); 3389 publicMethod.close(); 3390 } 3391 if (open && settings.get('arrowKey') && $related[1] && !e.altKey) { 3392 if (key === 37) { 3393 e.preventDefault(); 3394 $prev.click(); 3395 } else if (key === 39) { 3396 e.preventDefault(); 3397 $next.click(); 3398 } 3399 } 3400 }); 3401 3402 if ($.isFunction($.fn.on)) { 3403 // For jQuery 1.7+ 3404 $(document).on('click.'+prefix, '.'+boxElement, clickHandler); 3405 } else { 3406 // For jQuery 1.3.x -> 1.6.x 3407 // This code is never reached in jQuery 1.9, so do not contact me about 'live' being removed. 3408 // This is not here for jQuery 1.9, it's here for legacy users. 3409 $('.'+boxElement).live('click.'+prefix, clickHandler); 3410 } 3411 } 3412 return true; 3413 } 3414 return false; 3415 } 3416 3417 // Don't do anything if Colorbox already exists. 3418 if ($[colorbox]) { 3419 return; 3420 } 3421 3422 // Append the HTML when the DOM loads 3423 $(appendHTML); 3424 3425 3426 // **************** 3427 // PUBLIC FUNCTIONS 3428 // Usage format: $.colorbox.close(); 3429 // Usage from within an iframe: parent.jQuery.colorbox.close(); 3430 // **************** 3431 3432 publicMethod = $.fn[colorbox] = $[colorbox] = function (options, callback) { 3433 var settings; 3434 var $obj = this; 3435 3436 options = options || {}; 3437 3438 if ($.isFunction($obj)) { // assume a call to $.colorbox 3439 $obj = $('<a/>'); 3440 options.open = true; 3441 } else if (!$obj[0]) { // colorbox being applied to empty collection 3442 return $obj; 3443 } 3444 3445 3446 if (!$obj[0]) { // colorbox being applied to empty collection 3447 return $obj; 3448 } 3449 3450 appendHTML(); 3451 3452 if (addBindings()) { 3453 3454 if (callback) { 3455 options.onComplete = callback; 3456 } 3457 3458 $obj.each(function () { 3459 var old = $.data(this, colorbox) || {}; 3460 $.data(this, colorbox, $.extend(old, options)); 3461 }).addClass(boxElement); 3462 3463 settings = new Settings($obj[0], options); 3464 3465 if (settings.get('open')) { 3466 launch($obj[0]); 3467 } 3468 } 3469 3470 return $obj; 3471 }; 3472 3473 publicMethod.position = function (speed, loadedCallback) { 3474 var 3475 css, 3476 top = 0, 3477 left = 0, 3478 offset = $box.offset(), 3479 scrollTop, 3480 scrollLeft; 3481 3482 $window.unbind('resize.' + prefix); 3483 3484 // remove the modal so that it doesn't influence the document width/height 3485 $box.css({top: -9e4, left: -9e4}); 3486 3487 scrollTop = $window.scrollTop(); 3488 scrollLeft = $window.scrollLeft(); 3489 3490 if (settings.get('fixed')) { 3491 offset.top -= scrollTop; 3492 offset.left -= scrollLeft; 3493 $box.css({position: 'fixed'}); 3494 } else { 3495 top = scrollTop; 3496 left = scrollLeft; 3497 $box.css({position: 'absolute'}); 3498 } 3499 3500 // keeps the top and left positions within the browser's viewport. 3501 if (settings.get('right') !== false) { 3502 left += Math.max($window.width() - settings.w - loadedWidth - interfaceWidth - setSize(settings.get('right'), 'x'), 0); 3503 } else if (settings.get('left') !== false) { 3504 left += setSize(settings.get('left'), 'x'); 3505 } else { 3506 left += Math.round(Math.max($window.width() - settings.w - loadedWidth - interfaceWidth, 0) / 2); 3507 } 3508 3509 if (settings.get('bottom') !== false) { 3510 top += Math.max(winheight() - settings.h - loadedHeight - interfaceHeight - setSize(settings.get('bottom'), 'y'), 0); 3511 } else if (settings.get('top') !== false) { 3512 top += setSize(settings.get('top'), 'y'); 3513 } else { 3514 top += Math.round(Math.max(winheight() - settings.h - loadedHeight - interfaceHeight, 0) / 2); 3515 } 3516 3517 $box.css({top: offset.top, left: offset.left, visibility:'visible'}); 3518 3519 // this gives the wrapper plenty of breathing room so it's floated contents can move around smoothly, 3520 // but it has to be shrank down around the size of div#colorbox when it's done. If not, 3521 // it can invoke an obscure IE bug when using iframes. 3522 $wrap[0].style.width = $wrap[0].style.height = "9999px"; 3523 3524 function modalDimensions() { 3525 $topBorder[0].style.width = $bottomBorder[0].style.width = $content[0].style.width = (parseInt($box[0].style.width,10) - interfaceWidth)+'px'; 3526 $content[0].style.height = $leftBorder[0].style.height = $rightBorder[0].style.height = (parseInt($box[0].style.height,10) - interfaceHeight)+'px'; 3527 } 3528 3529 css = {width: settings.w + loadedWidth + interfaceWidth, height: settings.h + loadedHeight + interfaceHeight, top: top, left: left}; 3530 3531 // setting the speed to 0 if the content hasn't changed size or position 3532 if (speed) { 3533 var tempSpeed = 0; 3534 $.each(css, function(i){ 3535 if (css[i] !== previousCSS[i]) { 3536 tempSpeed = speed; 3537 return; 3538 } 3539 }); 3540 speed = tempSpeed; 3541 } 3542 3543 previousCSS = css; 3544 3545 if (!speed) { 3546 $box.css(css); 3547 } 3548 3549 $box.dequeue().animate(css, { 3550 duration: speed || 0, 3551 complete: function () { 3552 modalDimensions(); 3553 3554 active = false; 3555 3556 // shrink the wrapper down to exactly the size of colorbox to avoid a bug in IE's iframe implementation. 3557 $wrap[0].style.width = (settings.w + loadedWidth + interfaceWidth) + "px"; 3558 $wrap[0].style.height = (settings.h + loadedHeight + interfaceHeight) + "px"; 3559 3560 if (settings.get('reposition')) { 3561 setTimeout(function () { // small delay before binding onresize due to an IE8 bug. 3562 $window.bind('resize.' + prefix, publicMethod.position); 3563 }, 1); 3564 } 3565 3566 if ($.isFunction(loadedCallback)) { 3567 loadedCallback(); 3568 } 3569 }, 3570 step: modalDimensions 3571 }); 3572 }; 3573 3574 publicMethod.resize = function (options) { 3575 var scrolltop; 3576 3577 if (open) { 3578 options = options || {}; 3579 3580 if (options.width) { 3581 settings.w = setSize(options.width, 'x') - loadedWidth - interfaceWidth; 3582 } 3583 3584 if (options.innerWidth) { 3585 settings.w = setSize(options.innerWidth, 'x'); 3586 } 3587 3588 $loaded.css({width: settings.w}); 3589 3590 if (options.height) { 3591 settings.h = setSize(options.height, 'y') - loadedHeight - interfaceHeight; 3592 } 3593 3594 if (options.innerHeight) { 3595 settings.h = setSize(options.innerHeight, 'y'); 3596 } 3597 3598 if (!options.innerHeight && !options.height) { 3599 scrolltop = $loaded.scrollTop(); 3600 $loaded.css({height: "auto"}); 3601 settings.h = $loaded.height(); 3602 } 3603 3604 $loaded.css({height: settings.h}); 3605 3606 if(scrolltop) { 3607 $loaded.scrollTop(scrolltop); 3608 } 3609 3610 publicMethod.position(settings.get('transition') === "none" ? 0 : settings.get('speed')); 3611 } 3612 }; 3613 3614 publicMethod.prep = function (object) { 3615 if (!open) { 3616 return; 3617 } 3618 3619 var callback, speed = settings.get('transition') === "none" ? 0 : settings.get('speed'); 3620 3621 $loaded.remove(); 3622 3623 $loaded = $tag(div, 'LoadedContent').append(object); 3624 3625 function getWidth() { 3626 settings.w = settings.w || $loaded.width(); 3627 settings.w = settings.mw && settings.mw < settings.w ? settings.mw : settings.w; 3628 return settings.w; 3629 } 3630 function getHeight() { 3631 settings.h = settings.h || $loaded.height(); 3632 settings.h = settings.mh && settings.mh < settings.h ? settings.mh : settings.h; 3633 return settings.h; 3634 } 3635 3636 $loaded.hide() 3637 .appendTo($loadingBay.show())// content has to be appended to the DOM for accurate size calculations. 3638 .css({width: getWidth(), overflow: settings.get('scrolling') ? 'auto' : 'hidden'}) 3639 .css({height: getHeight()})// sets the height independently from the width in case the new width influences the value of height. 3640 .prependTo($content); 3641 3642 $loadingBay.hide(); 3643 3644 // floating the IMG removes the bottom line-height and fixed a problem where IE miscalculates the width of the parent element as 100% of the document width. 3645 3646 $(photo).css({'float': 'none'}); 3647 3648 setClass(settings.get('className')); 3649 3650 callback = function () { 3651 var total = $related.length, 3652 iframe, 3653 complete; 3654 3655 if (!open) { 3656 return; 3657 } 3658 3659 function removeFilter() { // Needed for IE8 in versions of jQuery prior to 1.7.2 3660 if ($.support.opacity === false) { 3661 $box[0].style.removeAttribute('filter'); 3662 } 3663 } 3664 3665 complete = function () { 3666 clearTimeout(loadingTimer); 3667 $loadingOverlay.hide(); 3668 trigger(event_complete); 3669 settings.get('onComplete'); 3670 }; 3671 3672 3673 $title.html(settings.get('title')).show(); 3674 $loaded.show(); 3675 3676 if (total > 1) { // handle grouping 3677 if (typeof settings.get('current') === "string") { 3678 $current.html(settings.get('current').replace('{current}', index + 1).replace('{total}', total)).show(); 3679 } 3680 3681 $next[(settings.get('loop') || index < total - 1) ? "show" : "hide"]().html(sett
3681ings.get('next')); 3682 $prev[(settings.get('loop') || index) ? "show" : "hide"]().html(settings.get('previous')); 3683 3684 slideshow(); 3685 3686 // Preloads images within a rel group 3687 if (settings.get('preloading')) { 3688 $.each([getIndex(-1), getIndex(1)], function(){ 3689 var img, 3690 i = $related[this], 3691 settings = new Settings(i, $.data(i, colorbox)), 3692 src = settings.get('href'); 3693 3694 if (src && isImage(settings, src)) { 3695 src = retinaUrl(settings, src); 3696 img = document.createElement('img'); 3697 img.src = src; 3698 } 3699 }); 3700 } 3701 } else { 3702 $groupControls.hide(); 3703 } 3704 3705 if (settings.get('iframe')) { 3706 iframe = document.createElement('iframe'); 3707 3708 if ('frameBorder' in iframe) { 3709 iframe.frameBorder = 0; 3710 } 3711 3712 if ('allowTransparency' in iframe) { 3713 iframe.allowTransparency = "true"; 3714 } 3715 3716 if (!settings.get('scrolling')) { 3717 iframe.scrolling = "no"; 3718 } 3719 3720 $(iframe) 3721 .attr({ 3722 src: settings.get('href'), 3723 name: (new Date()).getTime(), // give the iframe a unique name to prevent caching 3724 'class': prefix + 'Iframe', 3725 allowFullScreen : true // allow HTML5 video to go fullscreen 3726 }) 3727 .one('load', complete) 3728 .appendTo($loaded); 3729 3730 $events.one(event_purge, function () { 3731 iframe.src = "//about:blank"; 3732 }); 3733 3734 if (settings.get('fastIframe')) { 3735 $(iframe).trigger('load'); 3736 } 3737 } else { 3738 complete(); 3739 } 3740 3741 if (settings.get('transition') === 'fade') { 3742 $box.fadeTo(speed, 1, removeFilter); 3743 } else { 3744 removeFilter(); 3745 } 3746 }; 3747 3748 if (settings.get('transition') === 'fade') { 3749 $box.fadeTo(speed, 0, function () { 3750 publicMethod.position(0, callback); 3751 }); 3752 } else { 3753 publicMethod.position(speed, callback); 3754 } 3755 }; 3756 3757 function load () { 3758 var href, setResize, prep = publicMethod.prep, $inline, request = ++requests; 3759 3760 active = true; 3761 3762 photo = false; 3763 3764 trigger(event_purge); 3765 trigger(event_load); 3766 settings.get('onLoad'); 3767 3768 settings.h = settings.get('height') ? 3769 setSize(settings.get('height'), 'y') - loadedHeight - interfaceHeight : 3770 settings.get('innerHeight') && setSize(settings.get('innerHeight'), 'y'); 3771 3772 settings.w = settings.get('width') ? 3773 setSize(settings.get('width'), 'x') - loadedWidth - interfaceWidth : 3774 settings.get('innerWidth') && setSize(settings.get('innerWidth'), 'x'); 3775 3776 // Sets the minimum dimensions for use in image scaling 3777 settings.mw = settings.w; 3778 settings.mh = settings.h; 3779
3780 // Re-evaluate the minimum width and height based on maxWidth and maxHeight values. 3781 // If the width or height exceed the maxWidth or maxHeight, use the maximum values instead. 3782 if (settings.get('maxWidth')) { 3783 settings.mw = setSize(settings.get('maxWidth'), 'x') - loadedWidth - interfaceWidth; 3784 settings.mw = settings.w && settings.w < settings.mw ? settings.w : settings.mw; 3785 } 3786 if (settings.get('maxHeight')) { 3787 settings.mh = setSize(settings.get('maxHeight'), 'y') - loadedHeight - interfaceHeight; 3788 settings.mh = settings.h && settings.h < settings.mh ? settings.h : settings.mh; 3789 } 3790 3791 href = settings.get('href'); 3792 3793 loadingTimer = setTimeout(function () { 3794 $loadingOverlay.show(); 3795 }, 100); 3796 3797 if (settings.get('inline')) { 3798 var $target = $(href); 3799 // Inserts an empty placeholder where inline content is being pulled from. 3800 // An event is bound to put inline content back when Colorbox closes or loads new content. 3801 $inline = $('<div>').hide().insertBefore($target); 3802 3803 $events.one(event_purge, function () { 3804 $inline.replaceWith($target); 3805 }); 3806 3807 prep($target); 3808 } else if (settings.get('iframe')) { 3809 // IFrame element won't be added to the DOM until it is ready to be displayed, 3810 // to avoid problems with DOM-ready JS that might be trying to run in that iframe. 3811 prep(" "); 3812 } else if (settings.get('html')) { 3813 prep(settings.get('html')); 3814 } else if (isImage(settings, href)) { 3815 3816 href = retinaUrl(settings, href); 3817 3818 photo = new Image(); 3819 3820 $(photo) 3821 .addClass(prefix + 'Photo') 3822 .bind('error',function () { 3823 prep($tag(div, 'Error').html(settings.get('imgError'))); 3824 }) 3825 .one('load', function () { 3826 if (request !== requests) { 3827 return; 3828 } 3829 3830 // A small pause because some browsers will occassionaly report a 3831 // img.width and img.height of zero immediately after the img.onload fires 3832 setTimeout(function(){ 3833 var percent; 3834 3835 $.each(['alt', 'longdesc', 'aria-describedby'], function(i,val){ 3836 var attr = $(settings.el).attr(val) || $(settings.el).attr('data-'+val); 3837 if (attr) { 3838 photo.setAttribute(val, attr); 3839 } 3840 }); 3841 3842 if (settings.get('retinaImage') && window.devicePixelRatio > 1) { 3843 photo.height = photo.height / window.devicePixelRatio; 3844 photo.width = photo.width / window.devicePixelRatio; 3845 } 3846 3847 if (settings.get('scalePhotos')) { 3848 setResize = function () { 3849 photo.height -= photo.height * percent; 3850 photo.width -= photo.width * percent; 3851 }; 3852 if (settings.mw && photo.width > settings.mw) { 3853 percent = (photo.width - settings.mw) / photo.width; 3854 setResize(); 3855 } 3856 if (settings.mh && photo.height > settings.mh) { 3857 percent = (photo.height - settings.mh) / photo.height; 3858 setResize(); 3859 } 3860 } 3861 3862 if (settings.h) { 3863 photo.style.marginTop = Math.max(settings.mh - photo.height, 0) / 2 + 'px'; 3864 } 3865 3866 if ($related[1] && (settings.get('loop') || $related[index + 1])) { 3867 photo.style.cursor = 'pointer'; 3868 photo.onclick = function () { 3869 publicMethod.next(); 3870 }; 3871 } 3872 3873 photo.style.width = photo.width + 'px'; 3874 photo.style.height = photo.height + 'px'; 3875 prep(photo); 3876 }, 1); 3877 }); 3878 3879 photo.src = href; 3880 3881 } else if (href) { 3882 $loadingBay.load(href, settings.get('data'), function (data, status) { 3883 if (request === requests) { 3884 prep(status === 'error' ? $tag(div, 'Error').html(settings.get('xhrError')) : $(this).contents()); 3885 } 3886 }); 3887 } 3888 } 3889 3890 // Navigates to the next page/image in a set. 3891 publicMethod.next = function () { 3892 if (!active && $related[1] && (settings.get('loop') || $related[index + 1])) { 3893 index = getIndex(1); 3894 launch($related[index]); 3895 } 3896 }; 3897 3898 publicMethod.prev = function () { 3899 if (!active && $related[1] && (settings.get('loop') || index)) { 3900 index = getIndex(-1); 3901 launch($related[index]); 3902 } 3903 }; 3904 3905 // Note: to use this within an iframe use the following format: parent.jQuery.colorbox.close(); 3906 publicMethod.close = function () { 3907 if (open && !closing) { 3908 3909 closing = true; 3910 open = false;
vendor: 1,109 bytes, lines 3911-3958
3911 trigger(event_cleanup); 3912 settings.get('onCleanup'); 3913 $window.unbind('.' + prefix); 3914 $overlay.fadeTo(settings.get('fadeOut') || 0, 0); 3915 3916 $box.stop().fadeTo(settings.get('fadeOut') || 0, 0, function () { 3917 $box.hide(); 3918 $overlay.hide(); 3919 trigger(event_purge); 3920 $loaded.remove(); 3921 3922 setTimeout(function () { 3923 closing = false; 3924 trigger(event_closed); 3925 settings.get('onClosed'); 3926 }, 1); 3927 }); 3928 } 3929 }; 3930 3931 // Removes changes Colorbox made to the document, but does not remove the plugin. 3932 publicMethod.remove = function () { 3933 if (!$box) { return; } 3934 3935 $box.stop(); 3936 $[colorbox].close(); 3937 $box.stop(false, true).remove(); 3938 $overlay.remove(); 3939 closing = false; 3940 $box = null; 3941 $('.' + boxElement) 3942 .removeData(colorbox) 3943 .removeClass(boxElement); 3944 3945 $(document).unbind('click.'+prefix).unbind('keydown.'+prefix); 3946 }; 3947 3948 // A method for fetching the current element Colorbox is referencing. 3949 // returns a jQuery object. 3950 publicMethod.element = function () { 3951 return $(settings.el); 3952 }; 3953 3954 publicMethod.settings = defaults; 3955 3956}(jQuery, document, window)); 3957 3958</script>
3958 3959 3960<!-- Other scripts --> 3961 3962<!-- Stuff... -->
3963<script type="text/javascript"> 3964 3965 /* Footer til bund */ 3966 var body_height = $('body').height(); 3967 var screen_height = $(window).height(); 3968 3969 if (body_height < screen_height) { 3970 $('footer').css('margin-top', (screen_height - body_height) + 'px'); 3971 } 3972 3973 3974 3975 /* Video Format Utility - videocrop_16-4 */ 3976 $('[class*="videocrop_"]').each(function () { 3977 3978 var video_class = $(this).attr('class').split(' '); 3979 video_class = video_class.find((string) => string.startsWith("videocrop_")); 3980 3981 var classes = video_class.replace('videocrop_', ''); 3982 3983 var to_format = classes.split('-'); 3984 var to_x = to_format[0]; 3985 var to_y = to_format[1]; 3986 3987 $(this).css({ 3988 'aspect-ratio' : to_x + '/' + to_y, 3989 'overflow' : 'hidden', 3990 'width' : '100%' 3991 }); 3992 3993 var from_height = $(this).height(); 3994 var to_height = $(this).find('>*:first').height(); 3995 var percent_value = (from_height - to_height) / 2 / to_height * 100; 3996 3997 $(this).find('>*:first').css('transform', 'translateY(' + percent_value + '%)'); 3998 3999 }); 4000 4001 4002 4003 /* Scroll cart */ 4004 var cart_element = $('#cart'); 4005 4006 $(window).on('load', function () { 4007 cart_element = $('#cart'); 4008 }); 4009 4010 /* Scroll header */ 4011 var fixed_selector = '#fixed-menu'; // Skriv her hvilket element, der skal være fixed 4012 var element = false; 4013 var elemPos = 0; 4014 var elemHeight = 0; 4015 4016 if ($(fixed_selector).length) { 4017 var element = $(fixed_selector); 4018 var elemPos = element.offset().top; // Skriv her det element man skal scrolle ned til for at aktivere 4019 var elemHeight = element.height(); 4020 } 4021 4022 $('#logo img').on('load', function () { 4023 elemHeight = element.height(); 4024 }); 4025 4026 $(window).on('load resize scroll', function () { 4027 4028 /* Scroll banner-bg-image */ 4029 // Det var ikke så godt alligevel... 4030 /*$('.banner-bg-image').each(function() { 4031 var scroll_action_point = $(this).offset().top - elemHeight; 4032 4033 if ($(window).scrollTop() >= scroll_action_point) { 4034 $(this).css('background-attachment', 'fixed').css('background-position', 'center ' + elemHeight + 'px'); 4035 } else { 4036 $(this).css('background-attachment', 'scroll').css('background-position', 'center top'); 4037 }; 4038 });*/ 4039 4040 if (element) { 4041 4042 if ($(window).scrollTop() >= elemPos) { 4043 element.addClass('scrolling'); 4044 $('.dropdown-toggle').dropdown('hide'); 4045 $('body').css('padding-top', elemHeight + 'px'); 4046 cart_element.addClass('scrolling-cart'); 4047 } 4048 4049 if ($(window).scrollTop() <= elemPos) { 4050 element.removeClass('scrolling'); 4051 $('body').css('padding-top', 0); 4052 cart_element.removeClass('scrolling-cart'); 4053 } 4054 4055 } 4056 4057 4058 4059 // Anchors 4060 $('.anchors li a, #slide-menu a.anchor').on('click', function(e) { 4061 var a_href = $(this).attr('href'); 4062 4063 if (a_href.indexOf('http') >= 0) { 4064 4065 var new_location = a_href.split('#')[0]; 4066 var new_hash = '#' + a_href.split('#')[1]; 4067 4068 if (new_location == location.href.split('#')[0]) { 4069 e.preventDefault(); 4070 4071 var slideshow_top_id = '#slideshow-top' + new_hash.replace(/[^0-9\.]/g, ''); 4072 4073 if ($(slideshow_top_id).length) { 4074 $('html, body').stop().animate({ 4075 scrollTop: $(slideshow_top_id).offset().top - (elemHeight + 20) 4076 }, 800); 4077 } else { 4078 $('html, body').stop().animate({ 4079 scrollTop: $(new_hash).offset().top - (elemHeight + 20) 4080 }, 800); 4081 } 4082 } 4083 } else { 4084 e.preventDefault(); 4085 $('html, body').stop().animate({ 4086 scrollTop: $($(this).attr('href')).offset().top - (elemHeight + 20) 4087 }, 800); 4088 } 4089 }); 4090 4091 }); 4092 4093 4094 $('#logo img').on('load', function () { 4095 var hash = location.hash; 4096 if(hash != '') { 4097 if ($('a[href*="' + hash + '"]').length > 0) { 4098 $('a[href*="' + hash + '"]').trigger('click'); 4099 } else { 4100 4101 $('html, body').stop().animate({
4102 scrollTop: $(hash).offset().top - (elemHeight) 4103 }, 800); 4104 } 4105 4106 } 4107 }); 4108 4109 4110 $(document).ready(function(){ 4111 // Skift produktbillede i oversigten 4112 $(".colors > span.clickable").on('click', function() { 4113 var thumb = $(this).find("input").attr("value"); 4114 $(this).closest(".product-thumb").find(".image img").attr("src", thumb); 4115 }); 4116 }); 4117 4118 /* Produkt-grid, lige høje billeder */ 4119 function ThumbImageHeight(selector) { 4120 var images_values = new Map(); 4121 4122 /* Deaktiveret da PageSpeed LazyLoader billederne 4123 var images_values = new Map(); 4124 4125 var tallest_image = 0; 4126 var image_offset = 0; 4127 var image_offset_before = 0; 4128 4129 $(selector).each(function () { 4130 image_offset = Math.round($(this).find('.image').offset().top); 4131 $(this).find('.image').attr('style', ''); 4132 var image_height = $(this).find('.image').height(); 4133 //alert(image_height); 4134 $(selector).each(function () { 4135 var image = $(this).find('.image img'); 4136 $(image).one('load', function () { 4137 image_offset = Math.round($(this).find('.image').offset().top); 4138 $(this).find('.image').attr('style', ''); 4139 var image_height = $(this).find('.image .img-fluid').first().height(); 4140 4141 if (image_offset != 0) { 4142 if (image_offset_before != image_offset) { 4143 tallest_image = 0; 4144 } 4145 4146 if (image_height > tallest_image) { 4147 tallest_image = image_height; 4148 if (image_offset != 0) { 4149 if (image_offset_before != image_offset) { 4150 tallest_image = 0; 4151 } 4152 4153 images_values.set([Math.round(image_offset)], tallest_image); 4154 if (image_height > tallest_image) { 4155 tallest_image = image_height; 4156 4157 images_values.set([Math.round(image_offset)], tallest_image); 4158 } 4159 $(this).find('.image').attr('data-offset', Math.round(image_offset)); 4160 } 4161 $(this).find('.image').attr('data-offset', Math.round(image_offset)); 4162 } 4163 image_offset_before = Math.round($(this).find('.image').offset().top); 4164 }); 4165 image_offset_before = Math.round($(this).find('.image').offset().top); 4166 }); 4167 4168 }); 4169 4170 images_values.forEach(function (value, key) { 4171 $('.image[data-offset=' + key + ']').each(function () { 4172 $(this).height(value); 4173 }); 4174 }); 4175 */ 4176 } 4177 4178 $(document).ready(function(){ 4179 $('.colorbox.iframe').colorbox({ 4180 maxWidth: '80%', 4181 maxHeight: '80%', 4182 width: '95%', 4183 height: '95%', 4184 innerWidth:425, 4185 innerHeight:344, 4186 iframe: true 4187 }); 4188 $('.colorbox.local').colorbox({ 4189 maxWidth: '80%', 4190 maxHeight: '80%', 4191 width: '95%', 4192 height: '95%', 4193 innerWidth:425, 4194 innerHeight:344 4195 }); 4196 4197 /* Parallax bg */ 4198 $(window).on('scroll resize load', function () { 4199 4200 var multiply_factor = 0.7 - 1; // Jo højere værdi, jo mere bevæger baggrundsbilledet sig 4201 var vh = $(window).height(); 4202 var scroll_top = $(window).scrollTop(); 4203 4204 $('.bg-parallax').each(function () { 4205 4206 if ($(this).parent().is('[style*="background-image"]').length != 0) { 4207 var bg_box = $(this).parent(); 4208 } 4209 4210 if ($(this).find('>div[style*="background-image"]').length != 0) { 4211 var bg_box = $(this).find('>div'); 4212 } 4213 4214 4215 var clip_top = bg_box.offset().top; 4216 var clip_width = bg_box.width(); 4217 var clip_height = bg_box.height(); 4218 var scroll_distance = (vh + clip_height) * multiply_factor; 4219 4220 var bg_image = new Image(); 4221 bg_image.src = bg_box.css('background-image').replace(/"/g,"").replace(/url\(|\)$/ig, ""); 4222 4223 var bg_ratio = bg_image.width / bg_image.height; 4224 var bg_box_ratio = clip_width / clip_height; 4225 4226 var bg_fixed_height = Math.abs(scroll_distance) + clip_height; 4227 4228 4229 if (scroll_top + vh > clip_top && clip_top + clip_height > scroll_top) { 4230 4231 if (bg_fixed_height * bg_ratio < clip_width) { 4232 var bg_actual_height = (bg_image.height / (bg_image.width / clip_width)); 4233 //var bg_needed_height = bg_actual_height + Math.abs(scroll_distance); 4234 var center_adjust = (bg_actual_height - (scroll_distance + clip_height)) / 2; 4235 4236 bg_box.css('background-size', 'cover'); 4237 bg_box.css('background-position-y', (-((scroll_top + vh) - clip_top) * multiply_factor) - center_adjust + 'px'); 4238 } else { 4239 var center_adjust = ((Math.abs(scroll_distance) + clip_height) - (scroll_distance + clip_height)) / 2; 4240 4241 bg_box.css('background-size', 'auto ' + (Math.abs(scroll_distance) + clip_height) + 'px'); 4242 bg_box.css('background-position-y', (-((scroll_top + vh) - clip_top) * multiply_factor) - center_adjust + 'px'); 4243 } 4244 bg_box.css('background-attachment', 'scroll'); 4245 } 4246 }); 4247 4248 }); 4249 }); 4250 4251 4252</script>
4252 4253 4254<!-- Other scripts --> 4255 4256 4257 4258 4259 4260<div class="scrollTop" title="GÃ¥ til toppen" data-toggle="tooltip"> 4261 <svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="chevron-up" class="svg-inline--fa fa-chevron-up fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"></path></svg> 4262</div>
4263<script type="text/javascript"> 4264 $(document).ready(function() { 4265 jQuery(".scrollTop").on( "click", function() { 4266 jQuery('html, body').animate({ 4267 scrollTop: $("html").offset().top 4268 }, 500); 4269 }); 4270 }); 4271</script>
4271 4272 4273 4274</body></html> 4275
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.