"); } } else { centerSlides = true; window.listingPhotoCount = 0; slides.push("
"); } slides.push("
"); $('#carousel-container').attr('id','slick-container').html(slides.join("")); //calculate visible images for each breakpoint if (listingPhotoCount < 8 && listingPhotoCount > 3) centerSlides = false; var breakpoint = [8, 7, 6, 5, 5] switch (listingPhotoCount) { case 8: breakpoint[0] = 7; break; case 7: breakpoint[1] = 6; breakpoint[0] = 6; break; case 6: breakpoint[2] = 5; breakpoint[1] = 5; breakpoint[0] = 5; break; case 5: breakpoint[3] = 4; breakpoint[2] = 4; breakpoint[1] = 4; breakpoint[0] = 4; break; case 4: breakpoint[3] = 2; breakpoint[2] = 3; breakpoint[1] = 3; breakpoint[0] = 3; break; case 3: breakpoint[3] = 2; breakpoint[2] = 2; break; } // MFNTEST console.log('MFNTEST'); console.log(breakpoint[0]); var lazyLoadCount = 0; $('.photo-carousel-responsive').on('lazyLoaded', function () { setTimeout(function () { //console.log('lazy loading'); }, 500); }).slick({ dots: false, infinite: true, lazyLoad: "ondemand", speed: 300, slidesToScroll: 1, slidesToShow: breakpoint[0], responsive: [{ breakpoint: 1920, settings: { slidesToShow: breakpoint[0], } }, { breakpoint: 1680, settings: { slidesToShow: breakpoint[1], } }, { breakpoint: 1440, settings: { slidesToShow: breakpoint[2], } }, { breakpoint: 1024, settings: { slidesToShow: breakpoint[3], } }, { breakpoint: 992, settings: { slidesToShow: breakpoint[4], } }], variableWidth: true, centerMode: centerSlides, prevArrow: '', nextArrow: '' }); setTimeout(function () { $(window).resize(); $(document).trigger("ldp-carousel-ready"); }, 500); $('#description-menu-birdseye-item a').html('Map'); }); } else { luxurySource = ' Luxury'; var VirtualTourUrl = "javascript:open_tour('/Listing/ProcessVirtualTour.aspx?VirtualTour=&ListingID=366941275&IRPAgentID=0&ListingNumber=10022918&ListingSourceID=722')"; $(function() { // the contents of this id are not available in the Luxury - LDP - Top of Page widget so adding this code here if (VirtualTourUrl.length > 0) { $('#virtual-tour').html('Virtual Tour'); } }); }$(function() { $('#listingdetail-disclaimercontainer').addClass('notranslate'); $('#listingdetail-disclaimercontainer').css("text-align","center"); var courtesyOfContainer = $("address.details-listing-courtesy-of_container") var courtesyOf = $.trim(courtesyOfContainer.text()); if (courtesyOf.length === 0) { courtesyOf = "Courtesy Of: Coldwell Banker Advantage-Sout"; var ba = ""; if (ba.length > 0) courtesyOf = courtesyOf + " - " + ba; courtesyOfContainer.text(courtesyOf); }// else if (courtesyOf.length > 0 && !window.isIdxListing) { //courtesyOfContainer.text("Courtesy Of: "); //} //$('a[name="navBar_return_to_search_results"], .ld-ctae-map-directions').remove();try {jQuery.ajax({url: ws_url,type: 'GET',async: true,dataType: 'json',success: function (ws) {var walkScoreText = '' + ws.walkscore + '/100: '; var text; if(ws.walkscore > 74) { $('.walkscore-tagline').html(ws.description); text = 'Daily errands do not require a car'; walkScoreText += text;} else { $('.walkscore-tagline').html(ws.description); text = 'Daily errands may require transportation'; walkScoreText += text;}walkScoreText = "
" + window.getScoreMarkup(ws.walkscore, text);$('.score-100').html(walkScoreText);$('a.ws-link').attr('href', ws.ws_link);}});} catch (e) {console.log("e: " + e);}// Holds all activities that move elements around on the page. function reArrangeElementsOnLdp() { var windowWidth = $(window).width(); checkForDomElement('#navBar_view_previous_listing', function(el) { $(el).html(' Previous'); }); checkForDomElement('#navBar_view_next_listing', function(el) { $(el).html('Next '); }); checkForDomElement('#listingdetail-maindata-REMOVE', function(el) { $(el).removeClass('col-sm-7').removeClass('col-md-8'); }); checkForDomElement('#listingdetail-maindata-REMOVE > p.visible-xs.pull-right', function(el) { $(el).remove(); }); checkForDomElement('#listingdetail-callstoaction', function(el) { $(el).parent().css('height', '0px'); }); checkForDomElement('#description-menu-largerphotos-item', function(el) { $(el).remove(); }); if(windowWidth <= 767) { // 767 = bootstrap "xs" breakpoint checkForDomElement('#mortgage-estimator', function(el) { var $detached = $(el).detach(); $detached.removeClass('lf_flexcol-xxs-12 lf_flexcol-sm-6 lf_component'); $('#mortgage-estimator-mobile').append($detached); $('#mortgage-estimator-mobile-container').removeClass('lf_hidden-sm lf_visible-xxs'); }); checkForDomElement('#lf_greatschools_container', function(el) { var $detached = $(el).detach(); $detached.removeClass('lf_flexcol-xxs-12 lf_flexcol-sm-6 lf_component'); $('#lf_greatschools_mobile').append($detached); $('#lf_greatschools_mobile-container').removeClass('lf_hidden-sm lf_visible-xxs'); }); } checkForDomElement('#sidebarSecondaryContent', function(el) { $(el).find('#lf_action-icons') .detach() .prependTo('#lf_action-icons-container'); if(windowWidth > 767) { // 767 = bootstrap "xs" breakpoint // When displaying on a larger screen... $(el).find('#listingdetail-contactinfo') .detach() .appendTo('#listingdetail-contactform-container'); } else { // When displaying on a smaller screen... // Note: ListingDetail.js moves the contact form to a different location on the page, so // we gotta it elsewhere. // Put the form inside the mobile form container $('#listingdetail-contactinfo') .detach() .prependTo('#listingdetail-contactform-container-mobile'); // And move the container back to where ListingDetail.js originally moved it. $('#listingdetail-contactform-container-mobile') .removeClass('hide lf_col-xxs-12') .insertAfter('#lf_contact-card');//.find('.panel-heading').trigger('click'); //.insertAfter('#listingdetail-summary-photos'); $('#listingdetail-contactform-container').remove(); } $(el).addClass('row'); // Remove per 592 $(el).remove(); }); } reArrangeElementsOnLdp(); $('.icon-arrow-left').removeClass('icon-arrow-left').addClass('fa fa-chevron-left'); if (typeof window.listingPhotos === undefined || window.listingPhotos.length <= 0) { $('.ld-navbar.pager').show(); $('.views-nav-container.navbar').hide(); $('.ld-section .no-image-container > img').css('min-height','420px'); }//checkForDomElement('.pagination-centered2.ld-navbar.pager', function(el) { //$(el).parent().css({'max-width':'1000px','margin':'0 auto'}); //checkForDomElement('.views-nav-container.navbar-default', function(el2) { //$(el).detach().appendTo(el2); //$(el2).addClass('container'); //});//});//checkForDomElement('#photo-viewer-menu', function(el) {// $(el).addClass('row details');//});//checkForDomElement('#navBar_view_previous_listing i.icon-arrow-left', function(el) {// $(el).parent().parent().parent().remove();//}); $(document).on('click','#description-menu-photogallery-item', function() { // carousel // Toggle from photo view to map view$('#current-image-container').hide();// had to directly set the style as toggling from map view to photo view, below, directly sets the style attribute.$("#description-menu-birdseye-item").attr("style", "display:table-cell");});$(document).on('click','#description-menu-birdseye-item', function() { // map // Toggle from map view to photo view$('#current-image-container').show();// for some reason the inline style "display:none" doesn't override all. Had to put !important to force it. $("#description-menu-birdseye-item").attr('style', 'display:none !important'); //remove the layer menu, it shouldn't be on the LDP setTimeout(function() { if (typeof(galleryMap) !== "undefined") { galleryMap.setOptions({showLayerMenu: false}); } }, 200);});$(window).on("orientationchange", function(){ // Fixes the issue when the orientation change the map width does resize properly setTimeout(function(){ // chrome on android needs a delay or the width won't change. $('#current-image-container').width($(window).width()); }, 200);});});
"); $("#ldp-photos").on("onAfterSlide.lg", function (event, p, i) { var index = i; $(".photo-carousel-responsive").slick("slickGoTo", index, true); }); $(".photo-carousel-responsive").on("afterChange", function (slick, currentSlide) { updatePhotoCount(); }); $(".photo-carousel-responsive").after("
"); $(".ldp-photo-count").click(function () { var index = parseInt($(".photo-carousel-responsive").slick("slickCurrentSlide")); if (index < 0) { index = $("#ldp-photos img").length + index; } $("#slick-container .slick-slide[data-slick-index='" + index + "'").click(); //$("#ldp-photos a:eq(" + index + ")").click(); }); updatePhotoCount(); var slickImageClick = function(event) { var slideNumber = parseInt($(event.currentTarget).attr("data-slick-index"), 10); if(slideNumber < 0) { //there's a negative index slideNumber = slickPhotoCount + slideNumber; } if(slideNumber >= slickPhotoCount) { //there's a number out of range (slick clones slides for infinite scroll) slideNumber = slideNumber - slickPhotoCount; } $("#ldp-photos").lightGallery({ download: false, dynamic: true, dynamicEl: html }); $("#ldp-photos").data('lightGallery').index = slideNumber; }; $("#slick-container .slick-slider").on("click", ".slick-slide", slickImageClick); });});
Aberdeen Real Estate at a Glance
- Homes for Sale
- Homes Sold*
- Avg. Days on Market*
- Median Sold Price*
*over last 3 months
Learn more about Aberdeen in our Market Minute Report
You Might Also Like
See More Listings
Skip Slideshow
'); $("#description-menu-birdseye-item>a").html(mapName); }); $(function () { $('#listingdetail-sscontainer').css('visibility', 'visible'); $('#description-menu-birdseye-item a').live('click', function (e) { $('#photo-carousel-container').addClass('showingMap clearfix'); var $mapDiv = $("#gallery-birdseye-map-container"); if (!$mapDiv.data("loaded")) { $mapDiv.data("loaded", true); galleryMap = new BingMap({ startingMidLat: latitude, startingMidLong: longitude, startingZoom: 18, mapView: mapDefault, centerPin: true, showBubble: false, showPoi: false, showLayerMenu: true, showParcelLines: true, disableMouseWheel: true, controlTheme: controlTheme, container: 'gallery-birdseye-map', backend: rbw.context.mapProvider }); setTimeout(galleryMap.load, 500); $(window).unload(galleryMap.dispose); } $('#description-menu-birdseye-item').hide(); $('#description-menu-photogallery-item').show(); $('#photo-viewer-description').hide(); e.preventDefault(); }); var hideMapEvent = function (e) { $('#photo-carousel-container').removeClass('showingMap'); $('#description-menu-birdseye-item').show(); $('#description-menu-photogallery-item').hide(); $('#photo-viewer-description').show(); if (e) e.preventDefault(); }; $('#description-menu-photogallery-item a').live('click', hideMapEvent); $('body').live('photoCarousel.changeCarouselIndex', hideMapEvent); if (window.location.hash == '#listingphoto-gallery-large') PhotoCarousel.showFullScreen(); $('.listingdetail_all_photos').live('click', function () { hideMapEvent(); PhotoCarousel.showFullScreen(); }); if ($('#description-menu-virtualtour-item').length > 0) { $('#description-menu-virtualtour-item').removeClass('divider-before'); } else if ($('#description-menu-largerphotos-item').length > 0) { $('#description-menu-largerphotos-item').removeClass('divider-before'); } else { $('#description-menu-birdseye-item,#description-menu-photogallery-item').removeClass('divider-before'); } }); })();
Information Not Guaranteed Listings marked with an icon are provided courtesy of the Triangle MLS, Inc. of North Carolina, Internet Data Exchange Database. Copyright 2021 Triangle MLS, Inc. of North Carolina. All rights reserved.
This content last refreshed on 10/13/2024 10:14 AM EST. Some properties which appear for sale on this web site may subsequently have sold or may no longer be available.
Information is deemed reliable but is not guaranteed.