<a href="https://www.gulfcoast.org/casinos/" target="" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,g_xy_center,h_366,q_65,w_581,x_4783,y_2059/v1/clients/gulfcoast/Masked_Couple_slots_retouchshirt_1__f9516547-3be5-4274-9f72-87e1636aebb1.jpg" alt="Couple at Slots" /></a> <a href="https://www.gulfcoast.org/outdoors/" target="" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,h_366,q_65,w_581/v1/clients/gulfcoast/Outdoors_8d359ca2-9c69-4dda-b987-0e1ceb5f8011.jpg" alt="Live Oak" /></a> <a href="https://www.gulfcoast.org/plan/deals/attraction-pass/" target="" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,g_xy_center,h_211,q_65,w_335,x_3539,y_1926/v1/clients/gulfcoast/1K4A1204_6172ebdb-a1e9-4491-9e65-2487ae042d89.jpg" alt="Coastal Mississippi Attractions Pass" /></a> <a href="https://www.gulfcoast.org/things-to-do/outdoor-adventure-and-nature/gulf-coast-islands/"> </a> <a href="https://www.gulfcoast.org/things-to-do/outdoor-adventure-and-nature/gulf-coast-islands/"> </a> <a href="https://www.gulfcoast.org/things-to-do/outdoor-adventure-and-nature/gulf-coast-islands/"> </a> <a href="https://www.gulfcoast.org/things-to-do/outdoor-adventure-and-nature/gulf-coast-islands/"> </a> <a href="https://www.gulfcoast.org/things-to-do/outdoor-adventure-and-nature/gulf-coast-islands/"> </a> Explore Coastal Mississippi <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,g_xy_center,h_194,q_80,w_290,x_720,y_696/v1/clients/gulfcoast/waveland_ab1efe93-dd19-44fd-9865-07d012b74901.jpg" alt="Waveland Header" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/waveland/" target="_self" rel="noopener">Waveland</a></h4> <p>Known as “The Hospitality City”, Waveland is the only community in Coastal Mississippi which prohibits...</p> <a href="https://www.gulfcoast.org/coastal-communities/waveland/" target="_self" rel="noopener">Learn More</a> <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,h_194,q_80,w_290/v1/clients/gulfcoast/086A1564_ed998e2f-d872-45d2-a337-301c7c4a2500.jpg" alt="Mockingbird Cafe in Bay St. Louis" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/bay-st-louis/" target="_self" rel="noopener">Bay St. Louis</a></h4> <p>“Best Place to Live in Mississippi,” one of the “Coolest Small Towns in America” and a “Top Ten Small Beach...</p> <a href="https://www.gulfcoast.org/coastal-communities/bay-st-louis/" target="_self" rel="noopener">Learn More</a> <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,h_194,q_80,w_290/v1/clients/gulfcoast/diamondhead_country_club_7abb9361-b578-4c80-abb1-480ec7582c3e.jpg" alt="Diamondhead Country Club" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/diamondhead/" target="_self" rel="noopener">Diamondhead</a></h4> <p>Get active in this coastal gem! Play a round of couple’s tennis or gather a group for 18-holes. If you’re...</p> <a href="https://www.gulfcoast.org/coastal-communities/diamondhead/" target="_self" rel="noopener">Learn More</a> <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,h_194,q_80,w_290/v1/clients/gulfcoast/PassChristian_General_1_fcc5585b-8e10-4a91-aa5e-4341196a2343.jpg" alt="Pass Christian Scenic" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/pass-christian/" target="_self" rel="noopener">Pass Christian</a></h4> <p>View unforgettable historic homes and magnificent oaks during your time in “The Pass”. If you’re aiming to...</p> <a href="https://www.gulfcoast.org/coastal-communities/pass-christian/" target="_self" rel="noopener">Learn More</a> <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,h_194,q_80,w_290/v1/clients/gulfcoast/MSGC20897Websiteimages8_LongBeach_9f06c918-2716-4edc-b415-8228202d190a.jpg" alt="Long Beach Marina" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/long-beach/" target="_self" rel="noopener">Long Beach</a></h4> <p>Beautiful scenery and a bicycle-friendly town makes this coastal gem a hidden treasure. Stop into any of the...</p> <a href="https://www.gulfcoast.org/coastal-communities/long-beach/" target="_self" rel="noopener">Learn More</a> <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,h_194,q_80,w_290/v1/clients/gulfcoast/temp_87586048-2bb6-408c-b92b-a2d7aca65994.jpg" alt="Jones Park Barksdale Pavilion" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/gulfport/" target="_self" rel="noopener">Gulfport</a></h4> <p>From recreation to entertainment to incredible dining options, Gulfport offers something for everyone. Whether...</p> <a href="https://www.gulfcoast.org/coastal-communities/gulfport/" target="_self" rel="noopener">Learn More</a> <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,g_xy_center,h_194,q_80,w_290,x_684,y_894/v1/clients/gulfcoast/Coastal_MS_2019_1761_383f00b9-db1e-42a4-bd08-cabba2e25133.jpg" alt="Biloxi Schooner" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/biloxi/" target="_self" rel="noopener">Biloxi</a></h4> <p>Once known as the “Seafood Capital of the World”, Biloxi offers both revival and relaxation in equal measure....</p> <a href="https://www.gulfcoast.org/coastal-communities/biloxi/" target="_self" rel="noopener">Learn More</a> <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,g_xy_center,h_194,q_80,w_290,x_406,y_244/v1/clients/gulfcoast/diberville_header_99ec5d4d-d2af-48f3-8494-62505afd2145.jpg" alt="D'Iberville Header Image" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/diberville/" target="_self" rel="noopener">D'Iberville</a></h4> <p>Rent a kayak and explore the Tchoutacabouffa River – as soon as you learn how to pronounce it. Stroll through...</p> <a href="https://www.gulfcoast.org/coastal-communities/diberville/" target="_self" rel="noopener">Learn More</a> <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,g_xy_center,h_194,q_80,w_290,x_2451,y_1540/v1/clients/gulfcoast/IMG_7877_2_6f2d5aa7-543a-4902-8bd1-ffe182451586.jpg" alt="Downtown Ocean Springs - Header" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/ocean-springs/" target="_self" rel="noopener">Ocean Springs</a></h4> <p>This “City of Discovery,” boasts a rich history, artistic flair, lush landscape and small-town appeal. Known...</p> <a href="https://www.gulfcoast.org/coastal-communities/ocean-springs/" target="_self" rel="noopener">Learn More</a> <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,g_xy_center,h_194,q_80,w_290,x_525,y_284/v1/clients/gulfcoast/ecotour_4b33e4d7-bde9-40d8-8624-181eaa39aa36.jpg" alt="Eco-Tours - Things to Do in Gautier" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/gautier/" target="_self" rel="noopener">Gautier</a></h4> <p>From inland bayous to Gulf of Mexico breezes, we guarantee your inner explorer will awaken as soon as you...</p> <a href="https://www.gulfcoast.org/coastal-communities/gautier/" target="_self" rel="noopener">Learn More</a> <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,h_194,q_80,w_290/v1/clients/gulfcoast/round_island_1cbc57e5-92b5-4226-a7db-bbc93e235a58.jpg" alt="Round Island Lighthouse" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/pascagoula/" target="_self" rel="noopener">Pascagoula</a></h4> <p>Mississippi's Flagship City boasts incredible antebellum architecture and a rich 300-year history. Visit the...</p> <a href="https://www.gulfcoast.org/coastal-communities/pascagoula/" target="_self" rel="noopener">Learn More</a> <a href="https://www.gulfcoast.org//" target="_self" rel="noopener"> <img src="https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,f_jpg,h_194,q_80,w_290/v1/clients/gulfcoast/Boardwalk_PascagoulaRiverAudubonCenter_MossPoint_90944bc1-a02e-4d3f-87b5-58e05aa0e4e9.jpg" alt="Pascagoula River Audubon - HiRes" /></a> <h4><a href="https://www.gulfcoast.org/coastal-communities/moss-point/" target="_self" rel="noopener">Moss Point</a></h4> <p>Moss Point is the perfect place for outdoor enthusiasts of all ages, with the Pascagoula River Audubon Center...</p> <a href="https://www.gulfcoast.org/coastal-communities/moss-point/" target="_self" rel="noopener">Learn More</a> <![CDATA[ require(['jquery', 'lodash'], function($, _) { var root = $('[data-guid="fb2087cd-2e19-43b4-96fd-de60d18cc284"]'); var state = { prevIndicator: 4, currentIndicator: 5, numIndicators: root.find('.indicator').length, panMap: [-4, -6, -6, -6, -17, -23, -23, -31, -31,-38, -38, -38, -45, -51, -65, -71, -71, -71], areaMap: [ 'stennis_international_airport', 'waveland_1_', 'bay_st_louis_1_', 'diamondhead_1_', 'pass_christian_1_', 'long_beach_1_', 'catisland_1_', 'gulfport_1_', 'gulfport_biloxi_international_airport', 'biloxi_1_', 'ship_island_boundary_1_', 'd_x27_iberville_1_', 'deer_island_boundary', 'ocean_springs_1_', 'horn_island_boundary', 'gautier_1_', 'pascagoula_1_', 'moss_point_1_', 'trent_lott_international_airport', 'round_island_boundary', 'petit_bois_island_boundary_1_' ], areaDotMap: { 'bay_st_louis_1_': 'bay_st_louis_4_', 'biloxi_1_': 'biloxi_4_', 'ship_island_boundary_1_' : 'ship_island_boundary_2_', 'diamondhead_1_': 'diamondhead_4_', 'd_x27_iberville_1_': 'd_x27_iberville_4_', 'deer_island_boundary' : 'deer_island_boundary', 'gautier_1_': 'gautier_8_', 'gulfport_1_': 'gulfport_4_', 'long_beach_1_': 'long_beach_4_', 'catisland_1_': 'catisland_4_', 'moss_point_1_': 'moss_point_8_', 'ocean_springs_1_': 'ocean_springs_4_', 'horn_island_boundary' : 'horn_island_boundary', 'pascagoula_1_': 'pascagoula_8_', 'pass_christian_1_': 'pass_christian_4_', 'waveland_1_': 'waveland_4_', 'petit_bois_island_boundary_1_' : 'petit_bois_island_boundary_1_', 'round_island_boundary' : 'round_island_boundary', 'stennis_international_airport' : 'stennis_international_airport', 'gulfport_biloxi_international_airport' : 'gulfport_biloxi_international_airport', 'trent_lott_international_airport' : 'trent_lott_international_airport', } }; root.on('click', '.btn', handleArrowClick); root.on('click', '.indicator', handleIndicatorClick); root.on('click', '.clickable-area', openPopup); root.on('click', '.close-popup', closePopup) root.on('click', '.click-intercept', closeAllPopups); root.find('.clickable-area').hover(hoverIn, hoverOut); $(window).on('resize', _.debounce(reset, 500)); updateUI(); function reset() { root.find('.clickable-area').removeClass('selected'); updateUI(); } function closeAllPopups(e) { root.find('.slides').removeClass(state.areaMap.join(' ')); root.find('.slide').removeClass('selected'); root.find('.click-intercept').removeClass('selected'); } function closePopup(e) { var slide = $(this).closest('.slide'); root.find('.slides').removeClass(state.areaMap.join(' ')); slide.removeClass('selected'); root.find('.click-intercept').removeClass('selected'); } function openPopup(e) { var id = $(this).attr('id'); root.find('.slides').addClass(id); root.find('[data-id="' + id + '"]').addClass('selected'); root.find('.click-intercept').addClass('selected'); } function hoverIn(e) { var width = window.innerWidth; if (width < 640) return; var area = $(this); var key = area.attr('id'); var dotSelector = '#' + state.areaDotMap[key]; $(dotSelector).addClass('selected'); area.addClass('selected'); } function hoverOut(e) { var width = window.innerWidth; if (width = 640) return; _updateMapPan(); _updateMapHiglight(); _updateIndicatorHighlight(); _updateIndicatorTrack(); _updateBtns(); } function _updateMapPan() { var translateX = state.panMap[state.currentIndicator]; root.find('svg').css('transform', 'translateX(' + translateX + '%)'); } function _updateMapHiglight() { var area = state.areaMap[state.currentIndicator] var areaSelector = '#' + area; var dotSelector = '#' + state.areaDotMap[area]; root.find('.dot').removeClass('selected'); root.find('.clickable-area').removeClass('selected'); root.find(areaSelector).addClass('selected'); root.find(dotSelector).addClass('selected'); } function _updateIndicatorHighlight() { root.find('.indicator').removeClass('selected'); root.find('.indicator[data-index="' + state.currentIndicator + '"]').addClass('selected'); } function _updateIndicatorTrack() { var trackShouldMove = (state.prevIndicator !== 0 && state.prevIndicator !== state.numIndicators - 1); if (trackShouldMove) { // -1 next, 1 prev var direction = state.prevIndicator - state.currentIndicator; var translateX = -96 * (direction > 0 ? state.currentIndicator - 1 : state.prevIndicator); translateX = Math.max(translateX, -864); translateX = Math.min(translateX, 0); root.find('.indicators-track').css('transform', 'translateX(' + translateX + 'px)'); } } function _updateBtns() { var hasDisabledBtn = (state.currentIndicator === 0 || state.currentIndicator === (state.numIndicators - 1)); root.find('.btn').removeAttr('disabled'); if (hasDisabledBtn) { var disabledBtnClass = state.currentIndicator === 0 ? '.btn-prev' : '.btn-next'; root.find(disabledBtnClass).attr('disabled', 'true'); } } }); ]]> <![CDATA[ require([ 'jquery', 'plugins_collections_custom_collection_helper', 'plugins_common_custom_quickview/site_quickview', "site_tripbuilder", "sv_siteSlick" ], function($, collectionHelper, quickview, tripbuilder) { var root = $('[data-guid="5444fc61-ceed-4af5-8107-d31a54d02a0e"]'); collectionHelper.init(root, function() { var slider = root.find('[data-slides]'); slider.slick({ infinite: true, slidesToShow: 3, centerMode: true, prevArrow: root.find('.prevArrow'), nextArrow: root.find('.nextArrow'), responsive: [ { breakpoint: 1024, settings: { slidesToShow: 2 } }, { breakpoint: 641, settings: { slidesToShow: 1 } } ] }); var buttons = root.find('[data-quickview-button]'); quickview.initButtons(buttons); if (tripbuilder !== undefined) { tripbuilder.initButtons({ root : root, addButtonTemplate : '<button>]]></button>', removeButtonTemplate : '<button></button>' }); tripbuilder.updateButtons(root); } }); });
Source
Like this: Like Loading...
Related