Read article : 5753 Cobblestone, Osage Beach, MO 65065 | MLS 3125292 | Listing Information | Berkshire Hathaway HomeServices Lake Ozark Realty
'); $("#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'); var $mapDiv = $("#gallery-birdseye-map-container"); if (!$mapDiv.data("loaded")) { galleryMap = new BingMap({ startingMidLat: latitude, startingMidLong: longitude, startingZoom: 18, mapView: mapDefault, centerPin: true, showBubble: false, showPoi: false, showLayerMenu: false, showParcelLines: true, disableMouseWheel: true, controlTheme: controlTheme, container: 'gallery-birdseye-map', backend: rbw.context.mapProvider }); setTimeout(galleryMap.load, 500); $mapDiv.data("loaded", true); $(window).unload(galleryMap.dispose); } else { galleryMap.load(); } $('#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'); } }); })();
No comments:
Post a Comment