1 2 3 4 5 6<!DOCTYPE html> 7<!-- [if IE 8]><html class="ie ie8"> <![endif] --> 8<!--[if IE 9]><html class="ie ie9"> <![endif]--> 9<!--[if gt IE 9]><!--> 10<html> 11<!--<![endif]--> 12 13<head>
14<script defer data-domain="activitymaui.com" src="https://plausible.io/js/script.js"></script>
14 15 16 17<!-- Google Tag Manager -->
18<script>
vendor: 327 bytes, lines 18-22
18(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 19new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 20j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 21'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 22})(window,document,'script','dataLayer','
22GTM-W9R3HBH
vendor: 3 bytes, line 22
22');
22</script>
22 23<!-- End Google Tag Manager --> 24 25 26 <title> Activity Maui 27</title> 28 29 30 <meta charset="utf-8"> 31 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 32 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2, user-scalable=0"> 33 <meta name="mobile-web-app-capable" content="yes"> 34 <meta name="apple-mobile-web-app-capable" content="yes"> 35 36 <meta property="og:locale" content="en_US" /> 37 <meta property="og:url" content="https://activitymaui.com/customer/login" /> 38 <meta property="og:site_name" content="Activity Maui" /> 39 40 <meta property="fb:app_id" content="1831103670451841" /> 41 42 43 <link rel="manifest" href="/manifest.json"> 44 45 46 47 <!-- Favicons--> 48 <link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon"> 49 <link rel="apple-touch-icon" type="image/x-icon" href="/img/logo/48x48.png"> 50 <link rel="apple-touch-icon" type="image/x-icon" sizes="72x72" href="/img/logo/128x128.png"> 51 <link rel="apple-touch-icon" type="image/x-icon" sizes="114x114" href="/img/logo/128x128.png"> 52 <link rel="apple-touch-icon" type="image/x-icon" sizes="144x144" href="/img/logo/128x128.png"> 53 54 <!--[if lt IE 9]> 55
55<script src="/js/html5shiv.min.js"></script>
55 56
56<script src="/js/respond.min.js"></script>
56 57 <![endif]--> 58 59
59<script src="/js/loadcss.js"></script>
59 60
60<script src="/js/preloadcss.js"></script>
60 61 62 63<link rel="preload" href="/icon/flaticon/font/flaticon.css" as="style" onload="this.rel='stylesheet'"> 64<link rel="preload" href="/icon/icomoon/style.css" as="style" onload="this.rel='stylesheet'"> 65<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/remodal/1.0.6/remodal.css" as="style" onload="this.rel='stylesheet'"> 66<link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/remodal/1.0.6/remodal-default-theme.css" as="style" onload="this.rel='stylesheet'"> 67<link rel="preload" href='//fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css' as="style" onload="this.rel='stylesheet'"> 68<link rel="preload" href='//fonts.googleapis.com/css?family=Gochi+Hand' rel='stylesheet' type='text/css' as="style" onload="this.rel='stylesheet'"> 69<link rel="preload" href='//fonts.googleapis.com/css?family=Lato:300,400' rel='stylesheet' type='text/css' as="style" onload="this.rel='stylesheet'"> 70 71 <link rel="preload" href='/theme/tours/css/fontello/css/fontello.css' rel='stylesheet' type='text/css' as="style" onload="this.rel='stylesheet'"> 72<link rel="preload" href='/theme/tours/css/fontello/css/icon_set_1.css' rel='stylesheet' type='text/css' as="style" onload="this.rel='stylesheet'"> 73 <link rel="preload" href='/theme/tours/css/fontello/css/icon_set_2.css' rel='stylesheet' type='text/css' as="style" onload="this.rel='stylesheet'"> 74 75 76<link href="https://activitymaui.com/theme/tours/css/bundle.min.css" media="all" type="text/css" rel="stylesheet"> 77 78 79 80<noscript> 81 <link rel="stylesheet" href="/icon/flaticon/font/flaticon.css"> 82 <link rel="stylesheet" href="/icon/icomoon/style.css"> 83 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/remodal/1.0.6/remodal.css"> 84 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/remodal/1.0.6/remodal-default-theme.css"> 85 <!-- Google web fonts --> 86 <link href='//fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'> 87 <link href='//fonts.googleapis.com/css?family=Gochi+Hand' rel='stylesheet' type='text/css'> 88 <link href='//fonts.googleapis.com/css?family=Lato:300,400' rel='stylesheet' type='text/css'> 89 <link href="https://activitymaui.com/theme/tours/css/bundle.min.css" media="all" type="text/css" rel="stylesheet"> 90 91</noscript> 92 <!-- icons --> 93 94 95 <!-- <link href="/theme/tours/rs-plugin/css/settings.css" rel="stylesheet"> --> 96 <!-- <link href="/theme/tours/css/extralayers.css" rel="stylesheet"> --> 97 <!-- <link rel="stylesheet" href="/css/styles.css"> --> 98 99 <style> 100 /*#preloader { display: none; }*/ 101 output { display: none; } 102 </style> 103 104<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/tipped/4.0.10/css/tipped/tipped.css"> 105 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tooltipster/3.3.0/css/tooltipster.css"> 106 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tooltipster/3.3.0/css/themes/tooltipster-light.css"> 107 --> 108 109 110<style> 111 112 .twitter-typeahead { 113 width: 100%; 114 } 115 116 .tt-input { 117 width: 100% !important; 118 } 119 120 .tt-menu { 121 width: 100% !important; 122 background-color: white; 123 overflow-y: auto; 124 /*max-height: 500px;*/ 125 box-shadow: 0 6px 12px rgba(0,0,0,.175); 126 } 127 128 .tt-suggestion { 129 border-bottom: 1px solid #ededed; 130 position: relative; 131 margin: 0; 132 padding: 5px 10px 10px; 133 width: 100%; 134 display: inline-block; 135 } 136 137 .tt-suggestion .image { 138 border: 1px solid #ddd; 139 overflow: hidden; 140 float: left; 141 margin-right: 10px; 142 width: 69px; 143 height: auto; 144 } 145 146 .tt-suggestion img { 147 padding: 1px; 148 width: 69px; 149 height: auto; 150 } 151 152 .tt-suggestion strong { 153 font-weight: 400; 154 color: #999; 155 margin-top: 0px; 156 float: left; 157 width: 120px; 158 line-height: 14px; 159 } 160 161 .tt-suggestion .rating { 162 font-size: 10px; 163 float:right; 164 } 165 166 .tt-suggestion .rating small { 167 font-size: 9px; 168 } 169 170 .tt-dataset h3 { 171 margin: 0px; 172 color: white; 173 padding: 1em; 174 font-weight: bold; 175 margin-bottom: .5em; 176 background-color: #E45569; 177 font-size: 14px; 178 } 179 180 strong.tt-highlight { 181 float:none; 182 color: darkred; 183 } 184 185 .tt-cursor { 186 background-color: #d9edf7; 187 } 188 189 .dropdown-categories { 190 padding:0px !important; 191 width:auto !important; 192 margin-top: 11px !important; 193 } 194 195.dropdown-categories li { 196 line-height: 20px; 197 /*padding: 5px !important;*/ 198 font-size: 12px; 199 color: #666 !important ; 200 border-bottom: 1px solid #ededed; 201 display: block; 202 width:100%; 203 } 204 205 .dropdown-categories li a { 206 line-height: 20px; 207 padding: 10px !important; 208 font-size: 12px; 209 color: #666 !important ; 210 } 211 212</style> 213 214 215 <style> 216 @media (max-width: 768px) { 217 .tp-banner-container { display: none; } 218 .container.margin_60 { padding-top: 60px !important; } 219 #plain { background-color: #eee } 220 } 221 222 .btn-book { padding: 0px 10px !important; float:right; min-width: 0px !important; } 223 224 .short_info { 225 /*padding: 0px !important;*/ 226 padding-bottom: 4px; 227 } 228 229 .short_info_content { 230 /*position: absolute;*/ 231 /*bottom:2px;*/ 232 /*padding-bottom: 4px;*/ 233 } 234 235 html { 236 background: url('/img/background/beach-blurry-crop.jpg') no-repeat center center !important; 237 -webkit-background-size: cover; 238 -moz-background-size: cover; 239 -o-background-size: cover; 240 background-size: cover !important; 241 height:100%; 242 } 243 244 body { 245 background: none; 246 } 247 248 #hero.login { 249 background: none; 250 /*background-size: cover !important;*/ 251 } 252 253 header#plain { 254 display: none; 255 } 256 257 footer { 258 display: none; 259 } 260 261 262 #login { 263 margin-top: 70px; 264 } 265 </style> 266 267<!-- utility functions --> 268
269<script> 270function createFunctionWithTimeout(callback, opt_timeout) { 271 var called = false; 272 function fn() { 273 if (!called) { 274 called = true; 275 callback(); 276 } 277 } 278 setTimeout(fn, opt_timeout || 1000); 279 return fn; 280} 281 282// ga('send', 'event', 'Signup Form', 'submit', { 283// hitCallback: createFunctionWithTimeout(function() { 284// form.submit(); 285// }) 286// }); 287 288</script>
288 289 290 <!-- Production --> 291
291<script type="text/javascript"> 292 // window.heap=window.heap||[],heap.load=function(e,t){window.heap.appid=e,window.heap.config=t=t||{};var n=t.forceSSL||"https:"===document.location.protocol,a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=(n?"https:":"http:")+"//cdn.heapanalytics.com/js/heap-"+e+".js";var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(a,o);for(var r=function(e){return function(){heap.push([e].concat(Array.prototype.slice.call(arguments,0)))}},p=["clearEventProperties","identify","setEventProperties","track","unsetEventProperty"],c=0;c<p.length;c++)heap[p[c]]=r(p[c])}; 293 // heap.load("1392878741");
vendor: 361 bytes, lines 293-300
293 294 295 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 296 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 297 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 298 })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 299 300 ga('create', '
300UA-46389910-1
vendor: 10 bytes, lines 300-301
300'); 301
301ga('require', 'ec'); 302 </script>
302 303 304 <!-- Hotjar Tracking Code for http://activitymaui.com --> 305 <!--
305<script>
vendor: 131 bytes, lines 305-308
305 306 (function(h,o,t,j,a,r){ 307 h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; 308 h._hjSettings={hjid:
308526064
vendor: 264 bytes, lines 308-314
308,hjsv:5}; 309 a=o.getElementsByTagName('head')[0]; 310 r=o.createElement('script');r.async=1; 311 r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; 312 a.appendChild(r); 313 })(window,document,'//static.hotjar.com/c/hotjar-','.js?sv='); 314
314</script>
314 --> 315 316
317<script> 318ga('set','transport','beacon'); 319</script>
319 320
321<script src="https://cdn.useinfluence.co/static/influence-analytics.js?trackingId=INF-44ei5rtk5pwrng9" defer></script>
321 322 323</head> 324 325<body> 326<!-- Google Tag Manager (noscript) -->
vendor: 68 bytes, lines 326-327
326 327<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=
327GTM-W9R3HBH
vendor: 83 bytes, lines 327-328
327" 328height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
329<!-- End Google Tag Manager (noscript) --> 330 331<!--[if lte IE 8]> 332 <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a>.</p> 333<![endif]--> 334 335 336 <div id="preloader"> 337 <div class="sk-spinner sk-spinner-wave"> 338 <div class="sk-rect1"></div> 339 <div class="sk-rect2"></div> 340 <div class="sk-rect3"></div> 341 <div class="sk-rect4"></div> 342 <div class="sk-rect5"></div> 343 </div> 344 </div> 345 <!-- End Preload --> 346 347 <div class="layer"></div> 348 <!-- Mobile menu overlay mask --> 349 350 <!-- Header================================================== --> 351 <header id="plain" class="sticky"> 352 353 <!-- End top line--> 354 <div class="container"> 355 <div class="row"> 356 <div class="col-md-3 col-sm-3 col-xs-3"> 357 <div id="logo"> 358 <a href="/"> 359 <img src="https://activitymaui.imgix.net/img/logo-horizontal.png" width="" height="45" alt="Activity Maui" data-retina="true" class="logo_normal"> 360 </a> 361 <a href="/"> 362 <img src="https://activitymaui.imgix.net/img/logo-horizontal.png" width="" height="45" alt="Activity Maui" data-retina="true" class="logo_sticky"> 363 </a> 364</div> 365 </div> 366 <nav class="col-md-9 col-sm-9 col-xs-9"> 367 <ul id="top_tools" style="padding:0px; padding-top:3px;text-align: right;margin-right:0px;" > 368 <li> 369 <div class="dropdown dropdown-cart" style="float:none;"> 370 <a href="#" class="dropdown-toggle" data-toggle="dropdown"> 371 <i class="icon-menu"></i> 372 <span class="name"> 373 374 <span class="last">Menu</span> 375 </span> 376 </a> 377 <ul class="dropdown-menu dropdown-categories" style="text-align:left;"> 378 <li><a data-category="All" href="https://activitymaui.com/tour/list" data-type="category">All Tours</a></li> 379 <li><a data-category="luau_and_shows" href="https://activitymaui.com/category/luau_and_shows" data-type="category" rel="nofollow"><i class="icon-noun_81953"></i> Luaus</a></li> 380 381 <li><a data-category="snorkel_and_diving" href="https://activitymaui.com/category/snorkel_and_diving" data-type="category" rel="nofollow"><i class="flaticon-icon-87571"></i> Snorkel</a></li> 382 <li><a data-category="helicopter" href="https://activitymaui.com/category/helicopter" data-type="category" rel="nofollow"><i class="flaticon-icon-90889"></i> Helicopter</a></li> 383 <li><a data-category="zipline" href="https://activitymaui.com/category/zipline" data-type="category" rel="nofollow"><i class="icon-noun_14872_cc"></i> Zipline</a></li> 384 <li><a data-category="sunset_cruise" href="https://activitymaui.com/category/sunset_cruise" data-type="category" rel="nofollow"><i class="icon-noun_379774"></i> Sunset and Dinner</a></li> 385 <li><a data-category="scenic_tour" href="https://activitymaui.com/category/scenic_tour" data-type="category" rel="nofollow"><i class="icon_set_1_icon-26"></i> Scenic Tour</a></li> 386 <li><a data-category="downhill_biking" href="https://activitymaui.com/category/downhill_biking" data-type="category" rel="nofollow"><i class="icon_set_1_icon-40"></i> Downhill Biking</a></li> 387 <li><a data-category="hiking" href="https://activitymaui.com/category/hiking" data-type="category" rel="nofollow"><i class="icon_set_1_icon-30"></i> Hiking</a></li> 388 <li><a data-category="whale_watching" href="https://activitymaui.com/category/whale_watching" data-type="category" rel="nofollow"><i class="flaticon-sea"></i> Whale Watching</a></li> 389 <li><a data-category="adventure" href="https://activitymaui.com/category/adventure" data-type="category" rel="nofollow"><i class="flaticon-summer-1"></i> Fun and Adventure</a></li> 390 </ul> 391 </div> 392 </li> 393 <li> 394 <div class="dropdown dropdown-search" style="float:none;"> 395 <a href="#" class="dropdown-toggle" data-toggle="dropdown"> 396 <i class="icon-search"></i>
397 <span class="name"> 398 399 <span class="last">Search</span> 400 </span> 401 </a> 402 <div class="dropdown-menu" style="width:300px;margin-top:11px;"> 403 <div class="input-group" style="width:100%;"> 404 <div id="multiple-datasets"> 405 <input id="lookup" class="typeahead" type="text" placeholder="Search..."> 406 </div> 407 </div> 408 </div> 409 </div> 410 </li> 411 <li> 412 <a href="/blog" class="" data-toggle=""> 413 <i class="icon-book"></i> 414 <span class="name"> 415 416 <span class="last">Blog</span> 417 </span> 418 </a> 419 </li> 420 <li style="margin-top: 4px;"> 421 <style> 422 ul#cart_items li strong { 423 margin-top: 0px; 424 } 425 426 ul#cart_items li a { 427 padding: 0px; 428 } 429 430</style> 431 432<div class="dropdown dropdown-cart" style="float:none;"> 433 <a href="#" id="user_menu" class="dropdown-toggle " data-toggle="dropdown"> 434 <i class="icon-user-6"></i> 435 </a> 436 437 <ul class="dropdown-menu" id="cart_items" style="margin-top:7px;"> 438 <li> 439 <p style="margin-bottom:0px;"><i class="icon-info"></i> When you book tours, they will show up here.</p> 440 </li> 441 <li> 442 <a href="http://activitymaui.com/customer/login" class="button_drop">Login</a> 443 <a href="https://activitymaui.com/tour/list" class="button_drop outline">View Tours</a> 444 </li> 445 </ul> 446</div> 447 448 449 450
451<script> 452 453// console.log('session count '); 454var $first_visit = false; 455 456var $customer_id = null; 457</script>
457 </li> 458 </ul> 459 </nav> 460 </div> 461 </div> 462 <!-- container --> 463 464 </header><!-- End Header --> 465 466 467 468 <section id="hero" class="login"> 469 <div class="container"> 470 <div class="row"> 471 <div class="col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3"> 472 <div id="login"> 473 <div class="text-center"> 474 <img src="/theme/tours/img/activitymaui.png" alt="" data-retina="true" > 475 </div> 476 477 <hr> 478 <form method="post" action="/customer/login"> 479 <div class="row"> 480 <p>We are here to make your trip awesome! Please log in with your last name and email address.</p> 481 <div class="form-group"> 482 <label>Last Name</label> 483 <input name="lastname" type="text" class=" form-control " placeholder=""> 484 </div> 485 <div class="form-group"> 486 <label>Email Address</label> 487 <input name="email" type="email" class=" form-control" placeholder=""> 488 </div> 489 <button type="submit" class="btn_full">Sign in</button> 490 491 492 <p class="small"> 493 Don't want to login? <a href="https://activitymaui.com/tour/list">View the activities.</a> 494 </p> 495 496 <!-- <a href="register.html " class="btn_full_outline">Browse Activities</a> --> 497 </div> <!-- end row --> 498 499 </div> 500 </div> 501 </div> 502 </section> 503 504 <footer> 505 <div class="container"> 506 <div class="row"> 507 <div class="col-md-4 col-sm-3 col-xs-6"> 508 <h3>Need help?</h3> 509 <a href="mailto:[email protected]" data-type="email" id="email_footer">[email protected]</a> 510 <a href="#" class="chat-button" data-type="chat" id="chat_footer">Chat with us!</a> 511 </div> 512 <div class="col-md-4 col-sm-3 col-xs-6"> 513 <h3>Tours</h3> 514 515 <a href="https://activitymaui.com/category/luau_and_shows" data-category="luau_and_shows" data-type="category" rel="nofollow">Luaus</a><br> 516 <a href="https://activitymaui.com/category/snorkel_and_diving" data-category="snorkel_and_diving" data-type="category" rel="nofollow">Snorkel</a><br> 517 <a href="https://activitymaui.com/category/helicopter" data-category="helicopter" data-type="category" rel="nofollow">Helicopter</a><br> 518 <a href="https://activitymaui.com/category/zipline" data-category="zipline" data-type="category" rel="nofollow">Zipline</a><br> 519 <a href="https://activitymaui.com/category/sunset_cruise" data-category="sunset_cruise" data-type="category" rel="nofollow">Sunset and Dinner</a><br> 520 <a href="https://activitymaui.com/category/scenic_tour" data-category="scenic_tour" data-type="category" rel="nofollow">Scenic Tour</a><br> 521 <a href="https://activitymaui.com/category/downhill_biking" data-category="downhill_biking" data-type="category" rel="nofollow">Downhill Biking</a><br> 522 <a href="https://activitymaui.com/category/hiking" data-category="hiking" data-type="category" rel="nofollow">Hiking</a><br> 523 <a href="https://activitymaui.com/category/whale_watching" data-category="whale_watching" data-type="category" rel="nofollow">Whale Watching</a><br> 524 <a href="https://activitymaui.com/category/adventure" data-category="adventure" data-type="category" rel="nofollow">Fun and Adventure</a><br> 525 </div> 526 <div class="col-md-4 col-sm-6 col-xs-12"> 527 <h3>About Us</h3> 528 <p>Activity Maui was created with YOU in mind. You came all this way to have a <b>good time</b> and we want you to come back! <a style="color:#EAE4A0" href="http://activitymaui.com/about">Find out more.</a></p> 529 <h3>The Fine Print</h3> 530 <p>We care about both your privacy and security. You information will never be used for any purpose other than booking activities. All transactions are encrypted using SSL.</p> 531 </div> 532 </div><!-- End row --> 533 <div class="row" > 534 <div class="col-md-12"> 535 <div id="social_footer"> 536 <ul class="hidden"> 537 <li><a href="#"><i class="icon-facebook"></i></a></li> 538 <li><a href="#"><i class="icon-twitter"></i></a></li> 539 <li><a href="#"><i class="icon-google"></i></a></li> 540 <li><a href="#"><i class="icon-instagram"></i></a></li> 541 <li><a href="#"><i class="icon-pinterest"></i></a></li> 542 <li><a href="#"><i class="icon-vimeo"></i></a></li> 543 <li><a href="#"><i class="icon-youtube-play"></i></a></li> 544 <li><a href="#"><i class="icon-linkedin"></i></a></li> 545 </ul> 546 <p>© Activity Maui 2016</p> 547 </div> 548 </div> 549 </div><!-- End row --> 550 </div><!-- End container --> 551 </footer><!-- End footer --> 552 553<div id="toTop"></div><!-- Back to top button --> 554<div id="overlay"></div> 555 556 557
557<script> 558 var impressions = []; // holds the GA impressions for WOW 559 </script>
559 560 <!--
560<script src="/theme/bb/js/prefixfree.min.js"></script>
560 --> 561 <!-- Common scripts --> 562
562<script src="/theme/tours/js/jquery-1.11.2.min.js"></script>
562 563
563<script src="https://cdnjs.cloudflare.com/ajax/libs/unveil/1.3.0/jquery.unveil.min.js"></script>
563 564
564<script src="/theme/tours/js/common_scripts_min.js"></script>
564 565
565<script src="/theme/tours/js/functions.js"></script>
565 566 567 568
568<script> 569 $(document).ready(function() { 570 // this is a total hack to get the menu lined up properly 571 var adjust = 40; 572 if($('span.name').length == 0) 573 $('span.main-menu li.submenu').css('margin-right', 29); 574 else 575 $('span.main-menu').css('margin-right', parseInt($('span.name').width()) + 40) 576 577 $(window).resize(function(){ 578 if($('span.name').length == 0) 579 $('span.main-menu li.submenu').css('margin-right', 29); 580 else 581 $('span.main-menu').css('margin-right', parseInt($('span.name').width()) + 40) 582 }); 583 }); 584 </script>
584 585 586
586<script src="https://cdnjs.cloudflare.com/ajax/libs/remodal/1.0.6/remodal.js"></script>
586 587
587<script> 588 $(document).ready(function() { 589 $('.remodal').remodal({ 590 closeOnOutsideClick: true, 591 // closeOnEscape: false, 592 closeOnCancel: true, 593 hashTracking: false 594 }); 595 596 // workaround - for some reason remodal event handler not working unless we do this.... 597 $('a[data-remodal-target]').click(function(e){return;}) 598 599 // if($first_visit) { 600 // var welcomeMsg = $('#welcome_message').remodal(); 601 // welcomeMsg.open(); 602 // } 603 604 }); 605 606 </script>
606 607 608 <!--
608<script src="https://cdnjs.cloudflare.com/ajax/libs/tooltipster/3.3.0/js/jquery.tooltipster.js"></script>
608 --> 609
609<script> 610 $(document).ready(function() { 611 // $('#user_menu').tooltipster({ 612 // theme: 'tooltipster-light', 613 // content: $('<span>You will find your tours here!</span>') 614 // }); 615 // $('#user_menu').tooltipster('show'); 616 }); 617 </script>
617 618 619 620 <!--
620<script src="https://cdn.jsdelivr.net/tipped/4.0.10/js/tipped/tipped.js"></script>
620 --> 621 622
622<script> 623 // Tipped.create("#user_menu", "You will find your bookings here!", { 624 // skin: 'light', 625 // position: 'bottomleft', 626 // close: true, 627 // hideOn: false, 628 // onShow: function(content, element) { 629 // console.log('tooptip shown') 630 // $(element).addClass('glow-background'); 631 // }, 632 // afterHide: function(content, element) { 633 // console.log('tooptip hidden') 634 // $(element).removeClass('glow-background'); 635 // } 636 // }); 637 // Tipped.toggle("#user_menu"); 638 </script>
638 639
640<script type="text/javascript"> 641 642</script>
642 643 644<!-- chat widget --> 645<!-- Chatra {literal} !Config::get('application.testing') -->
646<script> 647 $(window).load(function(){ 648 console.log('loading chatra widget'); 649 ChatraID = 'Qe9bxqSJy3MKwMiKB'; 650 (function(d, w, c) { 651 var n = d.getElementsByTagName('script')[0], 652 s = d.createElement('script'); 653 w[c] = w[c] || function() { 654 (w[c].q = w[c].q || []).push(arguments); 655 }; 656 s.async = true; 657 s.src = (d.location.protocol === 'https:' ? 'https:': 'http:') 658 + '//call.chatra.io/chatra.js'; 659 n.parentNode.insertBefore(s, n); 660 })(document, window, 'Chatra'); 661 662 663 // if($customer_id) { 664 // Chatra('setIntegrationData', $customer_info); 665 // } 666 667 window.ChatraSetup = { 668 startHidden: true 669 }; 670 671 $(function () { 672 // Bind event on button click 673 $('.chat-button').on('click', function() { 674 console.log('opening chat button'); 675 // Open chat and focus input field 676 Chatra('show'); 677 Chatra('openChat', true); 678 }); 679 }); 680 }); 681</script>
681 682<!-- /Chatra {/literal} --> 683 684
684<script src="https://cdnjs.cloudflare.com/ajax/libs/corejs-typeahead/1.1.1/typeahead.bundle.min.js"></script>
684 685
686<script type="text/javascript"> 687 688 var categories = new Bloodhound({ 689 datumTokenizer: Bloodhound.tokenizers.obj.whitespace('name'), 690 queryTokenizer: Bloodhound.tokenizers.whitespace, 691 remote: { 692 url: '/api/search/categories?q=%QUERY', 693 wildcard: '%QUERY' 694 } 695 }); 696 697 var tours = new Bloodhound({ 698 datumTokenizer: Bloodhound.tokenizers.obj.whitespace('tour_name'), 699 queryTokenizer: Bloodhound.tokenizers.whitespace, 700 remote: { 701 url: '/api/search/tours?q=%QUERY', 702 wildcard: '%QUERY' 703 } 704 }); 705 706 $(document).ready(function() { 707 console.log('right before typeahead'); 708 709 $('#multiple-datasets .typeahead').typeahead({ 710 highlight: false, 711 minLength: 3 712 }, 713 { 714 name: 'categories', 715 display: 'category', 716 source: categories, 717 templates: { 718 header: '<h3 class="result-type">Categories</h3>', 719 suggestion: function(obj) { 720 console.log('in suggestion function',obj); 721 return obj.result; 722 // return '<div class="search-result"><a href="http://staging.activitymaui.com/booking/confirmation/883/5715d6e0cfa1b"> <div class="image"><img src="//activitymaui.com/img/tour/thumbs/list/57d4b2fc3c7a0.jpg" alt=""></div></a><strong><a href="http://staging.activitymaui.com/booking/confirmation/883/5715d6e0cfa1b">Road To Hana</a><br><span style="font-size:10px;">Miles of twisty turns in the tropical jungle<span></div>'; 723 } 724 } 725 }, 726 { 727 name: 'tours', 728 display: 'tour_name', 729 source: tours, 730 templates: { 731 header: '<h3 class="result-type">Tours</h3>', 732 // suggestion: booking_template 733 suggestion: function(obj) { 734 console.log('in suggestion function',obj); 735 return obj.result; 736 // return '<div class="search-result">' + obj.customer_name + ' <sup>#' + obj.id + '</sup><span class="label label-' + obj.label + ' pull-right">' + obj.status + '</span><br><i class="' + obj.icon + ' category_icon"></i> ' + obj.tour_name + '<span class="pull-right">' + obj.tour_date + '</span><br>' + obj.passenger_list + '</div>'; 737 } 738 } 739 } 740 ); 741 742 $('.typeahead').bind('typeahead:select', function(ev, suggestion) { 743 console.log('Selection: ' + suggestion, ev, suggestion); 744 window.location.href = suggestion.url; 745 }); 746 747 }); 748 749 $('.dropdown-search a').click(function(event) { 750 console.log('search button clicked'); 751 setTimeout(function() {console.log('timeout: set focus'); $('#lookup').focus();}, 100); 752 $('.tt-menu').css('max-height',window.innerHeight - 150); 753 // $('#lookup').focus(); 754 // $('#lookup').css('display', 'none'); 755 }); 756 757 $('#lookup').keyup(function(event) { 758 console.log('keyup happend',event); 759 }); 760 761 $('#lookup').blur(function(event) { 762 console.log('blur event happened',event); 763 setTimeout(function() {console.log('timeout: display results'); $('.tt-menu').css('display', 'block');}, 100); 764 // $('.tt-menu').css('display', 'block'); 765 }); 766</script>
766 767 768 769 770 771</body> 772 773 774</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.