1<!DOCTYPE html> 2�<html lang="en"><head><link rel="canonical" href="https://cornedbeeffactory.com/accessibility-page-01"/><!-- Google tag (gtag.js) -->
vendor: 71 bytes, line 2
2<script async="async" src="https://www.googletagmanager.com/gtag/js?id=
2G-VG24VK2VKT
vendor: 11 bytes, line 2
2"></script>
2<script> 3 window.dataLayer = window.dataLayer || []; 4 function gtag(){dataLayer.push(arguments);} 5 gtag('set', 'linker', {'domains': ['tmt.spotapps.co','spothopperapp.com']}); 6 gtag('js', new Date()); 7 gtag('config', 'G-75DH904ZCQ'); 8 gtag('config', 'G-VG24VK2VKT'); 9 </script>
9<!-- wcache 2026-10-09 10:06:13.310409Z --><!-- 10smart_footer: true, 11smart_footer_version: 1, 12scripting_active: false 13--><meta charset="utf-8"/><meta content="IE=edge" http-equiv="X-UA-Compatible"/><meta content="width=device-width, initial-scale=1" name="viewport"/><meta name="description" content="At Corned Beef Landing Page, we're committed to web accessibility for all users. Read our accessibility statement or contact us for help."/><meta content="" name="author"/><meta content="" property="og:image"/><meta content="image/png" property="og:image:type"/><title>Accessibility Statement</title>
13<script>document.cookie='resolution='+Math.max(screen.width,screen.height)+("devicePixelRatio" in window ? ","+devicePixelRatio : ",1")+'; path=/';</script>
13<link href="https://static.spotapps.co/web/cornedbeeffactory--com/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180"/><link href="https://static.spotapps.co/web/cornedbeeffactory--com/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png"/><link href="https://static.spotapps.co/web/cornedbeeffactory--com/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png"/><link href="https://static.spotapps.co/web/cornedbeeffactory--com/site.webmanifest" rel="manifest"/><link color="#5bbad5" href="https://static.spotapps.co/web/cornedbeeffactory--com/safari-pinned-tab.svg" rel="mask-icon"/><meta content="#da532c" name="msapplication-TileColor"/><meta content="#ffffff" name="theme-color"/><link href="https://static.spotapps.co/web/cornedbeeffactory--com/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/cornedbeeffactory--com/lib/custom-scrollbar/jquery.mCustomScrollbar.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/cornedbeeffactory--com/lib/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/cornedbeeffactory--com/lib/hover_css/css/hover-min.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/cornedbeeffactory--com/lib/owlcarousel/owl.carousel.min.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/cornedbeeffactory--com/lib/owlcarousel/owl.theme.default.min.css" rel="stylesheet"/><link href="https://static.spotapps.co/web-lib/leaflet/[email protected]/dist/leaflet.css" rel="stylesheet"/><link href="https://static.spotapps.co/web/cornedbeeffactory--com/css/style.css?version2" rel="stylesheet"/><link href="css/custom.css?v1758537244&domain=cornedbeeffactory.com" rel="stylesheet"/><link href="https://static.spotapps.co/web/cornedbeeffactory--com/lib/icons_font/css/social_icons.css" rel="stylesheet"/><!--[if IE 7]><link rel="stylesheet" href="lib/icons_font/css/social_icons-ie7.css"><![endif]--><style> 14 15 html{ 16 height: 100%; 17 } 18 19 .webkit-mobile-body{ 20 height: 100%; 21 overflow: hidden; 22 } 23 24 .webkit-mobile-body>div:first-child{ 25 height:100%; 26 overflow: auto; 27 -webkit-overflow-scrolling: touch; 28 } 29 30 </style>
30<script> 31function ga_check(){ 32 return true; 33} 34</script>
34<script> 35function universal_ga(action, type, category, ev_action, label){ 36 if(typeof ga === 'function') 37 { 38 if(!(action && label)) 39 ga(action, type, category) 40 else 41 ga(action, type, category, ev_action, label) 42 } 43 44 if(typeof gtag === 'function') 45 { 46 if(!(action && label)) 47 { 48 hash = category 49 ev_label = hash["eventLabel"] 50 var splits = ev_label.match(/.{1,100}/g) ?? []; 51 delete(hash["eventLabel"]) 52 53 if(splits.length <= 1) 54 hash["eventLabel"] = ev_label 55 else 56 { 57 for (let i = 0; i < splits.length; i++) { 58 var key = "eventLabel_"+i 59 hash[key] = splits[i] 60 } 61 } 62 console.log(hash) 63 gtag("event", hash["eventCategory"], hash); 64 } 65 else 66 { 67 var hash = { 68 eventCategory: category, 69 eventAction: ev_action 70 } 71 72 var splits = label.match(/.{1,100}/g) ?? []; 73 if(splits.length <= 1) 74 hash["eventLabel"] = label 75 else 76 { 77 for (let i = 0; i < splits.length; i++) { 78 var key = "eventLabel_"+i 79 hash[key] = splits[i] 80 } 81 } 82 gtag("event", hash["eventCategory"], hash); 83 } 84 } 85} 86</script>
86<script> function getPromotionUrlParams(){ 87 var params_str = sessionStorage.getItem('shUrlParams'); 88 if (params_str != null){ 89 return JSON.parse(params_str); 90 }else{ 91 return {}; 92 } 93 } 94 95 function getPromotionSourceDetails(){ 96 var params_str = localStorage.getItem('promotionSourceDetails'); 97 if (params_str != null){ 98 return JSON.parse(params_str); 99 }else{ 100 return {}; 101 } 102 } 103 104 function getLastEmailVisitInDays(){ 105 var promotionSourceDetails = getPromotionSourceDetails(); 106 if (!promotionSourceDetails['last_visit_email'] ){ 107 return null; 108 } 109 return Math.floor((new Date() - new Date(promotionSourceDetails['last_visit_email'])) / (1000 * 60 * 60 * 24)); 110 } 111 112 function getLastSocialVisitInDays(){ 113 var promotionSourceDetails = getPromotionSourceDetails(); 114 if (!promotionSourceDetails['last_visit_social'] ){ 115 return null; 116 } 117 return Math.floor((new Date() - new Date(promotionSourceDetails['last_visit_social'])) / (1000 * 60 * 60 * 24)); 118 } 119 120 var shUrlParams = getPromotionUrlParams(); 121 var promotionSourceDetails = getPromotionSourceDetails(); 122 123 new URL(document.location).searchParams.forEach(function(value, paramName){ 124 125 shUrlParams[paramName] = value; 126 127 if (paramName == 'source' && value =='social' ){ 128 promotionSourceDetails['last_visit_social'] = new Date(); 129 localStorage.setItem('promotionSourceDetails', JSON.stringify(promotionSourceDetails)); 130 } 131 132 if (paramName == 'source' && value =='email' ){ 133 promotionSourceDetails['last_visit_email'] = new Date(); 134 localStorage.setItem('promotionSourceDetails', JSON.stringify(promotionSourceDetails)); 135 } 136 137 }); 138 139 sessionStorage.setItem('shUrlParams', JSON.stringify(shUrlParams)) 140</script>
140<style>a:focus:not(:focus-visible){outline:none;box-shadow:none;} 141a.get-directions-footer-link{display:inline-block;transform-origin:left center;transition:transform .2s ease;} 142a.get-directions-footer-link:hover{transform:scale(1.08);} 143@media (prefers-reduced-motion:reduce){a.get-directions-footer-link{transition:none;transform:none;}} 144a.get-directions-footer-link,a.get-directions-footer-link:hover{color:inherit!important;}</style></head><body class="drink-menu article-background "><div><header style="background-color:#000000;"><style> 145 146 147.navbar-regular .navbar-collapse.collapse.in { 148 background-color: transparent; 149 width: 100%; 150} 151.navbar.nav-v4{ 152 background-color: transparent; 153 -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 154 -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 155 box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 156 -moz-transition: all 0.3s ease-in-out; 157 -webkit-transition: all 0.3s ease-in-out; 158 -o-transition: all 0.3s ease-in-out; 159 transition: all 0.3s ease-in-out; 160} 161.navbar.nav-v4.nav-scroll{ 162 background-color: rgba(0,0,0,0.7); 163 -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 164 -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 165 box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 166} 167.drink-menu .navbar.nav-v4{ 168 background-color: rgba(0,0,0,0.7); 169 -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 170 -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 171 box-shadow: 0px 2px 5px 0px rgba(0,0,0,0); 172 -moz-transition: all 0.3s ease-in-out; 173 -webkit-transition: all 0.3s ease-in-out; 174 -o-transition: all 0.3s ease-in-out; 175 transition: all 0.3s ease-in-out; 176} 177.drink-menu .navbar.nav-v4.nav-scroll{ 178 background-color: rgba(0,0,0,0.7); 179 -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 180 -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 181 box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.4); 182} 183.navbar-regular.nav-v4 .navbar-nav>li>a, 184.navbar-regular.nav-v4 .navbar-nav>.active>a, 185.navbar-regular.nav-v4 .navbar-nav>.active>a:focus, 186.navbar-regular.nav-v4 .navbar-nav>.active>a:hover{ 187 border: none; 188 background-color: transparent; 189 color: #fff; 190 -moz-transition: all 0.3s ease-in-out; 191 -webkit-transition: all 0.3s ease-in-out; 192 -o-transition: all 0.3s ease-in-out; 193 transition: all 0.3s ease-in-out; 194} 195.navbar-regular.nav-v4 .navbar-toggle .icon-bar { 196 background-color: #fff; 197 -moz-transition: all 0.3s ease-in-out; 198 -webkit-transition: all 0.3s ease-in-out; 199 -o-transition: all 0.3s ease-in-out; 200 transition: all 0.3s ease-in-out; 201} 202.navbar-regular.nav-v4.nav-scroll .navbar-nav>li>a, 203.navbar-regular.nav-v4.nav-scroll .navbar-nav>.active>a, 204.navbar-regular.nav-v4.nav-scroll .navbar-nav>.active>a:focus, 205.navbar-regular.nav-v4.nav-scroll .navbar-nav>.active>a:hover{ 206 border: none; 207 color: #fff; 208} 209.navbar-regular.nav-v4.nav-scroll .navbar-toggle .icon-bar { 210 background-color: #fff; 211} 212.navbar.nav-v4 .header-logo-text{ 213 color: #fff; 214 -moz-transition: all 0.3s ease-in-out; 215 -webkit-transition: all 0.3s ease-in-out; 216 -o-transition: all 0.3s ease-in-out; 217 transition: all 0.3s ease-in-out; 218} 219.navbar.nav-v4.nav-scroll .header-logo-text{ 220 color: #fff; 221} 222.navbar.nav-v4 .social-icon{ 223 color: #fff; 224 -moz-transition: all 0.3s ease-in-out; 225 -webkit-transition: all 0.3s ease-in-out; 226 -o-transition: all 0.3s ease-in-out; 227 transition: all 0.3s ease-in-out; 228} 229.navbar.nav-v4.nav-scroll .social-icon{ 230 color: #fff; 231} 232</style><!-- nav --><nav class="navbar nav-v4 navbar-regular navbar-fixed-top" id="navbar" role="navigation"><div class="visuallyhidden" id="skip"><a href="#content">Skip to Main Content</a></div><div><div class="navbar-header"><button class="navbar-toggle" data-target="#navbar-collapse-1" data-toggle="collapse" type="button"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button></div><a class="header-logo" href="/"><div class="header-logo-text">Corned Beef Landing Page</div></a><ul class="socialnav"><li class="social-links"></li></ul><div class="collapse navbar-collapse" id="navbar-collapse-1"><ul class="nav navbar-nav navbar-right"></ul></div></div></nav></header><main id="content" role="main"><article><div class="pagecontent"><div class="tabnav"></div><div class="tabs-container"><style> 233 234.drink-menu .article-background, .drink-menu.article-background .pagecontent { 235 background-color: #000; 236 color: #fff; 237} 238.drink-menu.article-background .pagecontent { 239 border: none; 240} 241.drink-menu.article-background .pagecontent * { 242 text-align: left !important; 243 color: #fff; 244} 245.drink-menu.article-background .tabs-container { 246 text-shadow: none; 247} 248.drink-menu.article-background, 249.drink-menu.article-background:before { 250 background-image: none; 251} 252 253.drink-menu.article-background .pagecontent a, 254.drink-menu.article-background .pagecontent a:hover {
255 color: #fff; 256} 257 258.drink-menu.article-background { 259 background-color: #000; 260} 261 262.ada-page-content.container { 263 padding-top: 40px; 264} 265 266</style><div class="scrolling"><div class="container ada-page-content"><h1>Accessibility Statement for Corned Beef Landing Page</h1><p>Corned Beef Landing Page is committed to making our site accessible to people with disabilities. We are continuously gathering feedback and improving the user experience for everyone. 267 </p><h2>Conformance</h2><p>To provide great experience to everyone we are using The Web Content Accessibility Guidelines (WCAG). The guidelines have three levels of accessibility (A, Level AA, and Level AAA). Corned Beef Landing Page has chosen level AA as a target for our website and we are fully committed to monitoring our site to maintain this level of compliance. 268 </p><h2>Third-Party Vendors</h2><p>We encourage our third party vendors (online order and delivery providers, reservations and event management, social media, review sites, travel recommendation sites, etc.) to provide content that is accessible and user friendly, even though we cannot control their content that appears on our website. 269 </p></div></div></div></div></article></main></div>
269<script src="https://static.spotapps.co/web/cornedbeeffactory--com/lib/jquery/jquery.min.js"></script>
269<script src="https://static.spotapps.co/web/cornedbeeffactory--com/lib/bootstrap/js/bootstrap.min.js"></script>
269<script src="https://static.spotapps.co/web/cornedbeeffactory--com/lib/angular/angular.min.js"></script>
269<script src="https://static.spotapps.co/web/cornedbeeffactory--com/lib/underscorejs/underscore-min.js"></script>
269<script> 270 271 $('.header-logo, .nav-v2-home-btn').click(function(event) { 272 if ( window.location.pathname == '/' || window.location.pathname == '/index.php') { 273 event.preventDefault(); 274 var windowScrollTop = $(window).scrollTop(); 275 if(windowScrollTop > 150) { 276 $('html, body').animate({scrollTop: 0}, 750); 277 } 278 } 279 }); 280 281$(".banner-section a.banner-pin").click(function(e) { 282 // target element id 283 var id = $(this).attr('href'); 284 285 // target element 286 var section = $(id); 287 if (section.length === 0) { 288 return; 289 } 290 291 // prevent standard hash navigation (avoid blinking in IE) 292 e.preventDefault(); 293 294 // top position relative to the document 295 var pos = section.offset().top - 100 + 10; 296 297 // animated top scrolling 298 $('body, html').animate({scrollTop: pos}, 750); 299}); 300 301$(document).on('scroll', function (e) { 302 303 if($(document).scrollTop() > 0) { 304 $('.navbar.nav-v4').addClass('nav-scroll'); 305 }else { 306 $('.navbar.nav-v4').removeClass('nav-scroll'); 307 } 308 309}); 310</script>
310<script> 311(function() { 312 var name = "Corned Beef Landing Page"; 313 var pid = "ChIJtdANBdosDogRqzMgVad1L5M"; 314 function build_url() { 315 var q = encodeURIComponent(name).replace(/'/g, "%27"); 316 return "https://www.google.com/maps/search/?api=1" 317 + "&query=" + q 318 + "&query_place_id=" + encodeURIComponent(pid); 319 } 320 window.google_map_url = build_url(); 321 window.open_google_map = function() { 322 window.open(build_url(), "_blank"); 323 }; 324})(); 325</script>
325<script> 326 327 var spot_id = 120727; 328 var sh_generic_form_params=JSON.parse('{"generic_contact_form_active":true,"texting_permissions_active":true,"title":"Contact us","instructions":"Please fill out the form and we will be in touch.","reasons":["To host a special event","To get a special event catered","To reserve a table","To apply for a job","Other Questions"],"custom_hours":"","hours":"","active_tmt_cta_links":{"cta_private_party":null,"cta_catering":null,"cta_reservations":null,"cta_jobs":null},"label_for_texting_permission":"Iâd like to get texts about specials, events, and other exclusive offers and announcements not available to general public"}'); 329 330 if (false){ 331 console.log("Check SpotHopper configuration. Probably there is no 'WEBSITE::DOMAIN_NAME' key for your website"); 332 } 333 334 if (navigator.userAgent.match(/iPhone/i) 335 || navigator.userAgent.match(/iPad/i) 336 || navigator.userAgent.match(/iPod/i)){ 337 $(document).ready(function(){ 338 document.body.className += " " + "webkit-mobile-body"; 339 }); 340 } 341 342 var promotion_url_param_domain = getPromotionUrlParams()['domain']; 343 if ( promotion_url_param_domain && ( new URL(document.location).host == 'localhost:4000' || new URL(document.location).host == 'wcache.spotapps.co' || new URL(document.location).host == 'website-editor.spotapps.co' || new URL(document.location).host == 'website-editor-staging.spotapps.co' || new URL(document.location).host == 'wcache-staging.spotapps.co')){ 344 $("a[href^='/']").each(function(){ 345 if (this.href.indexOf('domain=') == -1){ 346 var sh_internal_url = new URL(this.href); 347 sh_internal_url.searchParams.set("domain", promotion_url_param_domain); 348 this.href = sh_internal_url.toString(); 349 } 350 }) 351 } 352 353 354 function cta_link_matches_href(href, url){ 355 var domain = 'cornedbeeffactory.com'; 356 if(typeof url === 'undefined'){ 357 return false; 358 } 359 var partsOfURL = url.split(domain); 360 if (partsOfURL.length != 2){ 361 return href == url; 362 }else{ 363 var urlPath = partsOfURL[1]; 364 if (urlPath.substring(0,1) == "/"){ 365 urlPath = urlPath.substring(1,urlPath.length); 366 } 367 return href.indexOf(urlPath, domain.length + href.indexOf(domain)-1) !== -1; 368 } 369 } 370 371 var all_cta_links = [{"id":732992,"spot_id":120727,"url":"https://order.online/en/business/~11212826","cta_link_type":"order","created_at":"2023-02-14T19:07:28+00:00","updated_at":"2026-02-11T11:59:14+00:00","made_of_food":false,"link_name":"Carol Stream and Woodstock Order","target":null,"website_footer_label":"Order","position":0},{"id":1782757,"spot_id":120727,"url":"https://order.toasttab.com/online/the-corned-beef-factory-maywood-613-w-roosevelt","cta_link_type":"order2","created_at":"2026-02-11T11:59:14+00:00","updated_at":null,"made_of_food":false,"link_name":"Maywood Order","target":null,"website_footer_label":"Order","position":11}]; 372 373 function find_cta_link(href) { 374 for (var i=0; i< all_cta_links.length; i++){ 375 var cta_link = all_cta_links[i]; 376 if ( cta_link_matches_href(href, cta_link.url)){ 377 return cta_link; 378 } 379 } 380 } 381 382 function find_cta_links(href) { 383 var cta_links = [] 384 for (var i=0; i< all_cta_links.length; i++){ 385 var cta_link = all_cta_links[i]; 386 if ( cta_link_matches_href(href, cta_link.url)){ 387 cta_links.push(cta_link); 388 } 389 } 390 return cta_links; 391 } 392 393 394 function get_current_page_cta_link_types(){ 395 var types = []; 396 var cta_links = find_cta_links(document.location.href); 397 for (var i=0; i<cta_links.length; i++){ 398 types.push(cta_links[i].cta_link_type); 399 } 400 return types; 401 } 402 403 404 function is_food_menu_page(){ 405 var cta_link_types = get_current_page_cta_link_types(); 406 for (var i=0; i<cta_link_types.length; i++){ 407 if ('food_menu' == cta_link_types[i]) 408 return true; 409 } 410 return false; 411 } 412 413 414 function get_form_cat_from_cta(){ 415 var cta_link = find_cta_link(document.location.href); 416 if (cta_link == null) { 417 return null; 418 } 419 if (cta_link.cta_link_type == 'private_parties'){ 420 return 'private_party'; 421 }else if (cta_link.cta_link_type == 'reservations'){ 422 return 'reservation'; 423 }else if (cta_link.cta_link_type == 'catering'){ 424 return 'catering'; 425 }else if (cta_link.cta_link_type == 'job_listing'){ 426 return 'job_listings'; 427 }else if (cta_link.cta_link_type == 'gift_cards'){ 428 return 'gift_cards'; 429 } 430 return null; 431 } 432 433 function element_has_events_defined(elem){ 434 if ($._data(elem, "events") === undefined){ 435 return false;
436 } 437 return true; 438 } 439 440 function create_ga_events_for_cta_clicks(){ 441 if (typeof $ === 'function'){ 442 443 var cta_link_of_the_page = find_cta_link(location.href); 444 445 446 $("a").each(function(index, elem){ 447 var href = $(elem).attr('href'); 448 449 if (href === undefined ){ 450 return; 451 } 452 453 if (href.substring(0,4) == 'tel:'){ 454 if (!element_has_events_defined(elem)){ // not footer links 455 $(elem).on("click", function(){ 456 universal_ga('send', 'event', { 457 eventCategory: 'Button', 458 eventAction: 'Click', 459 eventLabel: 'Phone', 460 transport: 'beacon' 461 }); 462 }); 463 464 if (cta_link_of_the_page){ 465 $(elem).on("click", function(){ 466 universal_ga('send', 'event', { 467 eventCategory: 'Button', 468 eventAction: 'Click', 469 eventLabel: cta_link_of_the_page.cta_link_type + ' page phone', 470 transport: 'beacon' 471 }); 472 }); 473 } 474 } else { 475 if (cta_link_of_the_page){ 476 $(elem).on("click", function(){ 477 universal_ga('send', 'event', { 478 eventCategory: 'Button', 479 eventAction: 'Click', 480 eventLabel: cta_link_of_the_page.cta_link_type + ' page phone footer', 481 transport: 'beacon' 482 }); 483 }); 484 } 485 } 486 487 488 }else{ 489 var cta_link = find_cta_link(href); 490 if (elem.className != null && elem.className.indexOf("bottom-link") > -1){ 491 // console.log("bottom link detected"); 492 }else{ 493 if (cta_link != null){ 494 $(elem).on("click", function(){ 495 universal_ga('send', 'event', { 496 eventCategory: 'Website Link', 497 eventAction: 'Click', 498 eventLabel: cta_link.cta_link_type, 499 transport: 'beacon' 500 }); 501 }); 502 } 503 } 504 } 505 506 507 }); 508 } 509 } 510 511 if (typeof angular === "undefined") { 512 create_ga_events_for_cta_clicks(); 513 } else { 514 angular.element(document).ready(function () { 515 create_ga_events_for_cta_clicks(); 516 }); 517 } 518 519 520 function triggerShowFooterEvents(){ 521 if (window.screen.availWidth < 768){ 522 universal_ga('send', 'event', { 523 eventCategory: 'Mobile Footer', 524 eventAction: 'View', 525 eventLabel: '', 526 transport: 'beacon' 527 }); 528 } 529 } 530 531 532 533 534 //////////// 535 function smartFooterV2() 536 { 537 var list= document.getElementsByClassName("bottom-list-item"); 538 if (!list) return; 539 540 if (document.getElementById("bottom-navbar") == null){ 541 return; 542 } 543 544 var bottomNav = document.querySelector('#bottom-navbar .navbar-nav'); 545 var footerLinkPaddingLeft = $('#bottom-navbar .navbar-nav li a').css('padding-left'); 546 var footerLinkPaddingRight = $('#bottom-navbar .navbar-nav li a').css('padding-right'); 547 548 bottomNav.innerHTML = ''; 549 var linksWithPosition = all_cta_links.filter(e => e.position != null && e.position >= 0); 550 linksWithPosition.sort(function(a,b) { 551 return a.position - b.position; 552 }); 553 554 var footerLinkStyle = (footerLinkPaddingLeft == '0px' || footerLinkPaddingRight == '0px' ? 'style="padding-left: 8px; padding-right: 8px;"' : ''); 555 556 linksWithPosition.forEach((e, i) => { 557 var target = e.target || getUrlTarget(e.url); 558 bottomNav.insertAdjacentHTML('beforeend', 559 `<li class="bottom-list-item" style="white-space: nowrap;width: auto;"><a ${footerLinkStyle} class="bottom-link smart-footer-link" data-type="${e.cta_link_type}" data-position="${i}" target="${target}" href="${e.url}">${e.website_footer_label}</a></li>`); 560 }) 561 562 var intervalCount = 0 563 var interval = setInterval(() => { 564 if(intervalCount == 50){ 565 clearInterval(interval); 566 } 567 removeOverflowingFooterLinks(); 568 intervalCount ++; 569 }, 200); 570 571 $('.smart-footer-link').on("click", function(){ 572 if (typeof shUrlParams !== "undefined" && shUrlParams['source'] === undefined){ 573 shUrlParams['source'] = 'footer'; 574 sessionStorage.setItem('shUrlParams', JSON.stringify(shUrlParams)); 575 } 576 577 var visibleLinks = $('.smart-footer-link').map(function (e) { 578 return $(this).data('type'); 579 }).toArray().join(','); 580 581 universal_ga('send', 'event', { 582 eventCategory: 'Button', 583 eventAction: 'Click_footer_2', 584 eventLabel: "type:" + $(this).data('type') + "|position:" + $(this).data('position') + "|visible:" + visibleLinks, 585 transport: 'beacon' 586 }); 587 }); 588 } 589 590 function removeOverflowingFooterLinks(){ 591 var bottomNavLinks = document.querySelectorAll('#bottom-navbar .navbar-nav li'); 592 var width_sum = 0; 593 594 bottomNavLinks.forEach(e => { 595 width_sum += e.getBoundingClientRect().width; 596 if ((width_sum) > window.innerWidth) { 597 console.log(`%cLink %c${e.textContent} %cdeleted couldn't fit screen`,"color: #fff;background: #202124;", "background: red;color: #fff", "color: #fff;background: #202124;"); 598 e.remove(); 599 } 600 }); 601 } 602 603 function getUrlTarget(url){ 604 if(url.startsWith('tel')){ 605 return '_self'; 606 } 607 if(url.startsWith('/') || url.includes('tmt.spotapps.co') || url.includes(window.location.host)){ 608 return '_self'; 609 } 610 return '_blank'; 611 } 612 613 function npb() 614 { 615 var list= document.getElementsByClassName("bottom-list-item"); 616 if (!list) return; 617 618 if (document.getElementById("bottom-navbar") == null){ 619 return; 620 } 621 622 var url = "" 623 for (var i=0; i < all_cta_links.length; i++) 624 { 625 if (all_cta_links[i].cta_link_type == "order"){ 626 url = all_cta_links[i].url; 627 } 628 } 629 630 if ( url == ""){ 631 return; 632 } 633 634 for (i=0; i < list.length; i++) 635 { 636 console.log(cta_link_matches_href(list[i].firstChild.href, url)); 637 if (cta_link_matches_href(list[i].firstChild.href,url)) return; 638 639 }; 640 641 var item = list[list.length-1] 642 document.getElementById("bottom-navbar").getElementsByClassName("nav navbar-nav")[0].appendChild(item.cloneNode(true)); 643 var width_sum = 0; 644 for (i=0; i < list.length; i++) { 645 width_sum += list[i].getBoundingClientRect().width; 646 } 647 648 var item = list[list.length-1] 649 if ((width_sum - 10) > window.innerWidth) { item.parentNode.removeChild(item); console.log("link deleted couldn't fit screen"); return; } 650 651 item.firstChild.text = "Order"; 652 item.firstChild.href = url; 653 item.firstChild.id = "bottom_link_" + list.length; 654 655 $(item.firstChild).on("click", function(){ 656 657 if (typeof shUrlParams !== "undefined" && shUrlParams['source'] === undefined){ 658 shUrlParams['source'] = 'footer'; 659 sessionStorage.setItem('shUrlParams', JSON.stringify(shUrlParams)); 660 } 661 662 universal_ga('send', 'event', { 663 eventCategory: 'Button', 664 eventAction: 'Click', 665 eventLabel: 'Plan B-2 Order', 666 transport: 'beacon' 667 }); 668 }); 669 670 671 } 672 673function activateSmartFooter(){ 674 var smart_footer_active = true; 675 var smart_footer_version = 1; 676 var man_bottom_active = false;
677 if(window.location.hash == '#smartFooterV2=enabled'){ 678 smartFooterV2(); 679 return; 680 } 681 if (smart_footer_active && !man_bottom_active){ 682 if(smart_footer_version == 2 ){ 683 smartFooterV2(); 684 }else { 685 npb(); 686 } 687 } 688 } 689 690 activateSmartFooter(); 691 692 var corona_config_str = ''; 693 var corona_config = corona_config_str != '' ? JSON.parse('') : null; 694 695 696 //corona instuctions 697 function show_corona_instructions(text, phone, btnText){ 698 //format to US number 699 var match = phone.match(/^(\d{3})(\d{3})(\d{4})$/); 700 701 if(corona_config.shopping_cart_type == "TMT" && corona_config.shopping_cart_active == true) { 702 var linkLocation = "https://tmt.spotapps.co/ordering-menu/?spot_id="+corona_config.spot_id+"&images=yes&accordion=true"; 703 var btnLinkLocation = "https://tmt.spotapps.co/ordering-menu/?spot_id="+corona_config.spot_id+"&images=yes&accordion=true"; 704 }else { 705 var linkLocation = 'tel:+1'+phone+''; 706 var btnLinkLocation = 'tel:+1'+ match[1] + '-' + match[2] + '-' + match[3] +'' 707 } 708 var appendPhone = 'tel:+1'+phone+''; 709 //inject html content 710 if ($('.food-menu-nav').length) { 711 //new template 712 var pageEl = $('.food-menu-nav').css('margin','20px auto 10px auto'); 713 var textColor = rgb2hex($('.section-header').css('color')); 714 var linkColor = rgb2hex($('.food-menu-nav-item.active').css('background-color')); 715 var fontSize = parseInt($('.food-menu-nav-item').css('font-size')); 716 fontSize = fontSize + Math.round(fontSize * 0.25); 717 718 // var html = '<div id="show-corona-instructions" style="padding:20px;flex: 0 1 100%;" class="text-center"><p style="color:'+textColor+';">'+text+' <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="color:'+linkColor+';"href="tel:+1'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></p><a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="font-size:'+fontSize+'px" class="food-menu-nav-item custom-temp-btn hvr-fade active" href="tel:+1'+phone+'">'+btnText+'</a></div>'; 719 var html = '<div id="show-corona-instructions" style="padding:20px;flex: 0 1 100%;" class="text-center"><p style="color:'+textColor+';">'+text+' <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="text-decoration: underline;color:'+textColor+';" href="tel:+1'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></p><a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="display: inline-block !important;font-size:'+fontSize+'px" class="food-menu-nav-item custom-temp-btn hvr-fade active" href="'+btnLinkLocation +'">'+btnText+'</a></div>'; 720 721 }else { 722 //old template 723 var pageEl = $('.tabnav'); 724 var textColor = rgb2hex($('.menu-item-name-traditional').css('color')); 725 var linkColor = rgb2hex($('.style-traditional .tabnav .nav>li.active>a').css('color')); 726 727 var linkTextColor = getContrast50(linkColor); 728 var fontSize = parseInt($('.menu-item-name-traditional').css('font-size')); 729 fontSize = fontSize + Math.round(fontSize * 0.25); 730 var textTransform = $('.style-traditional .tabnav .nav>li>a').css('text-transform'); 731 732 // var html = '<div id="show-corona-instructions" style="padding:20px;flex: 0 1 100%;" class="text-center"><p style="color:'+textColor+';margin-bottom:20px;">'+text+' <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="color:'+linkColor+';"href="tel:+1'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></p><a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="margin: 20px auto; padding: 10px 50px 10px 30px; cursor: pointer; background-color: '+linkColor+'; background: '+linkColor+'; text-decoration: none; color: '+textColor+'; border: 2px solid '+linkColor+';font-size:'+fontSize+'px;text-transform: '+textTransform+'" href="tel:+1'+phone+'">'+btnText+'</a></div>';
733 var html = '<div id="show-corona-instructions" style="padding:20px;flex: 0 1 100%;" class="text-center"><p style="color:'+textColor+';margin-bottom:20px;">'+text+' <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="text-decoration: underline;color:'+textColor+';"href="tel:+1'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></p><a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Corona Instructions Phone\');" style="margin: 20px auto; padding: 10px 30px 10px 30px; cursor: pointer; background-color: '+linkColor+'; background: '+linkColor+'; text-decoration: none; color: '+linkTextColor+'; border: 2px solid '+linkColor+';font-size:'+fontSize+'px;text-transform: '+textTransform+'" href="'+btnLinkLocation+'">'+btnText+'</a></div>'; 734 735 } 736 //html content 737 pageEl.prepend(html); 738 } 739 740 function rgb2hex(rgb) { 741 if(typeof rgb !== "undefined"){ 742 rgbColor = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/); 743 if (!rgbColor) { 744 rgba = rgb.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(,\s*\d+\.*\d+)?\)$/); 745 return "#" + hex(rgba[1]) + hex(rgba[2]) + hex(rgba[3]); 746 } 747 function hex(x) { 748 return ("0" + parseInt(x).toString(16)).slice(-2); 749 } 750 return "#" + hex(rgbColor[1]) + hex(rgbColor[2]) + hex(rgbColor[3]); 751 } 752 return rgb; 753 } 754 755 function getContrast50(hexcolor){ 756 return (parseInt(hexcolor, 16) > 0xffffff/2) ? '#000':'#fff'; 757 } 758 759 function show_corona_sidebar_instructions(text, phone){ 760 //format to US number 761 var match = phone.match(/^(\d{3})(\d{3})(\d{4})$/); 762 var divWidth = 230; 763 var top = 50; 764 var linkSize = '1.6em'; 765 var pSize = $('p').css('font-size'); 766 var appendPhone = 'tel:+1'+phone+''; 767 768 if ($(window).width() < 1600) 769 var top = 30; 770 if ($(window).width() < 1200){ 771 var divWidth = 180; 772 var linkSize = '1.4em'; 773 var pSize ='1.1em'; 774 } 775 776 if($('.food-menu-nav').length){ //new template 777 var textColor = $('.food-menu-nav-item.active').css('color'); 778 var linkColor = $('.food-menu-nav-item.active').css('background-color'); 779 780 var linkTextColor = $('.food-menu-nav-item.active').css('color'); 781 var parent = $('.food-menu-page'); 782 } 783 else { //old template 784 var textColor = $('.menu-item-name-traditional').css('color'); 785 var linkColor = $('.style-traditional .tabnav .nav>li.active>a').css('color'); 786 var parent = $('.food-menu').length ? $('.food-menu') : $('.drink-menu'); 787 var linkTextColor = getContrast50(linkColor); 788 } 789 790 // $(parent).append('<div id="corona-instructions-sidebar" style="display:none;position:fixed;width:'+divWidth+'px;top:'+top+'vh;right:0;background-color:'+linkColor+';padding:15px;text-align:center;color:'+textColor+';text-transform:uppercase;"><p style="margin:0 0 5px;font-size:'+pSize+';">'+text+'</p><i class="fa fa-phone" aria-hidden="true"></i> <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Food Page Side Element Phone\');" style="font-size:'+linkSize+';color:'+textColor+';" href="tel:+1'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></div>'); 791 $(parent).append('<div id="corona-instructions-sidebar" style="display:none;position:fixed;width:'+divWidth+'px;top:'+top+'vh;right:0;background-color:'+linkColor+';padding:15px;text-align:center;color:'+linkTextColor+';text-transform:uppercase;"><p style="margin:0 0 5px;font-size:'+pSize+';">'+text+'</p><i class="fa fa-phone" aria-hidden="true"></i> <a onclick="ga(\'send\', \'event\', \'Button\', \'Click\', \'Food Page Side Element Phone\');this.href=\'' + appendPhone + '\';" style="font-size:'+linkSize+';color:'+linkTextColor+';" href="/call-us/'+phone+'">'+ match[1] + '-' + match[2] + '-' + match[3] +'</a></div>'); 792 793 //check if resolution is bigger than tablet resolution 794/* if ($(window).width() > 991) { 795 //detect scroll 796 window.onscroll = function (e) { 797 if ($(window).scrollTop() == 0) { 798 $('#corona-instructions-sidebar').hide(); 799 }else { 800 $('#corona-instructions-sidebar').show(); 801 } 802 } 803 } */ 804 } 805 806 function check_corona_config(config){ 807 console.log(config) 808 if (config) { 809 if (config.instructions_on_food_page && config.food_page_instruction_text && config.food_page_instruction_phone) { 810 if (!config.promote_deliveries && config.promote_pick_up) { 811 var btnText = 'Call For Pick Up'; 812 } 813 if (config.promote_deliveries && !config.promote_pick_up) { 814 var btnText = 'Call For Delivery'; 815 } 816 if (config.promote_deliveries && config.promote_pick_up) { 817 var btnText = 'Call For Pick Up Or Delivery'; 818 } 819 820 if(typeof btnText !== "undefined"){ // check if pick up or delivery are true 821 if(config.shopping_cart_type == "TMT" && config.shopping_cart_active == true) { 822 var btnText = 'ORDER NOW'; 823 if($('.food-menu-nav').length){ //new template 824 var textColor = rgb2hex($('.section-header').css('color')); 825 var linkColor = rgb2hex($('.food-menu-nav-item.active').css('background-color')); 826 var fontSize = parseInt($('.food-menu-nav-item').css('font-size')); 827 fontSize = fontSize + Math.round(fontSize * 0.25); 828 } 829 else { //old template 830 var textColor = rgb2hex($('.menu-item-name-traditional').css('color')); 831 var linkColor = rgb2hex($('.style-traditional .tabnav .nav>
831li.active>a').css('color')); 832 833 var linkTextColor = getContrast50(linkColor); 834 var fontSize = parseInt($('.menu-item-name-traditional').css('font-size')); 835 fontSize = fontSize + Math.round(fontSize * 0.25); 836 } 837 show_corona_instructions('For online orders, use our own <a style="text-decoration:underline;color: '+textColor+';" href="https://tmt.spotapps.co/ordering-menu/?spot_id='+config.spot_id+'&images=yes&accordion=true#"> commission free ordering platform! </a> or call:', config.food_page_instruction_phone, btnText); 838 show_corona_sidebar_instructions(btnText, config.food_page_instruction_phone); 839 } else { 840 show_corona_instructions(config.food_page_instruction_text, config.food_page_instruction_phone, btnText); 841 show_corona_sidebar_instructions(btnText, config.food_page_instruction_phone); 842 } 843 844 } 845 } 846 } 847 } 848 849 850 if (is_food_menu_page() && !window.location.search.includes("contactless=true")){ 851 $( document ).ready(function() { 852 setTimeout(function(){ 853 check_corona_config(corona_config); 854 }, 300); 855 }); 856 } 857 858 859 860 function isPhone(phone){ 861 var regex = /^(\+\d{1,2}\s?)?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4}$/; 862 return regex.test(phone); 863 } 864 865 function sendEmail_MT (input_id) { 866 const $loader = $("[data-id=newsletter-widget-2] .sph-loading-img"); 867 868 const $step = { 869 form: $("[data-id=newsletter-widget-2] .sph-email-form"), 870 message: $("[data-id=newsletter-widget-2] .sph-response-message"), 871 } 872 873 const $field = { 874 email: $("[data-id=newsletter-widget-2] #sph-newsletter-input-" + input_id), 875 phone: $("[data-id=newsletter-widget-2] #sph-newsletter-phone-" + input_id), 876 consent: $("[data-id=newsletter-widget-2] #sph-newsletter-checkbox-phone-" + input_id), 877 }; 878 879 const $error = { 880 email: $("[data-id=newsletter-widget-2] #sph-newsletter-email-error-" + input_id), 881 phone: $("[data-id=newsletter-widget-2] #sph-newsletter-phone-error-" + input_id), 882 }; 883 884 if ($field.email.val().trim() === "") { 885 $error.email 886 .html("This field is required") 887 .show(); 888 } 889 else if (!isEmail($field.email.val().trim())) { 890 $error.email 891 .html("Please use the format â[email protected]â") 892 .show(); 893 } else { 894 $error.email 895 .html("") 896 .hide(); 897 } 898 899 if ($field.consent.is(':checked') && $field.phone.val().trim() === "") { 900 $error.phone 901 .html("This field is required") 902 .show(); 903 } else if ($field.phone.val().trim().length > 0 && !isPhone($field.phone.val().trim())) { 904 $error.phone 905 .html("The phone number must contain 10 digits") 906 .show(); 907 } else { 908 $error.phone 909 .html("") 910 .hide(); 911 } 912 913 const errorField = $step.form.find('.sh-form-error:visible'); 914 915 if (errorField.length > 0) { 916 const input = errorField.first().next(); 917 918 document.activeElement.blur(); 919 920 setTimeout(() => { 921 input.focus(); 922 }, 160) 923 924 return; 925 } 926 927 $loader 928 .show() 929 .prev() 930 .hide(); 931 932 $.ajax({ 933 method: "POST", 934 url: "https://www.spothopperapp.com/api/spots/120727/contacts/add_with_texting_permission", 935 crossDomain: true, 936 dataType: 'json', 937 data: { 938 email: $field.email.val().trim(), 939 phone: $field.phone.val().trim(), 940 texting_permission: $field.consent.is(':checked'), 941 }, 942 success: function (data) { 943 afterRequestSubmission(data); 944 }, 945 error: function () { 946 afterRequestSubmission("Something went wrong. Please try again later."); 947 } 948 }); 949 950 function afterRequestSubmission (data) { 951 $step.form.hide(); 952 953 $step.message 954 .html(data) 955 .show() 956 .trigger('focus'); 957 } 958 } 959</script>
959<script>function addPromotionParamsToTMTLinks() 960{ 961 if (sessionStorage.getItem('shUrlParams')) { 962 let shParams = JSON.parse(sessionStorage.getItem('shUrlParams')); 963 if (!Object.keys(shParams).length) 964 return; 965 if(!shParams.source) 966 return; 967 $('a').each(function () { 968 if (this.href.includes('tmt.spotapps.co')) { 969 if(this.href.includes('&source=') || this.href.includes('&destination=') || this.href.includes('&promotion=')) 970 return; 971 972 this.href = this.href + '&source=' + shParams.source; 973 if(shParams.destination) 974 this.href = this.href + '&destination=' + shParams.destination; 975 if(shParams.promotion) 976 this.href = this.href + '&promotion=' + shParams.promotion; 977 if(shParams.fb_post_id) 978 this.href = this.href + '&fb_post_id=' + shParams.fb_post_id; 979 if(shParams.email_post_id) 980 this.href = this.href + '&email_post_id=' + shParams.email_post_id; 981 } 982 }) 983 } 984} 985setTimeout(function() { 986 addPromotionParamsToTMTLinks(); 987 addFooterToSourceParam(); 988},600) 989 990function addFooterToSourceParam() 991{ 992 $('.bottom-link').each(function (){ 993 if(shouldAddSourceParam(this.href)) 994 this.href = this.href + '&source=footer'; 995 }) 996 $('#sh-multiple-links-content-holder a').each(function (){ 997 if(shouldAddSourceParam(this.href)) 998 this.href = this.href + '&source=footer'; 999 }) 1000} 1001function shouldAddSourceParam(link){ 1002 if (link.includes('tmt.spotapps.co') && !link.includes('&source=')){ 1003 return true; 1004 } 1005 return false; 1006} 1007</script>
1007<script> 1008;(async () => { 1009if (typeof window.focusTrap === 'undefined') { 1010 await getScript('https://unpkg.com/tabbable/dist/index.umd.js'); 1011 await getScript('https://unpkg.com/focus-trap/dist/focus-trap.umd.js'); 1012} 1013 1014document.querySelectorAll('.modal').forEach((element) => { 1015 const trap = window.focusTrap?.createFocusTrap(element, { 1016 allowOutsideClick: true, 1017 }); 1018 1019 $(element).on('shown.bs.modal', () => { 1020 trap?.activate(); 1021 }); 1022 1023 $(element).on('hidden.bs.modal', () => { 1024 trap?.deactivate(); 1025 }); 1026}); 1027 1028async function getScript (source) { 1029 return new Promise((resolve, reject) => { 1030 const script = document.createElement('script'); 1031 script.src = source; 1032 script.async = true; 1033 1034 script.onload = resolve; 1035 script.onerror = reject; 1036 1037 document.head.appendChild(script); 1038 }); 1039} 1040})(); 1041</script>
1041<script src="https://wcache-plugins.spotapps.co/production/wcpl_bootstrap_ada_fix/wcpl_bootstrap_ada_fix.js"></script>
1041<link href="https://wcache-plugins.spotapps.co/production/wcpl_bday_club/wcpl_bday_club.css" rel="stylesheet" media="screen"/>
1041<script src="https://wcache-plugins.spotapps.co/production/wcpl_bday_club/wcpl_bday_club.js"></script>
1041<script src="https://wcache-plugins.spotapps.co/production/wcpl_ga_tracking/wcpl_ga_tracking.js"></script>
1041<script src="https://wcache-plugins.spotapps.co/production/wcpl_media_controls/script.js"></script>
1041<link href="https://wcache-plugins.spotapps.co/production/wcpl_website_editor_interpreter/website_interpreter_helper_style.css" rel="stylesheet" media="screen"/>
1041<script>var changes_log_array = {};</script>
1041<script src="https://wcache-plugins.spotapps.co/production/wcpl_website_editor_interpreter/website_interpreter.js"></script>
1041</body></html>
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.