Compare Rooms

Your room comparison list is prepared for you below. To add rooms to this list check the ‘Compare Room’ icon on each listing page.

There are no listings to compare
"); gdas_ac_init_suggestions($input); if ( gdasac_suggestions_with != 'posts' ) { gdas_ac_categories(); } } // resize gdas_ac_resize_suggestions(); // set if is search near if(jQuery('.gdlm-location-suggestions:visible').prev().hasClass('snear')){ gdasac_is_search = true; }else{ gdasac_is_search = false; } } function gdas_ac_focus_out($input){ setTimeout(function() { if (!gdasac_do_not_close) { jQuery($input).parent().find(".gdas-search-suggestions").hide(); } },200); } /** * Get the current post_type categories as suggestions. * */ function gdas_ac_categories(){ $input = jQuery(gdasac_selected); var post_type = jQuery($input).parent().parent().find("input[name='stype']").val(); var post_type_slug = jQuery($input).parent().parent().find("input[name='stype']").data("slug"); if(!post_type_slug) { post_type_slug = jQuery($input).parent().parent().find(".search_by_post").find(':selected').data("slug"); } if (typeof post_type_slug == 'undefined') { post_type_slug = jQuery(".search_by_post").find(':selected').data("slug"); } var search = jQuery($input).val(); if (typeof search == 'undefined') { search = ''; } jQuery.ajax({ type: "GET", url: geodir_params.api_url + "" + post_type_slug+"/categories/?orderby=count&search="+search+"&per_page="+geodir_search_params.autocompleter_max_results, success: function (data) { gdasac_categories = data;gdasac_doing_search--; html = ''; gdasac_li_type = 'category'; jQuery.each(gdasac_categories, function (index, value) { html = html + gdas_ac_create_li('category', value); }); jQuery(gdasac_selected).parent().find("ul.gdasac-category").empty().append(html); }, error: function (xhr, textStatus, errorThrown) { console.log(errorThrown); } }); } /** * Get the current post_type categories as suggestions. * */ function gdas_ac_listings(){ $input = jQuery(gdasac_selected); var post_type = jQuery($input).parent().parent().find("input[name='stype']").val(); var post_type_slug = jQuery($input).parent().parent().find("input[name='stype']").data("slug"); if(!post_type_slug) { post_type_slug = jQuery($input).parent().parent().find(".search_by_post").find(':selected').data("slug"); } var search = jQuery($input).val(); if(search && search.length >= geodir_search_params.autocomplete_min_chars){ jQuery.ajax({ type: "GET", url: geodir_params.api_url + "" + post_type_slug+"/?search="+search+"&per_page="+geodir_search_params.autocompleter_max_results, success: function (data) { gdasac_listings = data;gdasac_doing_search--; html = ''; gdasac_li_type = 'listing'; jQuery.each(gdasac_listings, function (index, value) { html = html + gdas_ac_create_li('listing', value); }); jQuery(gdasac_selected).parent().find("ul.gdasac-listing").empty().append(html); }, error: function (xhr, textStatus, errorThrown) { console.log(errorThrown); } }); }else{ jQuery(gdasac_selected).parent().find("ul.gdasac-listing").empty(); } } /** * set the max height for the suggestion div so to never scroll past the bottom of the page. */ function gdas_ac_resize_suggestions(){ setTimeout(function(){ if(jQuery('.gd-suggestions-dropdown:visible').length){ var offset = jQuery('.gd-suggestions-dropdown:visible').offset().top; var windowHeight = jQuery( window ).height(); var maxHeight = windowHeight - ( offset - jQuery(window).scrollTop() ); if(jQuery('.gd-suggestions-dropdown:visible').prev().hasClass('gd_search_text')){ jQuery('.gd-suggestions-dropdown:visible').css('max-height',windowHeight - 40); }else{ jQuery('.gd-suggestions-dropdown:visible').css('max-height',maxHeight); } } }, 50); } function gdas_ac_init_suggestions($input){ setTimeout(function(){ gdas_ac_resize_suggestions(); }, 250); jQuery($input).keyup(function ($input) { gdasac_doing_search = 3;// city, region, country if(gdasac_keyup_timeout != null) clearTimeout(gdasac_keyup_timeout); gdasac_keyup_timeout = setTimeout(gdas_ac_maybe_fire_suggestions,500); }); } function gdas_ac_maybe_fire_suggestions(){ gdasac_keyup_timeout = null; if ( gdasac_suggestions_with != 'terms' ) { gdas_ac_listings(); } if ( gdasac_suggestions_with != 'posts' ) { gdas_ac_categories(); } } function gdas_ac_create_li($type,$data){ var output = ''; var history = ''; var $delete = ''; if(gdasac_li_type != ''){ if($type=='category'){ output += '
  • Categories
  • '; }else if($type=='listing'){ output += '
  • Listings
  • '; }else{ output += '
  • '+$type.charAt(0).toUpperCase() + $type.slice(1)+'
  • '; } } gdasac_li_type = ''; if($data.history){ history = ' '; $delete = ' '; }else if($type == 'category' && $data.fa_icon){ var icon_color = $data.fa_icon_color ? '#fff' : ''; history = ' '; }else if($type == 'category'){ history = ' '; }else if($type == 'listing' && $data.featured_image.thumbnail){ history = ' '; }else{ history = ' '; } if($type=='category'){ if($data.area){$data.city = $data.area;} output += '
  • '+history+''+ $data.name + ''+$delete+'
  • '; }else if($type=='listing'){ if($data.area){$data.region = $data.area;} output += '
  • '+history+''+ $data.title.rendered + ''+$delete+'
  • '; } return output; } function gdasac_click_action($type,$url){ if($type=='category'){ // add location if(geodir_search_params.autocompleter_filter_location) { var current_location = geodir_params.location_url; $location_string = current_location.replace(geodir_params.location_base_url, ""); $url += $url.endsWith("/") ? "" : "/"; $url += $location_string; } window.location = $url }else if($type=='listing'){ window.location = $url } }

    therapyroom.rent