1 2 3 4 5 6 7 8 9 10 11 12 13 <!DOCTYPE html> 14 <html lang="en" class="smrt-frida smrt-en "> 15 <head> 16 <!-- <S_tpl_frida_styles --> 17<link rel="apple-touch-icon" href="//www.coralbeach.es/files-sbbasic/sr_coralbeach_es/logo/_logo-img_aparthotel-coral-beach-marbella.png"> 18<link rel="shortcut icon" href="//www.coralbeach.es/files-sbbasic/sr_coralbeach_es/logo/favicon.png"> 19<link rel="image_src" href="//www.coralbeach.es/files-sbbasic/sr_coralbeach_es/logo/_aparthotel-coral-beach-marbella.png"> 20 21<link rel="stylesheet" type="text/css" media="all" href="//d3l592tomi1h4y.cloudfront.net/font-awesome-new/last/stylesheet.min.css?d=2026_10_04"> 22<link rel="stylesheet" type="text/css" media="all" href="//d3l592tomi1h4y.cloudfront.net/bookassist-icons/last/stylesheet.min.css?d=2026_10_04"> 23<link rel="stylesheet" type="text/css" media="all" href="//d3l592tomi1h4y.cloudfront.net/fonts/smart-icons/last/stylesheet.min.css?d=2026_10_04"> 24<link rel="stylesheet" type="text/css" media="all" href="//d3l592tomi1h4y.cloudfront.net/piconsthin-bookassist/last/stylesheet.min.css?d=2026_10_04"> 25<link rel="stylesheet" type="text/css" media="all" href="//d3l592tomi1h4y.cloudfront.net/jquery.ui/1.11.2/themes/smoothness/jquery-ui.min.css?d=2026_10_04"> 26 27<link rel="stylesheet" type="text/css" media="all" href="/fonts/css-font-agnext-regular.css?v=1" /> 28<link rel="stylesheet" type="text/css" media="all" href="/fonts/css-font-raleway-regular.css?v=1" /> 29 30<link href="/frida/css.css?font=agnext-regular&font_body=agnext-regular&font_title=raleway-regular&font_subtitle=raleway-regular&font_featured=raleway-regular&font_supertitle=raleway-regular&template_bg=%2Ffiles%2Fimg%2Ffrida%2Fbg-bubbles-ffffff.png&template_bg_top=%2Ffiles%2Fimg%2Ffrida%2Fbg-bubbles-waves-ffffff.png&template_bg_footer=%2Ffiles%2Fimg%2Ffrida%2Fbg-bubbles-waves-ffffff-f.png&ts=1791072860&language=en" rel="stylesheet" type="text/css"> 31<!--[if IE 9]> 32<link href="/frida/cssie9.css?font=agnext-regular&font_body=agnext-regular&font_title=raleway-regular&font_subtitle=raleway-regular&font_featured=raleway-regular&font_supertitle=raleway-regular&template_bg=%2Ffiles%2Fimg%2Ffrida%2Fbg-bubbles-ffffff.png&template_bg_top=%2Ffiles%2Fimg%2Ffrida%2Fbg-bubbles-waves-ffffff.png&template_bg_footer=%2Ffiles%2Fimg%2Ffrida%2Fbg-bubbles-waves-ffffff-f.png&ts=1791072860" rel="stylesheet" type="text/css"> 33<![endif]--> 34 35<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> 36<!--[if lt IE 9]>
37<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
vendor: 1 bytes, line 37
37
38<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
38 39<![endif]--> 40<style> 41/* S_tpl_all_newsletter_module_css End */ 42 43*, 44:after, 45:before { 46 box-sizing: border-box; 47} 48#cookie-container a, 49#cookie-container a:active { 50 color: #fff; 51} 52#cookie-container a:hover, 53#cookie-container a:visited { 54 color: #ddd; 55} 56 57#cookie-container { 58 /*font-size: 14px;*/ 59 font-family: Helvetica, sans-serif; 60} 61#cookie-container hr { 62 border: 0; 63 height: 2px; 64 background-color: #7c7c7c; 65 margin: 0 0 2rem; 66} 67#cookie-container p { 68 font-size: 14px; 69 line-height: 1.4; 70 margin-bottom: 1.5rem; 71} 72 73#cookie-bg { 74 /*display: none;*/ 75 width: 100vw; 76 height: 100vh; 77 background-color: rgba(0,0,0,.5); 78} 79 80#cookie-consent { 81 background-color: rgba(37, 37, 37, 0.9); 82 color: #fff; 83 position: fixed; 84 top: 0; 85 left: 0; 86 max-height: 100%; 87 overflow-y: auto; 88 width: 100%; 89 border-bottom: 1px solid #7c7c7c; 90} 91.ck-btn { 92 border: 0; 93 border-radius: 0; 94 display: inline-block; 95 font-weight: 600; 96 cursor: pointer; 97 text-align: center; 98 min-width: 250px; 99 vertical-align: middle; 100 -webkit-user-select: none; 101 -moz-user-select: none; 102 -ms-user-select: none; 103 user-select: none; 104 padding: 0.375rem 3rem; 105 outline-color: transparent; 106 transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, 107 border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; 108} 109.ck-btn-block { 110 display: block; 111 width: 100%; 112} 113.ck-btn-green { 114 background-color: #74b34b; 115 color: #272727; 116} 117.ck-btn-green:hover { 118 background-color: #8dd95b; 119} 120.ck-btn-grey { 121 background-color: #bfbfbf; 122 color: #272727; 123} 124.ck-btn-grey:hover { 125 background-color: #d9d9d9; 126} 127 128.ck-category-info { 129 position: relative; 130 max-width: 570px; 131 max-height: 20000px; 132 overflow: hidden; 133 padding: 1rem; 134 -webkit-transition: max-height 1s ease-in-out; 135 -moz-transition: max-height 1s ease-in-out; 136 -o-transition: max-height 1s ease-in-out; 137 -ms-transition: max-height 1s ease-in-out; 138 transition: max-height 1s ease-in-out; 139} 140.ck-category-info.ck-category-closed { 141 max-height: 0px; 142 overflow: hidden; 143} 144.ck-category-info-text { 145 padding: 0 25px 10px; 146} 147.ck-close { 148 position: absolute; 149 right: 0px; 150 top: 12px; 151 width: 24px; 152 height: 24px; 153 cursor: pointer; 154} 155.ck-close:hover { 156 opacity: 0.5; 157} 158.ck-close:before, 159.ck-close:after { 160 top: 4px; 161 position: absolute; 162 left: 11px; 163 content: ' '; 164 height: 17px; 165 width: 2px; 166 background-color: white; 167} 168.ck-close:before { 169 transform: rotate(45deg); 170} 171.ck-close:after { 172 transform: rotate(-45deg); 173} 174.ck-column { 175 flex-grow: 1; 176 flex-shrink: 1; 177 flex-basis: 1; 178 padding: 0 15px; 179} 180.ck-container { 181 margin: 0 auto; 182 max-width: 1280px; 183 min-width: 320px; 184 padding: 2rem 1rem 0; 185} 186.ck-container + .ck-container, 187hr + .ck-container { 188 padding-top: 0; 189 padding-bottom: 2rem; 190} 191.ck-form { 192 margin: 2px 0 1rem; 193 padding: 0 3rem; 194} 195 196.ck-form-check { 197 position: relative; 198 display: inline-block; 199 padding: 0 1rem; 200} 201.ck-form-check label { 202 display: inline; 203 margin-bottom: 0; 204 color: #fff; 205 padding: 0 3px; 206} 207.ck-form-check-input{ 208 margin: 3px 3px 3px 4px; 209} 210 211.ck-justify-center { 212 -webkit-box-pack: center; 213 -ms-flex-pack: center; 214 justify-content: center; 215} 216.ck-mt1 { 217 margin-top: 1rem; 218} 219.ck-mt2 { 220 margin-top: 2rem; 221} 222.ck-mt3 { 223 margin-top: 3rem; 224} 225.ck-row { 226 display: flex; 227 flex-wrap: wrap; 228 margin-right: -15px; 229 margin-left: -15px; 230} 231.ck-text-center { 232 text-align: center; 233} 234.ck-text-left { 235 text-align: left; 236} 237.ck-text-right { 238 text-align: right; 239} 240 241@media screen and (max-width: 768px) { 242 .ck-container { 243 overflow: auto; 244 } 245 .ck-column { 246 min-width: 100%; 247 width: 100%; 248 margin: 10px 0; 249 } 250 .ck-row { 251 margin-left: 0; 252 margin-right: 0; 253 } 254 .ck-btn { 255 width: 100%; 256 padding: 0.7rem 1rem; 257 } 258 .ck-form-check { 259 display: block; 260 margin: 2rem 0; 261 } 262 .ck-close { 263 position: relative; 264 right: auto; 265 top: 12px; 266 width: 24px; 267 height: 24px; 268 display: inline-block; 269 margin-bottom: 2rem; 270 cursor: pointer; 271 } 272 .ck-close:before, 273 .ck-close:after { 274 top: 0px; 275 position: absolute; 276 left: 11px; 277 height: 25px; 278 } 279} 280 281@media screen and (min-width: 769px) and (max-width: 950px) { 282 .ck-btn { 283 min-width: 200px; 284 padding: 0.375rem 1rem; 285 } 286} 287 288#ba-edit-cookie { 289 cursor: pointer; 290 outline: none !important; 291} 292 293#cookie-bg-overlay { 294 position: fixed; 295 width: 100%; 296 top: 0; 297 z-index: 19999; 298} 299 300@media screen and (max-width: 576px) { 301 #cookie-consent { 302 height: 100%; 303 } 304} 305 306.cb-transparent { 307 height: 100%; 308 position: fixed; 309 top:0; 310 width: 100%; 311 z-index:19999 312} 313 314.ck-i-icon { 315 cursor: pointer; 316 margin-left: 5px; 317 vertical-align: middle; 318} 319.ck-i-icon > img { 320 width: 14px; 321 height: 14px; 322} 323 324#cookie-bg-overlay { 325 transform: none !important; 326 animation: none !important; 327} 328 329</style> 330<style> 331 332body { 333 font-size: 15px; 334} 335 336hr { 337 border-top: 1px solid #ccc; 338} 339 340.smrt-main-content .smrt-content .smrt-good-to-know { 341 background-color: rgba(255,255,255,0.5); 342 text-align: center; 343} 344 345.smrt-reasons .smrt-reason div h4 { 346 background-color: rgba(1,29,52,0.3); 347} 348 349.smrt-content-banners .smrt-content-banner .smrt-img img { 350 filter: gray; 351 filter: grayscale(0); 352 -webkit-filter: grayscale(0); 353} 354 355#anchor { 356 display: table-column; 357 position: relative; 358 top: -100px; 359} 360 361#anchor-top { 362 display: table-column; 363 position: relative; 364 top: -200px; 365} 366 367</style><!-- S_tpl_frida_styles> --> 368 369
369<script> 370 // JS content added at the top of each style scripts snippet 371 var BA = BA || {}; 372 BA.account = "Coral Beach Aparthotel"; 373 374 BA.hotel_id = "2861"; 375 376 377 BA.guide_id = "102"; 378 379 380 /* #region Cookie banner */ 381 // required by cookie banner script 382 BA.showBanner = "yes"; 383 384 BA.userLanguage = "en"; 385 386 BA.thirdPartyScriptsURL = "https://www.coralbeach.es/feed/feed-by-field/?userName=sr_coralbeach_es&fieldName=F_sbbasic_3rd_scripts&json"; 387BA.thirdPartyScriptsClasificationUrl = "https://www.coralbeach.es/feed/feed-by-field/?userName=sr_coralbeach_es&fieldName=F_sbbasic_3rd_scripts_class&json"; 388BA.thirdPartyScriptsFunctionsUrl = "https://www.coralbeach.es/feed/feed-by-field/?userName=sr_coralbeach_es&fieldName=F_sbbasic_3rd_scripts_fcns"; 389 BA.cookiePolicyUrl = "/en/privacy-policy/"; 390 BA.userProperty = "sr_coralbeach_es"; 391 BA.jQueryUrl = "//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"; 392 /* #endregion Cookie banner */ 393 394 /* #region Google Analytics */ 395 BA.gaConsent = 1; 396 BA.gaWaitForConsent = true; 397 BA.showRejectAll = "no"; 398 399 BA.measurementIds = [{"id":"G-NC5YCQLR8T","type":"Analytics 4","anonymizeIp":false,"BA":false}]; 400 401 402 /* #endregion Google Analytics */ 403</script>
403 404
405<script src="https://unpkg.com/[email protected]/lib/rt.js"></script>
405 406 <!-- <S_tpl_all_vwo_script !!--> 407<!-- S_tpl_all_vwo_script> !!--> 408 409 <!-- <S_sbbasic_v15_bp_styles !!--> 410<style> 411 </style> 412<!-- S_sbbasic_v15_bp_styles> !!--> 413 414 415 416 <!--[if lte IE 9]> 417
417<script type="text/javascript"> 418 location.href='/en/reservations-old-browsers/'; 419 </script>
419 420 <![endif]--> 421<!-- S_tpl_frida_head> --> 422 423 <!-- <S_tpl_all_metas !!--> 424<title>Contact | Coral Beach Aparthotel, Marbella</title> 425<meta charset="UTF-8"> 426<meta http-equiv="default-style" content="https://www.coralbeach.es/frida/css.css"> 427<meta http-equiv="X-UA-Compatible" content="IE=edge"> 428<meta name="description" content="If you have any questions about your stay with us or any other queries, please contact our team via email or phone. Coral Beach Aparthotel, Marbella."> 429<meta name="revisit-after" content="7 days"> 430<meta name="robots" content="all"><meta http-equiv="X-UA-Compatible" content="IE=edge"> 431<meta property="og:url" content="https://www.coralbeach.es/en/contact/"> 432<meta property="og:title" content="Contact | Coral Beach Aparthotel, Marbella"> 433<meta property="og:description" content="If you have any questions about your stay with us or any other queries, please contact our team via email or phone. Coral Beach Aparthotel, Marbella."> 434<meta property="og:image" content="https://www.coralbeach.es/files-sbbasic/sr_coralbeach_es/logo/coral-beach-aparthotel-marbella-01.jpg?w=1200&h=627"> 435 436<meta property="fb:admins" content="ApartHotel-Coral-Beach-130194780396615/"> 437<meta name="twitter:card" content="summary_large_image"> 438<meta name="twitter:title" content="Contact | Coral Beach Aparthotel, Marbella"> 439<meta name="twitter:description" content="If you have any questions about your stay with us or any other queries, please contact our team via email or phone. Coral Beach Aparthotel, Marbella."> 440<meta name="twitter:image" content="https://www.coralbeach.es/files-sbbasic/sr_coralbeach_es/logo/coral-beach-aparthotel-marbella-01.jpg?w=506"> 441 442<link rel="alternate" href="https://www.coralbeach.es/es/contacto/" hreflang="x-default" /> 443<link rel="canonical" href="https://www.coralbeach.es/en/contact/" /> 444<link rel="alternate" href="https://www.coralbeach.es/es/contacto/" hreflang="es" /> 445<link rel="alternate" href="https://www.coralbeach.es/en/contact/" hreflang="en" /> 446<link rel="alternate" href="https://www.coralbeach.es/fr/contact/" hreflang="fr" /> 447<link rel="alternate" href="https://www.coralbeach.es/ru/contact/" hreflang="ru" /> 448<!-- S_tpl_all_metas> !!--> 449 450 <!-- <S_tpl_all_head_analytics !!-->
451<script src="https://unpkg.com/[email protected]/dist/ba-js-ga-adapter.umd.js"></script>
451 452<!-- <S_tpl_all_head_analytics !!--> 453 454</head> 455 456<body class="smrt-tpl-frida smrt-tpl-frida-contact"> 457 <div id="smrt-top"></div> 458 <!-- <S_tpl_frida_superbgimage --> 459<div class="smrt-bullets"> 460 <div id="smrt-superbgimage"> 461 </div> 462</div> 463<div class="smrt-slideshow"> 464 </div> 465<!-- S_tpl_frida_superbgimage > --> 466 467 <!-- <S_tpl_frida_header --> 468<div class="smrt-header container-fluid"> 469 <div class="container"> 470 <div class="row"> 471 <div class="col-xs-12 col-sm-3 col-xl-4 smrt-logo hidden-xs"> 472 <a href="/en/"> 473 <img class="visible-sm smrt-short-logo" src="//www.coralbeach.es/files-sbbasic/sr_coralbeach_es/logo/_logo-xs_aparthotel-coral-beach-marbella.png" width="200" height="40" alt="Coral Beach Aparthotel **** Marbella, Málaga"> 474 <img class="img-responsive hidden-sm smrt-big-logo" src="//www.coralbeach.es/files-sbbasic/sr_coralbeach_es/logo/_aparthotel-coral-beach-marbella.png" alt="Coral Beach Aparthotel **** Marbella, Málaga"></a> 475 </div> 476 <div class="col-xs-12 col-sm-9 col-xl-8 smrt-right hidden-xs"> 477 <div class="smrt-icons"> 478 <div class="pull-right"> 479 <div class="btn-group smrt-languages"> 480 <button type="button" class="btn btn-link smrt-pointer btn-xs dropdown-toggle" data-toggle="dropdown"> 481 <span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="smrt-icon smrt-icon-flag-o smrt-icon-2x en"></i></span> 482 </button> 483 <ul class="dropdown-menu dropdown-menu-right" role="menu"> 484 <li > 485 <a href="/es/contacto/" title="Español"> 486 <i class="smrt-icon smrt-icon-flag-o smrt-icon-1x es"></i> 487 Español </a> 488 </li> 489 <li class="active"> 490 <a href="/en/contact/" title="English"> 491 <i class="smrt-icon smrt-icon-flag-o smrt-icon-1x en"></i> 492 English </a> 493 </li> 494 <li > 495 <a href="/fr/contact/" title="Français"> 496 <i class="smrt-icon smrt-icon-flag-o smrt-icon-1x fr"></i> 497 Français </a> 498 </li> 499 <li > 500 <a href="/ru/contact/" title="Ð ÑÑÑкий"> 501 <i class="smrt-icon smrt-icon-flag-o smrt-icon-1x ru"></i> 502 Ð ÑÑÑкий </a> 503 </li> 504 </ul> 505 </div> 506 </div> 507 <div class="pull-right"> 508 <a href="tel:+34 952 775 000" class="btn btn-link btn-xs"><span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="fa fa-stack-1x fa-phone"></i></span> +34 952 775 000</a> 509 </div> 510 <div class="pull-right"> 511 <a class="btn btn-link btn-xs"><span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="fa fa-stack-1x fa-wifi"></i></span> Free WIFI</a> 512 </div> 513 <div class="pull-right"> 514 <a class="btn btn-link btn-xs"><span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="fa fa-stack-1x fa-certificate"></i></span> Official website</a> 515 </div> 516 </div> 517 </div> 518 <nav class="navbar navbar-inverse smrt-main-menu col-sm-12 col-md-9 col-xl-8"> 519 <div class="navbar-header"> 520 <a class="navbar-brand visible-xs" href="/en/"><img class="img-responsive" src="//www.coralbeach.es/files-sbbasic/sr_coralbeach_es/logo/_logo-xs_aparthotel-coral-beach-marbella.png" width="200" height="40" alt="Coral Beach Aparthotel **** Marbella, Málaga"></a> 521 <a class="btn btn-link btn-xs navbar-toggle smrt-menu-bg" data-toggle="collapse" data-target="#smrt-navbar-collapse" aria-expanded="false"><span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="fa fa-stack-1x fa-bars fa-menu"></i></span></a> 522 </div> 523 <div class="collapse navbar-collapse" id="smrt-navbar-collapse"> 524 <!-- <S_tpl_frida_menu --> 525<ul class="nav nav-justified"> 526 <li class="visible-xs-block smrt-dropdown smrt-languages"><a href="/en/">English <i class="smrt-icon smrt-icon-flag-o smrt-icon-2x en"></i></a><button class="smrt-dropdown-toggle" data-toggle="smrt-dropdown" aria-expanded="false"><i class="fa fa-angle-down"></i></button> 527 <ul class="smrt-dropdown-menu" role="menu"> 528 <li><a href="/es/contacto/" title="Español"><i class="smrt-icon smrt-icon-flag-o smrt-icon-1x es"></i> Español</a></li> 529 <li class="active"><a href="/en/contact/" title="English"><i class="smrt-icon smrt-icon-flag-o smrt-icon-1x en"></i> English</a></li> 530 <li><a href="/fr/contact/" title="Français"><i class="smrt-icon smrt-icon-flag-o smrt-icon-1x fr"></i> Français</a></li> 531 <li><a href="/ru/contact/" title="Ð ÑÑÑкий"><i class="smrt-icon smrt-icon-flag-o smrt-icon-1x ru"></i> Ð ÑÑÑкий</a></li> 532 </ul> 533 </li> 534 <li class="smrt-li-left smrt-dropdown taphover"><a href="/en/the-hotel/" title="Aparthotel">Aparthotel</a><button class="smrt-dropdown-toggle" data-toggle="smrt-dropdown" aria-expanded="false"><i class="fa fa-angle-down"></i></button></a> 535 <ul class="smrt-dropdown-menu"> 536 <li><a href="/en/services/" title="Facilities">Facilities</a> 537 </li> 538 <li><a href="/en/general-conditions/" title="General conditions">General conditions</a> 539 </li> 540 </ul> 541 </li> 542 <li class="smrt-li-left"><a href="/en/apartments-centre-marbella/" title="Apartments Centre Marbella ">Apartments Centre Marbella </a> 543 </li> 544 <li class="smrt-li-left"><a href="/en/rooms/" title="Rooms">Rooms</a> 545 </li> 546 <li class="smrt-li-left"><a href="/en/gallery/" title="Photos">Photos</a> 547 </li> 548 <li class="smrt-li-right"><a href="/en/location/" title="Location">Location</a> 549 </li> 550 <li class="smrt-li-right"><a href="/en/offers/" title="Offers">Offers</a> 551 </li> 552 <li class="smrt-li-right active"><a href="/en/contact/" title="Contact">Contact</a> 553 </li> 554 <li class="smrt-li-right"><a href="/en/reservations/" title="Reservations">Reservations</a> 555 </li> 556 </ul> 557<!-- S_tpl_frida_menu> --> 558 559 </div> 560 </nav> 561 </div> 562 </div> 563</div> 564 565<!-- S_tpl_frida_header> --> 566 567 568 569 <div class="smrt-main-content container-fluid"> 570 <div class="col-xs-12"> 571 <div class="container"> 572 <div class="smrt-content row"> 573 <h1>Contact us</h1> 574 </div> 575 </div> 576 </div> 577 <div class="col-xs-12 smrt-footer-start"> 578 <div class="container"> 579 <div class="smrt-address-container"> 580 <div class="smrt-map-canvas" id="smrt-map-canvas" data-map="true"> 581 <div id="smrt-map"></div> 582 </div> 583 584 <div class="smrt-address smrt-contact smrt-form"> 585 <h4>Contact us</h4> 586 <div class="smrt-form-show"></div> 587 <form id="smrt-submit-contact-form" role="form" method="post" action="" class="smrt-promoform-hide" data-form-type="contact"> 588 <input type="hidden" id="form_subject" name="form_subject" value="Contact"> 589 <input type="hidden" id="form_subject_u" name="form_subject_u" value="Contact us"> 590 <input type="hidden" id="form_show" name="form_show" value="smrt-form-show"> 591 <input type="hidden" id="form_hide" name="form_hide" value="smrt-promoform-hide"> 592 <div class="row"> 593 <div class="form-group smrt-title"> 594 <label for="title">title</label> 595 <input type="text" class="form-control" id="title" name="title"> 596 <label for="form_id">form id</label> 597 <input type="text" class="form_id" name="form_id"> 598 </div> 599 <div class="form-group col-sm-6"> 600 <label for="lbl_form_field_name">Your name *</label> 601 <input type="text" class="form-control required" id="lbl_form_field_name" name="lbl_form_field_name"> 602 </div> 603 <div class="form-group col-sm-6"> 604 <label for="lbl_form_field_email">Your e-mail *</label> 605 <input type="email" class="form-control required email" id="lbl_form_field_email" name="lbl_form_field_email"> 606 </div> 607 <div class="form-group col-sm-12"> 608 <label for="lbl_form_field_message">Your message for us *</label> 609 <textarea class="form-control required" id="lbl_form_field_message" rows="5" name="lbl_form_field_message"></textarea> 610 </div> 611 <fieldset class="col-sm-12 checkbox"> 612 <legend class="sr-only">Disclaimer</legend> 613 <label class="form-group"> 614 <input type="checkbox" class="required disclaimer mr-2" name="validate">
615 <span> 616 <a href="/en/privacy-policy/#" target="_blank">Accept site conditions</a> * 617 </span> 618 </label> 619 </fieldset> 620 <div class="form-group smrt-btn col-sm-12"> 621 <button type="submit" class="btn btn-info btn-block" id="smrt-submit-form">Submit</button> 622 </div> 623 </div> 624 </form> 625 </div> 626 627 <div class="smrt-address"> 628 <div class="smrt-address-name"> 629 <h4>Coral Beach Aparthotel ****</h4> 630 </div> 631 <div class="smrt-address-address"> 632 <a class="btn btn-link btn-xs"><span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="fa fa-stack-1x fa-map-marker"></i></span> <span>Urb. Coral Beach, Km. 176</span>, <span>29602</span> <span>Marbella, Málaga</span> (<span>Spain</span>)</a> 633 </div> 634 <div class="smrt-address-contact"> 635 <a href="tel:+34 952 775 000" class="btn btn-link btn-xs"><span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="fa fa-stack-1x fa-phone"></i></span> <span>+34 952 775 000</span></a><br> 636 <a href="#" class="btn btn-link btn-xs"><span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="fa fa-stack-1x fa-print"></i></span> +34 952 775 030</a><br> <a href="mailto:[email protected]" class="btn btn-link btn-xs smrt-pointer smrt-break-all"><span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="fa fa-stack-1x fa-envelope"></i></span> Email</a><br> 637 </div> 638 <div class="smrt-address-social"> 639 <!-- <S_tpl_frida_social_buttons --> 640 <a data-ga-category="Social media" data-ga-action="Facebook" title="Facebook" href="https://www.facebook.com/ApartHotel-Coral-Beach-130194780396615/" class="btn btn-link btn-xs btn-facebook smrt-pointer"><span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="fa fa-facebook fa-stack-1x"></i></span></a> 641 <a data-ga-category="Social media" data-ga-action="Instagram" title="Instagram" href="https://instagram.com/coralbeachapartments" class="btn btn-link btn-xs btn-instagram smrt-pointer"><span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="fa fa-instagram fa-stack-1x"></i></span></a> 642 <a data-ga-category="Social media" data-ga-action="Tripadvisor" title="Tripadvisor" href="https://www.tripadvisor.com/Hotel_Review-g187439-d1185685-Reviews-Coral_Beach_Aparthotel-Marbella_Costa_del_Sol_Province_of_Malaga_Andalucia.html.html" class="btn btn-link btn-xs btn-tripadvisor smrt-pointer"><span class="fa-stack fa-lg"><i class="fa fa-stack-2x bicon-circle"></i><i class="fa fa-tripadvisor fa-stack-1x"></i></span></a> 643 <!-- S_tpl_frida_social_buttons> --> 644 645 646 </div> 647 </div> 648 <div class="clearfix"></div> 649 650 </div> 651 <!-- <S_tpl_frida_footer --> 652<div class="col-xs-12 smrt-footer-start"> 653 <div class="container"> 654 <div class="smrt-address-container"> 655 <!-- <S_tpl_all_newsletter_module --> 656<!-- S_tpl_all_newsletter_module> --> 657 658 </div> 659 <div class="row"> 660 <div class="col-xs-12"> 661 <div class="row smrt-footer text-center"> 662 <div class="smrt-footer-menu"> 663 <!-- <S_tpl_frida_footer_menu --> 664<ul class="list-unstyled list-inline"> 665 <li class="smrt-li-left"><a href="/en/sitemap/" title="Sitemap">Sitemap</a> 666 </li> 667 <li class="smrt-li-left"><a href="/en/disclaimer/" title="Disclaimer">Disclaimer</a> 668 </li> 669 <li class="smrt-li-right"><a href="/en/privacy-policy/" title="Privacy policy">Privacy policy</a> 670 </li> 671 <li class="smrt-li-right"><a href="/en/booking-conditions/" title="Best price guaranteed">Best price guaranteed</a> 672 </li> 673 <li class="smrt-li-right"><a title="Cookie Preferences" href id="ba-edit-cookie">Cookie Preferences</a></li> <li><a href="https://bookassist.org" title="by Bookassist" target="_blank">by Bookassist</a></li> 674</ul> 675<!-- S_tpl_frida_footer_menu> --> 676 677 678 </div> 679 </div> 680 </div> 681 </div> 682 </div> 683</div> 684<!-- S_tpl_frida_footer> --> 685 686 687 </div> 688 </div> 689 </div> 690 <!-- <S_tpl_all_footer_buttons !!--> 691<div class="smrt-footer-buttons smrt-show visible-xs"><div class="btn-group btn-group-justified btn-group-sm"><a href="/en/" class="btn btn-info"><span class="picons picons-home"></span><br>Home</a><a href="tel:+34952775000" onclick="baJsGaAdapter.gaBAtr('send', 'event', 'Direct contact', 'Telephone', 'contact');" class="btn btn-info"><span class="picons picons-telephone-call"></span><br>Contact</a><a href="/en/location/" class="btn btn-info"><span class="picons picons-pin-2"></span><br>Location</a><a href="/en/offers/" class="btn btn-info"><span class="picons picons-tag-price"></span><br>Offers</a><a id="smrt-booking-button" href="/en/reservations/" class="btn btn-booking"><span class="picons picons-calendar-2"></span><br>Reservations</a></div></div> 692<!-- S_tpl_all_footer_buttons> !!--> 693 694 <!-- <S_tpl_frida_booking --> 695<div class="smrt-booking-absolute container-fluid"> 696 <div class="container"> 697 <!--div class="col-sm-12 col-md-3 col-lg-2 smrt-logo"> 698 <a href="/en/"> 699 <img class="img-responsive hidden-xs hidden-sm" src="//www.coralbeach.es/files-sbbasic/sr_coralbeach_es/logo/_aparthotel-coral-beach-marbella.png" alt="Coral Beach Aparthotel **** Marbella, Málaga"> 700 </a> 701 </div--> 702 <div class="smrt-booking smrt-rooms col-sm-12 col-lg-10 col-xl-8 col-lg-push-1 col-xl-push-2"> 703 <span class="visible-xs-block" id="smrt-booking-button-close">×</span> 704 <h4>Reservations online</h4> 705 <form method="get" role="form"> 706 <div class="form-group"> 707 <label for="smrt-checkin">Check-in</label> 708 <input type="text" class="form-control input datepicker smrt-arrival" name="smrt-arrival" id="smrt-arrival">
709 </div> 710 <div class="form-group"> 711 <label for="smrt-checkout">Check-out</label> 712 <input type="text" class="form-control input datepicker smrt-departure" name="smrt-departure" id="smrt-departure"> 713 </div> 714 <div class="form-group"> 715 <label for="smrt-rooms">Select</label> 716 <select class="form-control smrt-room" name="smrt-room" id="smrt-room"> 717 <option value="">All</option> 718 <option value="16">CLASSIC 1 BEDROOM APARTMENT</option> 719 <option value="32">PREMIUM 1 BEDROOM APARTMENT</option> 720 <option value="128">SUPERIOR 3 BEDROOM PENTHOUSE (with Jacuzzi)</option> 721 </select> 722 </div> 723 <div class="form-group"> 724 <label for="smrt-promocode">Promo code</label> 725 <input type="text" class="form-control input smrt-promo" id="smrt-promocode" name="smrt-promocode" placeholder="Promo code" value=""> 726 </div> 727 <div class="form-group smrt-btn"> 728 <label><a href="#" data-toggle="modal" data-target="#myModal">Why to book with us?</a></label> 729 <button type="button" class="btn btn-success btn-block smrt-book-now">Book now</button> 730 </div> 731 </form> 732 </div> 733 </div> 734</div> 735<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"> 736 <div class="modal-dialog" role="document"> 737 <div class="modal-content"> 738 <div class="modal-header text-center"> 739 <button type="button" class="close btn-xl" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> 740 <h4 class="modal-title" id="myModalLabel">Why to book with us?</h4> 741 </div> 742 <div class="modal-body"> 743 <img class="img-responsive smrt-img" src="/files-sbbasic/sr_coralbeach_es/coral-beach-aparthotel-marbella-09.jpg?w=715&h=315" alt="Coral Beach Aparthotel | Marbella, Málaga" > 744 <h5>From the moment you book on our website, you have access to our best rooms and rates, as well as exclusive offers.</h5> <b>You can enjoy the following benefits:</b><br/> - Best guaranteed rate; If you find cheaper price, we will match it.â¨<br/> - Personalized attention, we offer you apartment that best suits your tastes and needs.â¨<br/> - Promotion only web rate: We often offer special rates and unique advertising on our website.â¨<br/> - Your reservation is guaranteed! We guarantee your reservation and we will offer you a higher category in case your room type is not available due to circumstances out of your control.â¨<br/> - Secure online booking: our website uses a leading technology reservation system, automatically coding all personal information before processing it online.â¨<br/> - Full access to all types of apartments.â¨<br/> - There are no additional expenses or extra charges when booking directly with us. </div> 745 </div> 746 </div> 747</div> 748<!-- S_tpl_frida_booking> --> 749 750 751 <!-- <S_tpl_frida_scripts -->
752<script>window.jQuery || document.write('
752<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js" /><\/script>')</script>
vendor: 1 bytes, line 752
752
753<script src="//d3l592tomi1h4y.cloudfront.net/jquery.ui/1.11.2/jquery-ui.min.js"></script>
vendor: 1 bytes, line 753
753
754<script src="//d3l592tomi1h4y.cloudfront.net/bootstrap/3.0.3/js/bootstrap.min.js"></script>
754 755
756<script src="https://player.vimeo.com/api/player.js"></script>
vendor: 1 bytes, line 756
756
757<script src="/shared-styles-templates/content-blocks-vimeo.js?v=1.0"></script>
757 758 759
760<script type="text/javascript"> 761 762 763 (function($){ 764 $(window).load(function() {$.getScript('/shared-styles-templates/intersection-observer.js?v=2.2');}); 765 })(jQuery); 766</script>
766 767 768<!--
768<script src="/shared-styles-templates/intersection-observer.js?v=2.0"></script>
768 --> 769 770
770<script src="/frida/js-events-move.js"></script>
770 771
771<script src="/frida/js-superbgimage.js"></script>
771 772
772<script src="/frida/js-touch-swipe.js"></script>
vendor: 1 bytes, line 772
772
773<script src="/frida/js-slick.js"></script>
vendor: 1 bytes, line 773
773
774<script src="/frida/js-scrollto.js"></script>
vendor: 1 bytes, line 774
774
775<script src="/frida/js-pinterest.js"></script>
vendor: 1 bytes, line 775
775
776<script> 777 $(window).load(function() {$(window).resize();}); 778</script>
778 779
779<script> 780 $(document).ready(function(){ 781 }); 782 </script>
782 783 784
784<script> 785 786 // GET IE VERSION START 787 function getIEVersion() { 788 var agent = navigator.userAgent; 789 var reg = /MSIE\s?(\d+)(?:\.(\d+))?/i; 790 var matches = agent.match(reg); 791 if (matches != null) { 792 return { 793 major: matches[1], 794 minor: matches[2] 795 } ; 796 }; 797 return { 798 major: "-1", 799 minor: "-1" 800 } 801 } 802 803 function getMapClusterScript() { 804 if (is_ie10 != true) {$.getScript("//d3l592tomi1h4y.cloudfront.net/markerclusterer/google-maps-v3/markerclusterer.js");} 805 }; 806 807 var ie_version = getIEVersion(); 808 var is_ie10 = ie_version.major == 10; 809 810 811 //------ LOCATION MAP START 812 //Function to detect if the maps 813 var mapCounter = 0; 814 function isMapIntoView(){ 815 $.getScript("https://maps.googleapis.com/maps/api/js?language=en&key=AIzaSyAemKfapXRUUCQBdxBe9sl-ZKehPOrZgNE&callback=Function.prototype", function() { 816 817 $.getScript('/shared-styles-templates/initMap.min.js?v=1.3.1', function() { 818 819 //call for parsing php vars to js for being used on initMaps.js 820 const templateName = 'frida'; 821 const isRTL = 0; 822 const MAPSETTINGS = "''"; 823 const isHotelGroup = false; 824 const contentWidth = '100%'; 825 826 const HOBJECT = { 827 name : 'Coral Beach Aparthotel', 828 category : '****', 829 address : 'Urb. Coral Beach, Km. 176', 830 postalCode : '29602', 831 city : 'Marbella, Málaga', 832 country : 'Spain', 833 phone : '+34 952 775 000', 834 email : '[email protected]', 835 locationZoom : 16, 836 latitude : '36.498', 837 longitude : '-4.94114', 838 email : '[email protected]', 839 }; 840 841 let mapSetupData = { 842 hotel: HOBJECT, 843 language: 'en', 844 mapPin : '/files/img/frida-navy/map-pointer.png', 845 templateName: 'contact', 846 styleName: 'frida' 847 }; 848 849 const oldTemplates = ['picasso','warhol','klee']; 850 if(!oldTemplates.includes(templateName)){ 851 mapSetupData['mapSettings'] = isValidJSONString(MAPSETTINGS) ? MAPSETTINGS : {};} 852 853 854const groupList = [{"master":null,"languages":[],"mappin":null,"template":null,"templateColor":null,"domain":null,"name":"","category":null,"address":"","postalCode":null,"city":"","country":"","phone":null,"email":null,"locationZoom":15,"latitude":null,"longitude":null,"author":null}]; 855 856 857 const poiSize = 80; 858 let clusterStyles = {}; 859 860 if (is_ie10 != true) { 861 clusterStyles = [{ 862 width: poiSize, 863 height: poiSize, 864 url: getGoogleClusterInlineSvg('#0f75bc'), 865 textColor: '#ffffff', 866 textSize: 16 867 }, 868 { 869 width: poiSize, 870 height: poiSize, 871 url: getGoogleClusterInlineSvg('#013f71'), 872 textColor: '#ffffff', 873 textSize: 16 874 }, 875 { 876 width: poiSize, 877 height: poiSize, 878 url: getGoogleClusterInlineSvg('#000000'), 879 textColor: '#ffffff', 880 textSize: 16 881 }, 882 { 883 width: poiSize, 884 height: poiSize, 885 url: getGoogleClusterInlineSvg('#ffffff'), 886 textColor: '#000000', 887 textSize: 16 888 } 889 //up to 5 890 ]; 891 } 892 893 //call initialize common script 894 let mapOptions = { 895 mapTypeControlOptions: { position: google.maps.ControlPosition.RIGHT_BOTTOM }, 896 zoomControlOptions: { 897 style: google.maps.ZoomControlStyle.SMALL, 898 position: google.maps.ControlPosition.RIGHT_BOTTOM 899 } 900 }; 901 902 //call initialize initMap.min.js functions 903 initialize({...mapSetupData,mapId:"smrt-map",isRtl:false,poiSize:poiSize,mapOptions,styleName:'frida',clusterStyles}); 904 905 }); 906 907 }); 908 mapCounter++; 909 }; 910 </script>
910 911 912
912<script> 913 var styleName = 'frida'; 914 (function () { 915 916 /** 917 * function to check if a cookie is set 918 * @param name The name of the cookie 919 * @returns boolean, true if the cookie is set 920 */ 921 function getCookie(name) { 922 var dc = document.cookie; 923 var prefix = name + "="; 924 var begin = dc.indexOf("; " + prefix); 925 if (begin == -1) { 926 begin = dc.indexOf(prefix); 927 if (begin != 0) return null; 928 } else { 929 begin += 2; 930 var end = document.cookie.indexOf(";", begin); 931 if (end == -1) { 932 end = dc.length; 933 } 934 } 935 // because unescape has been deprecated, replaced with decodeURI 936 937 if (decodeURI(dc.substring(begin + prefix.length, end)) == null) { 938 return false; 939 } else { 940 return true; 941 } 942 } 943 944 /** 945 * function to check if the device is a touch device such as mobiles and tablets 946 * @returns boolean 947 */ 948 function isTouchDevice() { 949 return ("ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0); 950 } 951 952 var cbLaunched = false; 953 954 /** 955 * Function to load the cookie banner script 956 */ 957 958 function loadCookieBanner() { 959 // Variable to check if the cookie banner was already launched 960 cbLaunched = true; 961 var cbScript = document.createElement("script"); 962 cbScript.src = 'https://unpkg.com/[email protected]/dist/ba-js-cookie-banner.umd.js'; 963 964 document.body.appendChild(cbScript); 965 cbScript.addEventListener("load", function () { 966 // Check if it's a touch device such as mobiles and tablets 967 if (isTouchDevice()) { 968 // remove the transparent layer blocking the screen 969 transparentLayer.remove(); 970 } 971 }); 972 if (!getCookie("cookie-consent")) { 973 // Remove the events that were listening to the user's interation 974 document.removeEventListener("mouseover", loadCookieBanner); 975 document.removeEventListener("scroll", loadCookieBanner); 976 document.removeEventListener("wheel", loadCookieBanner); 977 document.removeEventListener("keydown", loadCookieBanner); 978 } 979 } 980 981 if (isTouchDevice()) { 982 // Create a transparent layer to block interaction 983 var transparentDiv = document.createElement("div"); 984 transparentDiv.className = "cb-transparent"; 985 transparentDiv.setAttribute("id", "cb-transparent"); 986 document.body.appendChild(transparentDiv); 987 988 var transparentLayer = document.getElementById("cb-transparent"); 989 990 if (!getCookie("cookie-consent")) { 991 // When the transparent layer is clicked, the cookie banner is triggered 992 transparentLayer.addEventListener("click", loadCookieBanner); 993 } 994 } 995 996 if (!getCookie("cookie-consent")) { 997 // Adding some events listeners 998 if (!isTouchDevice()) { 999 document.addEventListener("mouseover", loadCookieBanner); 1000 } 1001 document.addEventListener("scroll", loadCookieBanner); 1002 document.addEventListener("wheel", loadCookieBanner); 1003 document.addEventListener("keydown", loadCookieBanner); 1004 1005 // The cookie banner is lauched after six seconds if the user has not interacted with the site 1006 setTimeout(function () { 1007 if (!cbLaunched) {loadCookieBanner();} 1008 }, 6000); 1009 } else {loadCookieBanner();} 1010})(); 1011 1012 1013 function GetIEVersion() { 1014 var sAgent = window.navigator.userAgent; 1015 var Idx = sAgent.indexOf("MSIE"); 1016 if (Idx > 0){ 1017 return parseInt(sAgent.substring(Idx + 5, sAgent.indexOf(".", Idx))); 1018 } else if (!!navigator.userAgent.match(/Trident\/7\./)){ 1019 return 11; 1020 } else { 1021 return 0; 1022 } 1023 } 1024 1025 var be_top = false; 1026 1027 function menuMediaxs(){ 1028 var st = $(this).scrollTop(); 1029 var navbar100 = false; 1030 if($('html').hasClass("media-xs")){ 1031 if( st >= 0){ 1032 $('.smrt-header').addClass('smrt-fixed'); 1033 $(".navbar-toggle.smrt-menu-bg").click(function(){ 1034 if(navbar100 == false){ 1035 $(".smrt-header.smrt-fixed").css("height","100%"); 1036 $("body").css("overflow-y","hidden"); 1037 navbar100 = true; 1038 } else { 1039 $(".smrt-header.smrt-fixed").css("height","50px"); 1040 $("body").css("overflow-y","scroll"); 1041 navbar100 = false;
1042 } 1043 }); 1044 } 1045 } 1046 } 1047 1048 // Variables for checking the position of the footer buttons 1049 var lastScrollTop = 0; 1050 var marginScroll = 150; 1051 1052 function check_pos() { 1053 var st = $(this).scrollTop(); 1054 var menuHeight = 82; 1055 if(!$('html').hasClass("media-xs")){ 1056 if (st > menuHeight) { 1057 $('.smrt-header').addClass('smrt-fixed'); 1058 $(".smrt-right.hidden-xs").css("display","none"); 1059 $(".smrt-short-logo").removeClass("visible-sm"); 1060 $(".smrt-big-logo").css("display","none"); 1061 } else { 1062 $('.smrt-header').removeClass('smrt-fixed'); 1063 $(".smrt-right.hidden-xs").css("display","block"); 1064 $(".smrt-short-logo").addClass("visible-sm"); 1065 $(".smrt-big-logo").css("display","block"); 1066 } 1067 } 1068 1069 // FOOTER BUTTONS 1070 if (st > marginScroll){ 1071 if (st > lastScrollTop){ 1072 if (st > $(document).height()-$(window).height()-marginScroll){ 1073 $( '.media-xs .smrt-footer-buttons').addClass('smrt-show'); 1074 } else { 1075 $( '.media-xs .smrt-footer-buttons').removeClass('smrt-show'); 1076 } 1077 } else { 1078 $( '.media-xs .smrt-footer-buttons').addClass('smrt-show'); 1079 } 1080 lastScrollTop = st; 1081 } else { 1082 $( '.media-xs .smrt-footer-buttons').addClass('smrt-show'); 1083 } 1084 1085 mc = $('.smrt-main-content').offset().top; 1086 if (mc - st < 50) { 1087 if (be_top == false) { 1088 $('html').not('.media-xs').find('.smrt-booking-absolute').slideUp(function(){ 1089 $('.smrt-booking-absolute').addClass('smrt-booking-fixed'); 1090 $('.smrt-booking-fixed .smrt-booking .smrt-book-now').addClass('btn-info').removeClass('btn-success'); 1091 // $('.smrt-booking-absolute .smrt-booking').addClass('col-md-9').removeClass('col-lg-push-1'); 1092 $('.smrt-booking-fixed').hide().slideDown(); 1093 be_top = true; 1094 }); 1095 } 1096 } else { 1097 $('html').not('.media-xs').find('.smrt-booking-fixed').slideUp(function(){ 1098 // $('.smrt-booking-absolute .smrt-booking').addClass('col-lg-push-1').removeClass('col-md-9'); 1099 $('.smrt-booking-absolute .smrt-booking .smrt-book-now').addClass('btn-success').removeClass('btn-info'); 1100 $('.smrt-booking-absolute').removeClass('smrt-booking-fixed'); 1101 $('.smrt-booking-absolute').not($('.smrt-hidden')).slideDown(); 1102 be_top = false; 1103 }); 1104 } 1105 $('.smrt-booking-absolute .smrt-booking .smrt-book-now').addClass('btn-success').removeClass('btn-info'); 1106 $('.smrt-booking-fixed .smrt-booking .smrt-book-now').addClass('btn-info').removeClass('btn-success'); 1107 } 1108 1109 // $('.smrt-booking-absolute').removeClass('smrt-hidden'); /* OLD HIDDEN VERSION */ 1110 function con_top() { 1111 ct = $('.smrt-main-content').offset().top; 1112 $('html.smrt-spbg').css('background-position-y', ct); 1113 } 1114 $('#smrt-booking-button').click(function(event){ 1115 event.preventDefault(event); 1116 $('.media-xs .smrt-booking-fixed').slideToggle(); 1117 $('.media-xs .smrt-booking-fixed').toggleClass('smrt-visible'); 1118 $.scrollTo('#smrt-top', 100); 1119 }); 1120 1121 $(document).on('click','#smrt-booking-button-close',function(){ 1122 $('.media-xs .smrt-booking-fixed').slideToggle(); 1123 $('.media-xs .smrt-booking-fixed').toggleClass('smrt-visible'); 1124 }); 1125 $('.smrt-booking-button').click(function(){ 1126 $(this).parent().parent().parent().parent().parent().parent().find('.smrt-booking-fixed').slideToggle(); 1127 $(this).parent().parent().parent().parent().parent().parent().find('.smrt-booking-fixed').toggleClass('smrt-visible'); 1128 }); 1129 1130 function BrowserDetection() {
1131 if (navigator.userAgent.search("MSIE") >= 0) {$("html").addClass("ie");} else if (!!navigator.userAgent.match(/Trident\/7\./)) {$("html").addClass("ie11");} else if (navigator.userAgent.search("Chrome") >= 0) {$("html").addClass("chrome");} else if (navigator.userAgent.search("Firefox") >= 0) {$("html").addClass("firefox");} else if (navigator.userAgent.search("Safari") >= 0 && navigator.userAgent.search("Chrome") < 0) {$("html").addClass("safari");} else if (navigator.userAgent.search("Opera") >= 0) {$("html").addClass("opera");} else {$("html").addClass("other");} 1132 } 1133 </script>
1133 1134 <!--[if !IE 9]><!--> 1135 1136
1136<script> 1137 $(document).ready(function() { 1138 if ($('.smrt-pinterest').length > 0){ 1139 var break_points_arr = [{n_cols:3, w:1400}, {n_cols:3, w:992}, {n_cols:2, w:768}, {n_cols:1, w:400}]; defineSBPinterestGrid('.smrt-pinterest', break_points_arr, 2, 2, 2); 1140 } 1141 }); 1142 </script>
1142 1143 <!--<![endif]--> 1144 1145
1145<script> 1146 1147 var locationHref; 1148 1149 $(document).ready(function() { 1150 1151 $(".smrt-coin").text(function () { 1152 return $(this).text().replace("GBP", ""); 1153 }); 1154 $(".smrt-coin").text(function () { 1155 return $(this).text().replace(" ", ""); 1156 }); 1157 BrowserDetection(); 1158 1159 // ****************************************** // 1160 // VIDE.JS * // 1161 // ****************************************** // 1162 check_pos(); 1163 con_top(); 1164 var default_transition = 1; 1165 if ($('#smrt-superbgimage a').length > 1) { 1166 var superbgimage_first_one = new Image(); 1167 superbgimage_first_one.onload = function() {$('#smrt-superbgimage').superbgimage();} 1168 superbgimage_first_one.src = $('#smrt-superbgimage a:first').attr('href'); 1169 } 1170 function ba_superbgimage_hide(img) { 1171 superbgimageActive = jQuery("#smrt-superbgimage a.activeslide").attr("name"); 1172 if ($(".smrt-slideshow .smrt-phrase[id=" + superbgimageActive + "]").length > 0){ 1173 jQuery(".smrt-slideshow .smrt-phrase > div").removeClass('smrt-active'); 1174 jQuery(".smrt-slideshow .smrt-phrase[id=" + superbgimageActive + "] > div").addClass('smrt-unactive'); 1175 jQuery(".smrt-slideshow .smrt-phrase[id=" + superbgimageActive + "]").fadeOut(); 1176 } 1177 } 1178 function ba_superbgimage_show(img) { 1179 superbgimageActive = jQuery("#smrt-superbgimage a.activeslide").attr("name"); if ($(".smrt-slideshow .smrt-phrase[id=" + superbgimageActive + "]").length > 0){jQuery(".smrt-slideshow .smrt-phrase > div").removeClass('smrt-unactive'); jQuery(".smrt-slideshow .smrt-phrase[id=" + superbgimageActive + "]").fadeIn('slow').css('display', 'table'); setTimeout(function(){jQuery(".smrt-slideshow .smrt-phrase[id=" + superbgimageActive + "] > div").addClass('smrt-active'); }, 100); } 1180 if (GetIEVersion() === 11) {$(window).trigger('resize');} 1181 jQuery(".smrt-slideshow").fadeIn('slow'); 1182 $.fn.superbgimage.options = { 1183 transition: default_transition 1184 }; 1185 } 1186 if ($('#smrt-superbgimage a').length > 1) { 1187 $.fn.superbgimage.options = { 1188 inlineMode: 1, 1189 preload: 0, 1190 slideshow: 1, 1191 slide_interval: 7500, 1192 speed: 500, 1193 transition: default_transition, 1194 onShow: ba_superbgimage_show, 1195 onHide: ba_superbgimage_hide 1196 }; 1197 $('.smrt-prev').click(function() {$('#thumbs').prevSlide();}); 1198 $('.smrt-next').click(function() {$('#thumbs').nextSlide();}); 1199 function superbgSwipeStatus(event, phase, direction, distance){ 1200 if (phase == "move" && (direction == "left" || direction == "right")) { var duration = 0; if (direction == "left"){ $.fn.superbgimage.options = { transition: 3 }; $('#thumbs').nextSlide(); } else if (direction == "right") { $.fn.superbgimage.options = { transition: 5 }; $('#thumbs').prevSlide(); } } } 1201 var superbgSwipeOptions = { 1202 allowPageScroll:"vertical", 1203 swipeStatus : superbgSwipeStatus 1204 } 1205 $(function(){ 1206 slideshow = $('.smrt-slideshow') 1207 slideshow.swipe(superbgSwipeOptions); 1208 }); 1209 } else { 1210 $.fn.superbgimage.options = { 1211 inlineMode: 1, 1212 slideshow: 0, 1213 onShow: ba_superbgimage_show, 1214 }; 1215 $('#smrt-superbgimage').delay(10000).superbgimage(); 1216 } 1217 1218 // CONTENT BLOCKS CAROUSEL 1219 $('.smrt-blocks-carousel').slick({ 1220 // centerMode: true, 1221 // centerPadding: '30px', 1222 adaptiveHeight: false, 1223 lazyLoad: 'ondemand', 1224 infinite: true, 1225 slidesToShow: 1, 1226 slidesToScroll: 1, 1227 arrows:false, 1228 dots: true, 1229 }); 1230 1231 $('.smrt-carousel').slick({ 1232 infinite: true, 1233 slidesToShow: 1, 1234 slidesToScroll: 1, 1235 dots: true 1236 }); 1237 1238 $('.smrt-carousel-offers').slick({ 1239 infinite: true, 1240 slidesToShow: 1, 1241 slidesToScroll: 1, 1242 speed: 1000, 1243 autoplay: true, 1244 dots: true 1245 }); 1246 1247 //SLICK CONTENT BLOCK / FEATURED BANNERS CAROUSEL START 1248 if($('.smrt-cb-carousel').length){ // loads slick carousel if .smrt-cb-carousel class is present in pages 1249 $('.smrt-cb-carousel').slick({ 1250 adaptiveHeight: true, 1251 infinite: true, 1252 slidesToShow: 1, 1253 slidesToScroll: 1, 1254 dots: true, 1255 arrows: true 1256 }); 1257 } 1258 //SLICK CONTENT BLOCK CAROUSEL END 1259 1260 // FEATURED BANNERS CAROUSEL START 1261 if($('.smrt-fb-carousel').length){ // loads slick carousel if .smrt-fb-carousel class is present in pages 1262 $('.smrt-fb-carousel').slick({ 1263 adaptiveHeight: true, 1264 infinite: true, 1265 slidesToShow: 1, 1266 slidesToScroll: 1, 1267 dots: true, 1268 arrows: true 1269 }); 1270 } 1271 //SLICK CONTENT BLOCK / FEATURED BANNERS CAROUSEL END 1272 1273 1274 function BA_targetBlank(element) { 1275 title = "(opens in new window)"; 1276 if ($(element).attr('title') != undefined && $(element).attr('title') != "(opens in new window)") { 1277 title = $(element).attr('title') + ' ' + title; 1278 } 1279 $(element).attr('title', title); 1280 if ($(element).attr('target') == '' || $(element).attr('target') == undefined) { 1281 $(element).attr('target', '_blank'); 1282 } 1283 } 1284 1285 $('a[href$=".doc"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-word-o sb-file-doc"></i>'), BA_targetBlank($(this))}), $('a[href$=".docx"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-word-o sb-file-doc"></i>'), BA_targetBlank($(this))}), $('a[href$=".rtf"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-word-o sb-file-doc"></i>'), BA_targetBlank($(this))}), $('a[href$=".DOC"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-word-o sb-file-doc"></i>'), BA_targetBlank($(this))}), $('a[href$=".DOCX"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-word-o sb-file-doc"></i>'), BA_targetBlank($(this))}), $('a[href$=".RTF"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-word-o sb-file-doc"></i>'), BA_targetBlank($(this))}), $('a[href$=".pdf"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-pdf-o sb-file-pdf"></i>'), BA_targetBlank($(this))}), $('a[href$=".PDF"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-pdf-o sb-file-pdf"></i>'), BA_targetBlank($(this))}), $('a[href$=".pps"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-powerpoint-o sb-file-pps"></i>'), BA_targetBlank($(this))}), $('a[href$=".ppsx"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-powerpoint-o sb-file-pps"></i>'), BA_targetBlank($(this))}), $('a[href$=".ppt"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-powerpoint-o sb-file-pps"></i>'), BA_targetBlank($(this))}), $('a[href$=".pptx"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-powerpoint-o sb-file-pps"></i>'), BA_targetBlank($(this))}), $('a[href$=".PPS"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-powerpoint-o sb-file-pps"></i>'), BA_targetBlank($(this))}), $('a[href$=".PPSX"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-powerpoint-o sb-file-pps"></i>'), BA_targetBlank($(this))}), $('a[href$=".PPT"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-powerpoint-o sb-file-pps"></i>'), BA_targetBlank($(this))}), $('a[href$=".PPTX"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-powerpoint-o sb-file-pps"></i>'), BA_targetBlank($(this))}), $('a[href$=".xls"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-excel-o sb-file-xls"></i>'), BA_targetBlank($(this))}), $('a[href$=".xlsx"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-excel-o sb-file-xls"></i>'), BA_targetBlank($(this))}), $('a[href$=".XLS"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-excel-o sb-file-xls"></i>'), BA_targetBlank($(this))}), $('a[href$=".XLSX"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-excel-o sb-file-xls"></i>'), BA_targetBlank($(this))}), $('a[href$=".zip"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-zip-o sb-file-zip"></i>'), BA_targetBlank($(this))}), $('a[href$=".rar"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-zip-o sb-file-zip"></i>'), BA_targetBlank($(this))}), $('a[href$=".ace"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-zip-o sb-file-zip"></i>'), BA_targetBlank($(this))}), $('a[href$=".bzip"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-zip-o sb-file-zip"></i>'), BA_targetBlank($(this))}), $('a[href$=".gzip"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-zip-o sb-file-zip"></i>'), BA_targetBlank($(this))}), $('a[href$=".ZIP"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-zip-o sb-file-zip"></i>'), BA_targetBlank($(this))}), $('a[href$=".RAR"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-zip-o sb-file-zip"></i>'), BA_targetBlank($(this))}), $('a[href$=".ACE"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-zip-o sb-file-zip"></i>'), BA_targetBlank($(this))}), $('a[href$=".BZIP"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-zip-o sb-file-zip"></i>'), BA_targetBlank($(this))}), $('a[href$=".GZIP"]').each(function(){$(this).prepend('<i class="fa fa-fw fa-file-zip-o sb-file-zip"></i>'), BA_targetBlank($(this))}); 1286 var myURL = location.protocol + '//' + location.hostname; 1287 var urlMobile = 'm.bookassist.com'; 1288 $('a[href^="//"],a[href^="http://"],a[href^="https://"],a[href^="www."]').not('[href^="javascript"]').not('[href^="' + urlMobile + '"]').not('[href^="' + myURL + '"]').not('[rel^="shadowbox"]').each(function(){ 1289 var href = $(this).attr('href'); 1290 $(this).attr('href', href.replace(/^www./, '//www.')); 1291 BA_targetBlank($(this)); 1292 }); 1293 1294 if (typeof $.validator === 'function') { 1295 $('.smrt-form form').not('.smrt-form.smrt-form-promoform form, .smrt-form.smrt-newsletter-form form').validate({ 1296 errorClass: 'error help-block text-danger', 1297 errorElement: 'div', 1298 errorPlacement: function(error, element) { 1299 var id = 'x' + Math.random().toString().substr(2, 5); 1300 $(element).attr('aria-invalid', true).attr('aria-describedBy', id); 1301 $(error).attr('id', id); 1302 var parent = $(element).closest('.form-group'); 1303 $('.error', parent).remove(); 1304 error.appendTo(parent); 1305 }, 1306 highlight: function(element) {$(element).closest('.form-group').addClass('has-error');}, 1307 unhighlight: function(element) { 1308 var parent = $(element).closest('.form-group'); 1309 $(parent).removeClass('has-error'); 1310 $('.error', parent).remove(); 1311 }, 1312 submitHandler: function() { 1313 ba_form_contact_submit(); 1314 } 1315 }); 1316 } 1317 1318 // process ALL found calendars in page 1319 $('.smrt-form').each(function() { 1320 var $calendar = $(this); 1321 var $calendar_date = $calendar.find('.datepicker.smrt-date'); 1322 1323 // In a form we can find different calendars with different setups 1324 $calendar_date.each(function(){ 1325 1326 // In the custom forms, by using the data-min-date parameter 1327 // we can specify the minDate in the calendar 1328 if ($(this).attr('data-min-date') && $(this).attr('data-min-date')=='null'){ // There is no initial date 1329 minDateValue = null; 1330 } else if ($(this).attr('data-min-date') && $(this).attr('data-min-date')!='0'){ // check if there is a date set for the calendar 1331 minDateValue = $(this).attr('data-min-date');
1332 minDateValue = new Date(minDateValue); 1333 } else { // for the rest of the cases, the initial date is the current day 1334 minDateValue = "0" 1335 }; 1336 1337 // In the custom forms, by using the data-min-date parameter 1338 // we can specify the minDate in the calendar 1339 if ($(this).attr('data-max-date') && $(this).attr('data-max-date')!='null'){ // check if there is a date set for the calendar 1340 maxDateValue = $(this).attr('data-max-date'); 1341 maxDateValue = new Date(maxDateValue); 1342 } else { // for the rest of the cases, the initial date is the current day 1343 maxDateValue = null; 1344 }; 1345 1346 $(this).datepicker({ 1347 minDate: minDateValue, 1348 maxDate: maxDateValue, 1349 dateFormat: "dd M yy", 1350 closeText: "Close", 1351 currentText: "", 1352 firstDay: 0, 1353 nextText: " >>", 1354 prevText: "<< ", 1355 monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "
1355November", "December"], 1356 monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], 1357 dayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 1358 dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 1359 dayNamesMin: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 1360 isRTL: false, 1361 onSelect: function(selectedDate) { 1362 // Removes previous error message on date selection 1363 if (typeof $.validator === 'function') {$(this).valid();} 1364 } 1365 }) 1366 .on('focus',function() {$(this).trigger('blur');}); 1367 }); 1368 }); 1369 1370 // ****************************************** // 1371 // CALENDAR * // 1372 // ****************************************** // 1373 1374 $('.smrt-booking').each(function() { 1375 var $calendar = $(this); 1376 var $calendar_arrival_and_departure = $calendar.find('.datepicker.smrt-arrival, .datepicker.smrt-departure'); 1377 var $calendar_arrival = $calendar.find('.datepicker.smrt-arrival'); 1378 var $calendar_departure = $calendar.find('.datepicker.smrt-departure'); 1379 var $calendar_room = $calendar.find('select.smrt-room'); 1380 var $calendar_pack = $calendar.find('input.smrt-room'); 1381 var $calendar_special = $calendar.find('input.smrt-pricegroup'); 1382 var $calendar_promo = $calendar.find('input.smrt-promo'); 1383 $calendar_arrival.datepicker({ 1384 minDate: "0", 1385 dateFormat: "dd M yy", 1386 closeText: "Close", 1387 currentText: "", 1388 firstDay: 1, 1389 nextText: " >>", 1390 prevText: "<< ", 1391 monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "
1391November", "December"], 1392 monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], 1393 dayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 1394 dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 1395 dayNamesMin: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 1396 isRTL: false, 1397 onSelect: function(selectedDate) { 1398 // Removes previous error message on date selection 1399 if (typeof $.validator === 'function') {$(this).valid();} 1400 }, 1401 onClose: function() { 1402 var minDate = $calendar_arrival.datepicker('getDate'); 1403 if (minDate) { 1404 minDate.setDate(minDate.getDate() + 1); 1405 } 1406 $calendar_departure.datepicker('option', 'minDate', minDate || 1) 1407 .on('focus', function() {$(this).trigger('blur');}); 1408 } 1409 }) 1410 .on('focus', function() {$(this).trigger('blur');}); 1411 $calendar_departure.datepicker({ 1412 minDate: "1", 1413 dateFormat: "dd M yy", 1414 closeText: "Close", 1415 currentText: "", 1416 firstDay: 1, 1417 nextText: " >>", 1418 prevText: "<< ", 1419 monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "
1419November", "December"], 1420 monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], 1421 dayNames: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 1422 dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 1423 dayNamesMin: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], 1424 isRTL: false, 1425 onSelect: function (selectedDate) { 1426 // Removes previous error message on date selection 1427 if (typeof $.validator === 'function') {$(this).valid();} 1428 } 1429 }) 1430 .on('focus', function() {$(this).trigger('blur');}); 1431 var today = new Date(); 1432 var tomorrow = new Date(today.getTime() + (24 * 60 * 60 * 1000)); 1433 $calendar_arrival.datepicker("setDate", today); 1434 $calendar_departure.datepicker("setDate", tomorrow); 1435 try { 1436 if (localStorage.sb_calendar_now) { 1437 if ($.now() < parseInt(localStorage.sb_calendar_now) + (3600 * 1000)){ 1438 if (localStorage.wd_calendar_date_in != "" && localStorage.wd_calendar_date_out != "") { 1439 var arrival_date = new Date(Number(localStorage.wd_calendar_date_in)); 1440 var departure_date = new Date(Number(localStorage.wd_calendar_date_out)); 1441 $calendar_arrival.datepicker("setDate", arrival_date); 1442 $calendar_departure.datepicker("setDate", departure_date); 1443 } 1444 if (localStorage.sb_calendar_room) { 1445 $calendar_room.find('option').filter(function() { 1446 return $(this).val() == localStorage.sb_calendar_room; 1447 }).prop('selected', true); 1448 } 1449 $('.panel.smart-plain').show(); 1450 $('.panel.smart-mini').hide(); 1451 } else { 1452 localStorage.wd_calendar_date_in = ''; 1453 localStorage.wd_calendar_date_out = ''; 1454 localStorage.sb_calendar_room = ''; 1455 $('.panel.smart-plain').hide(); 1456 $('.panel.smart-mini').show(); 1457 } 1458 } 1459 } catch (error){} 1460 $calendar.find('.smrt-book-now').click(function(e) { 1461 var f_arrival = $calendar_arrival.datepicker("getDate"); 1462 var f_departure = $calendar_departure.datepicker("getDate"); 1463 $calendar_arrival.datepicker({ 1464 dateFormat: "dd M yy" 1465 }); 1466 try { 1467 localStorage.wd_calendar_date_in = f_arrival.getTime(); 1468 localStorage.wd_calendar_date_out = f_departure.getTime(); 1469 localStorage.sb_calendar_room = $calendar_room.val(); 1470 localStorage.sb_calendar_now = $.now(); 1471 } catch (error){} 1472 var corp = false; 1473 if ($(this).hasClass('btn-corporate')){ 1474 var bookingPage = '/en/corporate-reservations/'; 1475 corp = true; 1476 } else { 1477 var bookingPage = '/en/reservations/'; 1478 } 1479 var queryStr = 'date_in=' + sb_createURLDate(f_arrival); 1480 queryStr += '&date_out=' + sb_createURLDate(f_departure); 1481 queryStr += '&ms_in=' + f_arrival.getTime(); 1482 queryStr += '&ms_out=' + f_departure.getTime(); 1483 if ($calendar_room.length > 0 && $calendar_room.val() != '') { 1484 queryStr += '&price_group=' + $calendar_room.val(); 1485 } 1486 if ($calendar_pack.length > 0 && $calendar_pack.val() != '') { 1487 queryStr += '&price_group=' + $calendar_pack.val(); 1488 } 1489 if ($calendar_special.length > 0 && $calendar_special.val() != '') { 1490 queryStr += '&price_group=' + $calendar_special.val(); 1491 } 1492 if ($calendar_promo.length > 0 && $calendar_promo.val() != '') { 1493 queryStr += '&promo_code=' + $calendar_promo.val(); 1494 } 1495 if (corp == true) { 1496 queryStr += '&action=clogin'; 1497 } 1498 1499 1500 locationHref = bookingPage + '?' + queryStr; 1501 document.location.href = locationHref; 1502 }); 1503 }); 1504 }); 1505 1506 function sb_createURLDate(fecha){ 1507 return fecha.getFullYear() + "-" + sb_dos_cifras(fecha.getMonth() + 1) + "-" + sb_dos_cifras(fecha.getDate()); 1508 } 1509 1510 function sb_dos_cifras(valor){ 1511 var resp = (Number(valor) <= 9)?'0' + valor:valor; 1512 return resp; 1513 } 1514 1515 function createDateFormParam(date_parm){ 1516 var ta = date_parm.split("-"); 1517 return new Date(Number(ta[0]), Number(ta[1]) - 1, Number(ta[2])); 1518 } 1519 1520 function sb_from_get_to_calendar(valor){ 1521 var temp_arr = valor.split("-"); 1522 return new Date() 1523 } 1524 1525 $(window).resize(function() { 1526 if (this.resizeTO) clearTimeout(this.resizeTO); 1527 this.resizeTO = setTimeout(function() {$(this).trigger('resizeEnd');}, 200); 1528 SB.mediaCalculate();
1529 con_top(); 1530 }); 1531 $(window).scroll(function(event){ 1532 check_pos(); 1533 //setTimeout(check_pos, 500); 1534 }); 1535 var SB = SB || {}; 1536 SB.mobile = false; 1537 SB.media = null; 1538 SB.orientation = 'landscape'; 1539 SB.mediaCalculate = function () { 1540 navigator.appVersion.indexOf("Mobile") > - 1 && (SB.mobile = !0, $("html").addClass("mobile")), window.matchMedia("(min-width: 1400px)").matches || $(window).width() > 1400?"xl" != SB.media && ($("html").trigger("mediaXl"), SB.media = "xl"):window.matchMedia("(min-width: 1200px)").matches || $(window).width() > 1200?"lg" != SB.media && ($("html").trigger("mediaLg"), SB.media = "lg"):window.matchMedia("(min-width: 992px)").matches || $(window).width() > 992?"md" != SB.media && ($("html").trigger("mediaMd"), SB.media = "md"):window.matchMedia("(min-width: 768px)").matches || $(window).width() > 768?"sm" != SB.media && ($("html").trigger("mediaSm"), SB.media = "sm"):"xs" != SB.media && ($("html").trigger("mediaXs"), SB.media = "xs"), $("html").removeClass("media-xl").removeClass("media-lg").removeClass("media-md").removeClass("media-sm").removeClass("media-xs").addClass("media-" + SB.media), "undefined" == typeof window.orientation || 90 === Math.abs(window.orientation)?"landscape" != SB.orientation && ($("html").trigger("landscape"), SB.orientation = "landscape"):"portrait" != SB.orientation && ($("html").trigger("portrait"), SB.orientation = "portrait"); 1541 $('html').removeClass('portrait').removeClass('landscape').addClass(SB.orientation); 1542 $('.smrt-main-menu .nav').removeClass('navbar-nav').addClass('nav-justified'); 1543 $('.media-xs .smrt-main-menu .nav').removeClass('nav-justified').addClass('navbar-nav'); 1544 $('.media-xs .smrt-booking-absolute').addClass('smrt-booking-fixed'); 1545 $('.media-xs .smrt-booking-fixed').not('.smrt-visible').hide(); 1546 // $('.smrt-footer-buttons').removeClass('smrt-show'); 1547 check_pos(); 1548 }; 1549 SB.mediaCalculate(); 1550 1551 // MENU FOR XS SIZES 1552 (function ($) { 1553 $('[data-toggle=smrt-dropdown]').on('click', function (event) { 1554 if(SB.media == "xs"){ 1555 event.preventDefault(); 1556 event.stopPropagation(); 1557 $(this).parent().siblings().removeClass('open'); 1558 $(this).parent().toggleClass('open'); 1559 } 1560 }) 1561 })(jQuery); 1562 1563 1564 1565 (function(){ 1566 var cookie_name = 'smrt_frida_cookie_policy_102_2861'; 1567 /* OLD COOKIES 1568 $(function() { 1569 if (!getCookie(cookie_name)) { 1570 $('body').prepend('<div class="smrt-ncookies-alert small container-fluid"><div class="alert alert-dismissable alert-danger">Cookies help us deliver our services. By using our services, you agree to our use of cookies.<br class="visible-xs visible-sm"> <a class="alert-link" href="/en/privacy-policy/">See our Privacy Policy for details about cookies and how to opt out.</a> <a class="btn btn-success btn-xs smrt-cookies-close" data-dismiss="alert" type="button">Ok</a></div></div>'); 1571 } 1572 $('.smrt-ncookies-alert .smrt-cookies-close').click(function() { 1573 setCookie(cookie_name, true, 365); 1574 1575 1576 $('.smrt-ncookies-alert').fadeOut(); 1577 }); 1578 }); 1579 */ 1580 function setCookie(name, value, expiration_days) { 1581 var exdate = new Date(); 1582 exdate.setDate(exdate.getDate() + expiration_days); 1583 var c_value = escape(value) + ((expiration_days == null) ? '' : '; path=/; expires=' + exdate.toUTCString()); 1584 document.cookie = name + '=' + c_value; 1585 } 1586 1587 function getCookie(name) { 1588 var c_value = document.cookie; 1589 var c_start = c_value.indexOf(' ' + name + '='); 1590 if (c_start == - 1) { 1591 c_start = c_value.indexOf(name + '='); 1592 } 1593 if (c_start == - 1) { 1594 c_value = null; 1595 } else { 1596 c_start = c_value.indexOf('=', c_start) + 1; 1597 var c_end = c_value.indexOf(';', c_start); 1598 if (c_end == - 1) { c_end = c_value.length; } 1599 c_value = unescape(c_value.substring(c_start, c_end)); 1600 } 1601 return c_value; 1602 } 1603 1604 }()); 1605 1606 1607 </script>
1607 1608 <div id="fbÂroot"></div> 1609 1610 <!-- SETS DEFAULT VALUES FOR THE FORM ELEMENTS: END--> 1611
1611<script src="//d3l592tomi1h4y.cloudfront.net/jquery.validation/1.11.1/dist/jquery.validate.min.js"></script>
1611 1612 1613
1613<script type="text/javascript"> 1614 // <S_tpl_all_newsletter_module_js 1615// S_tpl_all_newsletter_module_js> 1616 1617 </script>
1617 1618
1619<script> 1620 // seting of heigh and width images for improve google page speed results 1621 <!-- <S_tpl_all_images_dimensions_mobile !!--> 1622<!-- <S_tpl_all_images_dimensions_mobile !!--> 1623 1624</script>
1624 1625 1626<!-- S_tpl_frida_scripts> --> 1627 1628 1629
1629<script type="text/javascript"> 1630 function ba_form_contact_submit() { 1631 jQuery('.form_id').val("SnBlYmRKYy9kTmUvMUdFdzNLUjlXRWlnd0lMTk82NENRZjdRVEZ1UDFqOD0="); 1632 jQuery('#smrt-submit-form').attr('disabled', true).text('Sending...'); 1633 jQuery.ajax({ 1634 type: 'POST', 1635 url: '/en/contact/', 1636 data: jQuery(".smrt-form form").not('.smrt-form.smrt-newsletter-form form').serialize(), 1637 dataType: 'script' 1638 }); 1639 baJsGaAdapter.gaBAtr('send', 'event', 'Contact Form computer', 'Send', 'Contact us'); 1640 return false; 1641 } 1642 </script>
1642 1643 <!-- S_tpl_all_google_analytic_events !!-->
1644<script> 1645// This variable will be used for some of the external links 1646// In this way we get don't get any query param from the url 1647var currentUrl = location.protocol + '//' + location.host + location.pathname; 1648 1649 1650// Trancking all events by data-ga-category START 1651/** 1652 * The purpose of this function to send a google analytics event for each 1653 * element that hat a data-ga-category attribute 1654 * 1655 * @param selector The selector that we want to check 1656 * 1657 */ 1658 1659function dataAnalyticsEvents(selector){ 1660 var eventTrack = (selector.attr('data-ga-label') === "value") ? "change" : "click"; 1661 $(selector).on(eventTrack ,function(){ 1662 var dataLabel = selector.attr('data-ga-label'); 1663 var dataCategory = selector.attr('data-ga-category'); 1664 var dataAction = selector.attr('data-ga-action'); 1665 // If the dataAction is undefined, we overwrite it by the href attribute 1666 if (dataAction == undefined) { 1667 dataAction = selector.attr('href'); 1668 }; 1669 // If the dataLabel is undefined, we use the page current url 1670 if (dataLabel == undefined) { 1671 dataLabel = currentUrl; 1672 } else if (dataLabel === "value"){ 1673 dataLabel = $(this).val(); 1674 }; 1675 baJsGaAdapter.gaBAtr('send', 'event', dataCategory, dataAction, dataLabel); 1676 // console.log('send', 'event', dataCategory, dataAction, dataLabel); 1677 }); 1678}; 1679 1680// Targeting all data-ga-category elements 1681$('[data-ga-category]').each(function(){dataAnalyticsEvents($(this));}); 1682// Trancking all events by data-ga-category END 1683 1684 1685// Tracking all the documents START 1686/** 1687 * The purpose of this function to send a google analytics event for each 1688 * link that points to a document 1689 * 1690 * @param selector The selector that we want to check 1691 * 1692 */ 1693function analyticsDocuments(selector){ 1694 // We add the data-ga-category, becasue for the rest of the links 1695 // we don't want the ones containing documents to be tracked twice 1696 // as for external links we are using the .not('[data-ga-category]') selector 1697 selector.attr('data-ga-category','Documents'); 1698 selector.click(function(){ 1699 var href = selector.attr('href'); 1700 // filename contains just the name of the file 1701 // that's why we are using a substring function 1702 var filename = href.substring(href.lastIndexOf('/')+1); 1703 baJsGaAdapter.gaBAtr('send', 'event', 'Downloads', filename, currentUrl); 1704 }) 1705}; 1706 1707// First we define an array with all the document types 1708var allowed_types = ['pdf','doc','docx','rtf', 'pps', 'ppsx', 'ppt', 'pptx', 'xls', 'xlsx']; 1709 1710// Targeting all document types in the array 1711for (var i = 0; i < allowed_types.length; ++i) { 1712 $('a[href$=".'+allowed_types[i]+'"]').each(function(){analyticsDocuments($(this));}) 1713}; 1714// Tracking all the documents END 1715 1716// Tracking all external links START 1717/** 1718 * The purpose of this function to send a google analytics event for each 1719 * external link 1720 * 1721 * @param selector The selector that we want to check 1722 * 1723 */ 1724function analyticsExternalLinks(selector){ 1725 var href = selector.attr('href'); 1726 1727 // We are not considering as external links those that points 1728 // to the website itself 1729 var origin = window.location.origin; 1730 origin = origin.replace('//','\/\/'); 1731 var regex = RegExp(origin); 1732 1733 if(!href.match(regex)) { 1734 var href = selector.attr('href'); 1735 selector.click(function(){ 1736 baJsGaAdapter.gaBAtr('send', 'event', 'External links', href, currentUrl); 1737 }) 1738 } 1739}; 1740 1741// Targeting all the external links 1742// leaving aside the ones with the data-ga-category attribute 1743$('a[href^="//"],a[href^="http://"],a[href^="https://"],a[href^="www."]').not('[data-ga-category]').each(function(){analyticsExternalLinks($(this));}); 1744// Tracking all external links END 1745 1746// Tracking all emails START 1747/** 1748 * The purpose of this function to send a google analytics event for each 1749 * email click 1750 * 1751 * @param selector The selector that we want to check 1752 * 1753 */ 1754function analyticsEmails(selector) { 1755 selector.click(function(){ 1756 var email = selector.attr('href'); 1757 baJsGaAdapter.gaBAtr('send', 'event', 'Direct contact', 'Email', currentUrl); 1758 }) 1759} 1760 1761// Targeting all emails 1762$('a[href^="mailto:"]').each(function(){analyticsEmails($(this));}); 1763// Tracking all emails END 1764 1765 1766// Tracking all direct mobile calls START 1767/** 1768 * The purpose of this function to send a google analytics event for each 1769 * phone call click 1770 * 1771 * @param selector The selector that we want to check 1772 * 1773 */ 1774function analyticsMobileCalls(selector) { 1775 selector.click(function(){ 1776 var tel = selector.attr('href'); 1777 baJsGaAdapter.gaBAtr('send', 'event', 'Direct contact', 'Telephone', currentUrl); 1778 }) 1779}; 1780 1781// Targeting all phone calls 1782$('a[href^="tel:"]').each(function(){analyticsMobileCalls($(this));}); 1783// Tracking all direct mobile calls END 1784 1785 1786 1787$("#smrt-arrival").on("change", function(){baJsGaAdapter.gaBAtr("send", "event", "Check availability box", "check in", $(this).val())});$("#smrt-departure").on("change", function(){baJsGaAdapter.gaBAtr("send", "event", "Check availability box", "check out", $(this).val())});$("#smrt-room").on("change", function(){baJsGaAdapter.gaBAtr("send", "event", "Check availability box", "select room", $("#smrt-room option:selected").text())});$("#smrt-promocode").on("change", function(){baJsGaAdapter.gaBAtr("send", "event", "Check availability box", "promo code", $(this).val())});$(".smrt-booking .smrt-book-now").on("click", function(){baJsGaAdapter.gaBAtr("send", "event", "Check availability box", "book now", "Book now")});</script>
1787<!-- S_tpl_all_google_analytic_events> !--> 1788 1789 <!-- <S_tpl_frida_close -->
1790<script type="application/ld+json"> 1791{ 1792 "@context": "https://schema.org", 1793 "@type" : "Hotel", 1794 "name" : "Coral Beach Aparthotel", 1795 "url" : "https://www.coralbeach.es/en/", 1796 "sameAs" : [ 1797 "https://www.facebook.com/ApartHotel-Coral-Beach-130194780396615/", 1798 "https://instagram.com/coralbeachapartments" 1799 ], 1800 "address" : { 1801 "@type" : "PostalAddress", 1802 "addressCountry" : "Spain", // To review, check if translation is needed 1803 "addressLocality" : "Marbella, Málaga", // To review, check if translation is needed 1804 "postalCode" : "29602", 1805 "streetAddress" : "Urb. Coral Beach, Km. 176" 1806 }, 1807 "telephone" : "+34 952 775 000", 1808 "faxNumber" : "+34 952 775 030", 1809 "email" : "[email protected]", 1810 "image" : "https://www.coralbeach.es/files-sbbasic/sr_coralbeach_es/logo/coral-beach-aparthotel-marbella-01.jpg", 1811 "starRating" : { 1812 "@type" : "Rating", 1813 "ratingValue" : "4" 1814 }, 1815 "geo" : { 1816 "@type" : "GeoCoordinates", 1817 "latitude" : "36.498", 1818 "longitude" : "-4.94114" 1819 }, 1820 "makesOffer" : [ 1821 ] 1822} 1823</script>
1823 1824
1825<script> 1826//https://app.hubspot.com/contacts/6862341/record/0-5/1861778559 1827 if ($('html').hasClass('smrt-ru')) { 1828 $('.form-group.smrt-btn a').each(function() { 1829 var text = $(this).text(); 1830 text = text.replace('книга напÑÑмÑÑ', 'ÐоÑÐµÐ¼Ñ Ñ Ð½Ð°Ð¼Ð¸ вÑгоднее?'); 1831 $(this).text(text); 1832 });} 1833 1834if ($('html').hasClass('smrt-ru')) { 1835 $('.nav-tabs.nav-justified > li > a:nth-child(1)').each(function() { 1836 var text = $(this).text(); 1837 text = text.replace('книга напÑÑмÑÑ', 'ÐоÑÐµÐ¼Ñ Ñ Ð½Ð°Ð¼Ð¸ вÑгоднее?'); 1838 $(this).text(text); 1839 });}</script>
1839 1840</body> 1841</html> 1842
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.