See Our Impressive Units

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum finibus vehicula sodales. Praesent sit amet erat faucibus est blandit molestie. In nec justo pharetra, lacinia odio non, rhoncus eros. Aliquam ultricies mollis nunc. Cras vitae ligula eget arcu molestie lacinia eget in lacus. Phasellus imperdiet pellentesque mollis. Praesent finibus lorem id ipsum tristique tincidunt.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum finibus vehicula sodales. Praesent sit amet erat faucibus est blandit molestie. In nec justo pharetra, lacinia odio non, rhoncus eros. Aliquam ultricies mollis nunc. Cras vitae ligula eget arcu molestie lacinia eget in lacus. Phasellus imperdiet pellentesque mollis. Praesent finibus lorem id ipsum tristique tincidunt. [foogallery id=”905″]
/***** Reviews *****/ .reviewTable{ width: 100%; margin-bottom: 0; } .facReview th:last-child, .facReview td:last-child { width:100%; } .reviewCompany{ clear:both; font-weight:bold; } .reviewLogo{ vertical-align: top; } .reviewTable .facReview:nth-of-type(1n+1002){ display:none; } .reviewAuthor{ text-align: right; } .reviewComment{ margin-bottom: 5px; margin-top: 5px; clear: both; } .reviewContainer { margin-bottom: 50px; margin-top: 40px; } .tsg-columnsb.feedbackblurb b { margin: 20px 0; float: left; width: 100%; } div#tsg-total-reviews { margin-bottom: 50px; /* float: left; */ width: 100%; } .leaveAReviewWrapper{ display:none; } .selectLocationsForReviewsText{ padding-bottom:10px; } .reviewTable{ border-collapse: separate; } .leaveReview { margin-right:5px; } .leaveReview:first-of-type { margin-left: 0; } .leaveAReviewTD{ padding-bottom:50px; } .selectedLocation{ margin-bottom: 1.5rem; } .commentLink{ margin-left:0px; margin-right:5px; } .selectLocationsForReviewsText{ font-weight:bold; } .more-limit-link{ float: right; margin-top: 2.5rem; } @media (max-width: 768px) { .leaveReviewMessage{ display:block; width:100%; } } .reviewDate, .reviewAuthor { display: inline-block; } .reviewAuthor { float: right; clear: both; }
Reviews Coming Soon!
docReady(function() { //this is for single facility if("0" == 1){ cQuery('.selectLocationsForReviews').hide(); cQuery('.facReview').show(); cQuery('.leaveAReviewWrapper').show(); } if("0" == 0){ var firstReviewMessage = SHARED.candee_translate('Be the first to review', candee_js_variables.lang); cQuery('.leaveReviewMessage').text(firstReviewMessage+':'); } //lets remove any options that don't have reviews cQuery('.propOption').each(function( index ) { var propID = cQuery(this).attr('data-propid'); if(cQuery('.facility-id-'+propID).length == 0){ cQuery(this).remove(); } }); cQuery(document).on('click', '.leaveAReviewWrapper a', function(){ var title = cQuery(this).attr('title').toLowerCase(); var link = cQuery(this).attr('href'); var facName = cQuery('.selectedLocation').find(':selected').text(); var googleData = { 'facname': facName, 'cat': 'CAS3-reviews', 'action': 'leave-review', 'label': title, 'value': link, }; SHARED.post_gtag(JSON.stringify(googleData)); }); cQuery('.selectedLocation').on('change', function(){ cQuery('.facReview').show(); var fac = cQuery(this).find(':selected').attr('data-propid'); var facName = cQuery(this).find(':selected').text(); //remove all from the select cQuery('.selectLocationsDefault').remove(); //hide all facilties cQuery('.reviewTable').hide(); //show selected facility cQuery('.facility-id-'+fac).show(); cQuery('.facility-id-'+fac + ' .leaveAReviewWrapper').show(); var googleData = { 'facname': facName, 'cat': 'CAS3-reviews', 'action': 'reviews-facility-dropdown', 'label': 'reviews-facility-dropdown', 'value': facName, }; SHARED.post_gtag(JSON.stringify(googleData)); }); // Preselect location if option is set. Otherwise show first locations within limit var preselect = 'false'; if (preselect !== 'false'){ var selectedVal = ''; if (preselect === 'true'){ selectedVal = cQuery(cQuery('.propOption')[0]).val(); } else { selectedVal = cQuery(cQuery('.propOption[data-propid="'+preselect+'"]')[0]).val() } cQuery(cQuery('.selectedLocation')[0]).val(selectedVal); cQuery(cQuery('.selectedLocation')[0]).trigger('change'); } else { cQuery('.facReview').each(function(index){ if (index >= 3){ cQuery(this).hide(); } else { cQuery(this).show(); } }); } //if user sets random ony show random amount var random = 0; var randomForAll = false; if("0" > 0){ var divs = []; if( randomForAll == true ){ //do random for each faclity cQuery('.reviewsTheme1 .reviewTable').each(function( index, reviewTable ) { var review = cQuery(reviewTable).find('.facReview'); var div = cQuery(review).get().sort(function(){ return Math.round(Math.random())-0.5; //so we get the right +/- combo }).slice(0,random); divs.push(div); }); } else { //overall reandom var div = cQuery('.reviewsTheme1 .facReview').get().sort(function(){ return Math.round(Math.random())-0.5; //so we get the right +/- combo }).slice(0,random); divs.push(div); } cQuery('.reviewsTheme1').prepend('
'); cQuery(divs).each(function( index, rev ) { cQuery('.reviewsTheme1 .facReviewWrapper').append(rev); cQuery(rev).css('display', 'block'); }); } if(candee_js_variables.facilities.length > 1){ let inputId = 'selectReviewLocation'; var $select = cQuery('#'+inputId); var $container = $select.closest('.selectLocationsForReviews'); $select.off('change').on('change', function(){ var $opt = cQuery(this).find('option:selected'); var facName = $opt.text(); var prop_id = $opt.attr('data-propid'); cQuery(this).attr('data-propid', prop_id); if (prop_id && prop_id != '0') { cQuery('.facReview').show(); cQuery('.reviewTable').hide(); cQuery('.facility-id-'+prop_id).show(); cQuery('.facility-id-'+prop_id + ' .leaveAReviewWrapper').show(); } else { cQuery('.reviewTable').show(); } var googleData = { 'facname': facName, 'cat': 'CAS3-reviews', 'action': 'reviews-facility-dropdown', 'label': 'reviews-facility-dropdown', 'value': facName, }; SHARED.post_gtag(JSON.stringify(googleData)); }); // Trigger change on page load to show default facility's social media $select.trigger('change'); $container.find('.clearLocationButton').off('click').on('click', function(e){ e.preventDefault(); var $def = $select.find('option.selectLocationsDefault'); if ($def.length) { $select.val($def.val()); $select.removeAttr('data-propid').trigger('change'); } else { $select.val(''); $select.removeAttr('data-propid').trigger('change'); } }); } });
Recent Posts