// get the url to determine the page location
page = $(location).attr('pathname');
- // if current page is NOT reservation change submit to regular button to nav to reservation page
- /* if (page.indexOf("reservation") <= 0) {
- $("#resBtn").prop("type", 'button');
- $("#resBtn").prop("id", "btn");
- $("#offResBtn").prop("type", 'button');
- $("#offResBtn").prop("id", "offBtn");
- } */
// remove featured image from reservation page and trigger form submission to iframe
if (page.indexOf("reservation") >= 0) {
$("#head-img").remove();
- /* $(document).ready(function () {
- $("#resBtn").trigger("click");
- }); */
+
}
- // navigate to reservation page
- // $('#btn').click(function () {
- // window.location.href = "reservation";
- //});
- //$('#offBtn').click(function () {
- // window.location.href = "reservation";
-
- // });
// save guest input
$('#guests').blur(function () {
// remove featured image from reservation page and trigger form submission to iframe
if (page.indexOf("reservation") >= 0) {
$("#head-img").remove();
- /* $(document).ready(function () {
- $("#resBtn").trigger("click");
- }); */
+
}
// save guest input
+++ /dev/null
-<?php get_header(); ?>
-<main class="page-inside">
- <div id="head-img">
- <?php echo glm_get_background(); ?>
- </div>
- <div id="content-wrapper">
- <div class="row">
- <div class="tag small-11 small-centered columns">
- <img class="show-for-small-down" src="<?php echo get_template_directory_uri(); ?>/assets/tagline.jpg">
- </div>
- <?php
- get_template_part('parts/bread-crumbs');
- ?>
- </div>
- <div class="row">
- <div id="main-content" class="small-12 columns">
- <?php if(have_posts()) : while(have_posts()): the_post();?>
- <?php the_content();?>
- <?php endwhile; else:?>
- <p><?php _e('Sorry, no results found.');?></p>
- <?php endif;?>
-
- <iframe name="res_frame" src="https://weblink.instantsoftware.com/widgetsearch/1134?ArrivalDate=<?php echo urlencode($_REQUEST['ArrivalDate']); ?> &DepartureDate= <?php echo urlencode($_REQUEST['DepartureDate']); ?>&Occupancy=<?php echo urlencode($_REQUEST['Occupancy']); ?>" height="3300" id="res_frame" width="100%" frameborder="0"></iframe>
- </div>
- </div>
- </div>
-</main><!--End of main-->
-<?php get_footer(); ?>
--- /dev/null
+<?php get_header(); ?>
+<main class="page-inside">
+ <div id="head-img">
+ <?php echo glm_get_background(); ?>
+ </div>
+ <div id="content-wrapper">
+ <div class="row">
+ <div class="tag small-11 small-centered columns">
+ <img class="show-for-small-down" src="<?php echo get_template_directory_uri(); ?>/assets/tagline.jpg">
+ </div>
+ <?php
+ get_template_part('parts/bread-crumbs');
+ ?>
+ </div>
+ <div class="row">
+ <div id="main-content" class="small-12 columns">
+ <?php if(have_posts()) : while(have_posts()): the_post();?>
+ <?php the_content();?>
+ <?php endwhile; else:?>
+ <p><?php _e('Sorry, no results found.');?></p>
+ <?php endif;?>
+
+ <iframe name="res_frame" src="https://weblink.instantsoftware.com/widgetsearch/1134?ArrivalDate=<?php echo urlencode($_REQUEST['ArrivalDate']); ?> &DepartureDate= <?php echo urlencode($_REQUEST['DepartureDate']); ?>&Occupancy=<?php echo urlencode($_REQUEST['Occupancy']); ?>" height="3300" id="res_frame" width="100%" frameborder="0"></iframe>
+ </div>
+ </div>
+ </div>
+</main><!--End of main-->
+<?php get_footer(); ?>