Go
My Oklahoma City Trip Planner

You have the following items saved to your itinerary. Click on an item for more information or click the red 'X' to remove.

    Go

    Sales Tax Appreciation Day at Oklahoma City Zoo

    Sales Tax Appreciation Day at Oklahoma City Zoo

    • Recurring on the 2nd Tuesday of July
    • Times: 9:00 AM to 5:00 PM
    • Location: Oklahoma City Zoo & Botanical Garden
    • 2000 Remington Place, Oklahoma City, OK 73111
    • Oklahoma City, OK
    • Price: Free
    • Times: From: 9:00 AM to 5:00 PM
    • Phone: (405) 425-0262
    • Visit Website
    Details

    Held annually on the second Tuesday of July, in recognition of Oklahoma City citizens passing a 1/8 of a cent dedicated sales tax to the Zoo in 1990, admission to the Zoo is free for guests of all ages.

    Map
    Sales Tax Appreciation Day at Oklahoma City Zoo
    \r\n","smfieldid":11,"smserviceid":16}],"taoptin":false,"zip":"73111","address1":"2000 Remington Place","media":[{"mediaid":3468,"mediafile":"original_zoo40-4dea4f245056a36.jpg","mediaurl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo40-4dea4f245056a36_4dea5161-5056-a36a-068f22b6e6fc4eb0.jpg","mediathumburl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo40-4dea4f245056a36_4dea5161-5056-a36a-068f22b6e6fc4eb0.jpg","sortorder":2,"medianame":"Zoo","mediatype":"Image"},{"mediaid":3470,"mediafile":"original_zoo20-4df6adff5056a36.jpg","mediaurl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo20-4df6adff5056a36_4df6aee5-5056-a36a-06ffff6bfbf565e0.jpg","mediathumburl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo20-4df6adff5056a36_4df6aee5-5056-a36a-06ffff6bfbf565e0.jpg","sortorder":3,"medianame":"Zoo","mediatype":"Image"},{"mediaid":4141,"mediafile":"original_zoo11_DBDE0B44-21F1-4875-830D9FE29339F189.jpg","mediaurl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo11_DBDE0B44-21F1-4875-830D9FE29339F189_0960b2d0-3a92-4943-8e712cddea4db3e7.jpg","mediathumburl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo11_DBDE0B44-21F1-4875-830D9FE29339F189_0960b2d0-3a92-4943-8e712cddea4db3e7.jpg","sortorder":4,"medianame":"zoo","mediatype":"Image"},{"mediaid":4142,"mediafile":"original_zoo15_AFC18735-B923-475A-BB90D3CD670AC4E3.jpg","mediaurl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo15_AFC18735-B923-475A-BB90D3CD670AC4E3_446f33f4-6eef-4ff7-9e1eafb0f5302018.jpg","mediathumburl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo15_AFC18735-B923-475A-BB90D3CD670AC4E3_446f33f4-6eef-4ff7-9e1eafb0f5302018.jpg","sortorder":5,"medianame":"zoo","mediatype":"Image"},{"mediaid":4143,"mediafile":"original_zoo17_522E23D3-A4C4-437F-91B1ECF3CE6642F5.jpg","mediaurl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo17_522E23D3-A4C4-437F-91B1ECF3CE6642F5_911333a0-8d13-4a58-8f3419787dce0c9f.jpg","mediathumburl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo17_522E23D3-A4C4-437F-91B1ECF3CE6642F5_911333a0-8d13-4a58-8f3419787dce0c9f.jpg","sortorder":6,"medianame":"zoo","mediatype":"Image"},{"mediaid":4144,"mediafile":"original_zoo6_12CCD31F-7C4F-4410-A59F2B191E227271.jpg","mediaurl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo6_12CCD31F-7C4F-4410-A59F2B191E227271_a4a16f60-5ae2-472f-8420133828943b81.jpg","mediathumburl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo6_12CCD31F-7C4F-4410-A59F2B191E227271_a4a16f60-5ae2-472f-8420133828943b81.jpg","sortorder":7,"medianame":"zoo","mediatype":"Image"},{"mediaid":5174,"mediafile":"original_OKC-Zoo-Giraffe-Feeding-1a77e1165056a36.jpg","mediaurl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/OKC-Zoo-Giraffe-Feeding-1a77e1165056a36_1a77e463-5056-a36a-06ec1c7666080ff3.jpg","mediathumburl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/OKC-Zoo-Giraffe-Feeding-1a77e1165056a36_1a77e463-5056-a36a-06ec1c7666080ff3.jpg","sortorder":20,"medianame":"Oklahoma City Zoo - Giraffe Feeding","mediatype":"Logo","mediadesc":"Oklahoma City Zoo - Giraffe Feeding"}],"region":"Adventure District","listing_keywords":"okc zoo, oklahoma city zoo, sanctuary asia, great escape, oklahoma trails, marine mammals, lion overlook, island life, hoofed animals, herpetarium, elephants, children's zoo, cat forest, bears","typeid":8,"events_ids":["10544","10548","10549","10550","11043","12677"],"company":"Oklahoma City Zoo & Botanical Garden","dtn":{"mediaid":3470,"rank":8,"mobile":true,"categories":[{"catid":2}],"showweb":true,"subcategories":[{"subcatid":2},{"subcatid":5},{"subcatid":35},{"subcatid":47},{"subcatid":55},{"subcatid":57},{"subcatid":70},{"subcatid":1949}]},"accountudfs":[{"name":"Sales Phone","value":"(405) 425-0289","digits":0,"fieldid":2,"typeid":8,"type":"Text","value_raw":"(405) 425-0289","value_string":"(405) 425-0289"},{"listid":3,"name":"Primary Category","value":"Attractions","digits":0,"fieldid":10,"typeid":7,"type":"Dropdown","value_raw":{"listid":3,"value":"Attractions"},"value_string":"Attractions"},{"listid":2782,"name":"District","value":"Adventure","digits":0,"fieldid":864,"typeid":7,"type":"Dropdown","value_raw":{"listid":2782,"value":"Adventure"},"value_string":"Adventure"},{"name":"Miles from Convention Center","value":10,"digits":2,"fieldid":876,"typeid":4,"type":"Number","value_raw":10,"value_string":"10.00"}],"description":"

    Go wild!

    \r\n\r\n

    The OKC Zoo, Oklahoma's largest and most popular cultural attraction, invites you to discover the wonders of wildlife and wild places. Enjoy world-class habitats including Great EscApe, Cat Forest/Lion Overlook, Oklahoma Trails and Sanctuary Asia where you will find the amazing animals of the Asian continent.

    \r\n\r\n

    The Zoo is open daily from 9:00 a.m. to 5:00 p.m. except for Thanksgiving and Christmas.

    \r\n\r\n

    General Zoo admission is $11 for adults age 12-64, and $8 for children age 3-11 and seniors 65 and older. Children 2 and under are free.

    \r\n\r\n

    For information about our animals and unique guest services, call (405) 424-3344 or visit okczoo.org

    \r\n\r\n

    2000 Remington Place, OKC, OK 73111, located at cross roads of I-35 and I-44.

    ","city":"Oklahoma City","acctid":208,"sortcompany":"oklahoma city zoo & botanical garden","typename":"Web Listing","state":"OK","recid":814,"weburl":"https://www.okczoo.org/","status":"Active","meetingfacility":{"additional":[{"listid":54,"tabshortname":"custommeetingfacilities","amenitytabid":999,"value":"5-10 miles","label":"Distance from Convention Center","shortname":"distfromcc","amenitygroupid":1000,"digits":0,"fieldid":207,"typeid":7,"type":"Dropdown","value_raw":{"listid":54,"value":"5-10 miles"},"value_string":"5-10 miles"}],"banquet":450,"numrooms":4,"description":"The Oklahoma City Zoo is a spectacular setting to host parties, business meetings, special events and company picnics. Choose from a variety of beautiful settings – from a reception ‘underwater’ with the sea lions, a large picnic area set by the lake or an exotic gathering by the elephants in all the new Asia.","largestroom":2250,"classroom":70,"reception":450,"totalsqft":4500,"spacenotes":"The Zoo provides many beautiful settings such as the botanical gardens, aquarium and world-class habitats of 1,400 animal species.","theatre":280,"additional_object":{"distfromcc":{"listid":54,"tabshortname":"custommeetingfacilities","amenitytabid":999,"value":"5-10 miles","label":"Distance from Convention Center","shortname":"distfromcc","amenitygroupid":1000,"digits":0,"fieldid":207,"typeid":7,"type":"Dropdown","value_raw":{"listid":54,"value":"5-10 miles"},"value_string":"5-10 miles"}}},"phone":"(405) 425-0289","addressid":80,"crmtracking":{"core_itinerary":"58_814","custom_linkedin_url":"62_814","core_booking_click":"7_814","custom_facebook_url":"60_814","core_map_view":"59_814","core_listing_view":"1_814","core_mobile_click":"16_814","core_listing_click":"4_814","core_mobile_view":"17_814","core_facebook_view":"14_814","custom_open_table_click_thrus":"19_814","core_mobile_call":"18_814","custom_pinterest_url":"63_814","core_facebook_click":"15_814","custom_youtube_url":"65_814","core_twitter_view":"12_814","custom_twitter_url":"64_814","custom_instagram_url":"61_814","core_twitter_click":"13_814"},"country":"UNITED STATES","meetingrooms":[{"roomname":"Conservation Education Center","roomid":"2874","classroom":"150","theater":"280","sqft":"1680"},{"roomname":"The Canopy East Room","roomid":"3000","banquet":"120","reception":"175","sqft":"1575"},{"roomname":"The Canopy Main Room","roomid":"3078","banquet":"180","reception":"250","sqft":"2250"},{"roomname":"The Entire Canopy","roomid":"3138","banquet":"300","reception":"500","sqft":"4500"},{"roomname":"Big Rivers","roomid":"3580","banquet":"100","reception":"150"},{"roomname":"Sanctuary Asia","roomid":"3581","reception":"450"},{"roomname":"The Nautilus Room","roomid":"3582","banquet":"60"},{"roomname":"Discovery Theater","roomid":"3583","classroom":"35","theater":"40"},{"roomname":"The Tree House","roomid":"3584","classroom":"55","theater":"55"},{"roomname":"Picnic Pavilions","roomid":"3585","reception":"1000"}],"addresstype":"Physical","statusid":1,"categories":[{"primary":true,"subcatid":35,"subcatname":"Family Fun","catname":"Attractions","catid":2},{"primary":false,"subcatid":5,"subcatname":"Arts & Culture","catname":"Attractions","catid":2},{"primary":false,"subcatid":47,"subcatname":"Kids","catname":"Attractions","catid":2},{"primary":false,"subcatid":55,"subcatname":"Museums","catname":"Attractions","catid":2},{"primary":false,"subcatid":57,"subcatname":"Nature","catname":"Attractions","catid":2},{"primary":false,"subcatid":70,"subcatname":"Outdoor Recreation","catname":"Attractions","catid":2}],"parentid":563,"regionid":38,"updated":"2019-10-03T16:53:00.000Z","accountudfs_object":{"2":{"name":"Sales Phone","value":"(405) 425-0289","digits":0,"fieldid":2,"typeid":8,"type":"Text","value_raw":"(405) 425-0289","value_string":"(405) 425-0289"},"10":{"listid":3,"name":"Primary Category","value":"Attractions","digits":0,"fieldid":10,"typeid":7,"type":"Dropdown","value_raw":{"listid":3,"value":"Attractions"},"value_string":"Attractions"},"864":{"listid":2782,"name":"District","value":"Adventure","digits":0,"fieldid":864,"typeid":7,"type":"Dropdown","value_raw":{"listid":2782,"value":"Adventure"},"value_string":"Adventure"},"876":{"name":"Miles from Convention Center","value":10,"digits":2,"fieldid":876,"typeid":4,"type":"Number","value_raw":10,"value_string":"10.00"}},"yelpid":"GfMPsG04S9GKGysK45QS0w","title":"Oklahoma City Zoo & Botanical Garden","alpha":"o","loc":{"type":"Point","coordinates":[-97.4745226,35.5179061]},"sites":["primary"],"primary_site":"primary","rankorder":26,"primary_category":{"primary":true,"subcatid":35,"subcatname":"Family Fun","catname":"Attractions","catid":2},"primarycatid":2,"primarysubcatid":35,"cms_title":"Oklahoma City Zoo & Botanical Garden - Attractions - Family Fun (814)","cms_title_sort":"oklahoma city zoo & botanical garden - attractions - family fun (814)","primary_image_url":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/zoo40-4dea4f245056a36_4dea5161-5056-a36a-068f22b6e6fc4eb0.jpg","primary_image_is_default":false,"yelp":{"id":"GfMPsG04S9GKGysK45QS0w","alias":"oklahoma-city-zoo-oklahoma-city","phone":"+14054243344","name":"Oklahoma City Zoo","photos":["https://s3-media2.fl.yelpcdn.com/bphoto/OicF3WKheI-fJgWO0oSOYg/o.jpg","https://s3-media1.fl.yelpcdn.com/bphoto/_GeCHdPQRdbFH-ibYi1Dlw/o.jpg","https://s3-media3.fl.yelpcdn.com/bphoto/EimNj9pQfX4fvrrU9QqgGg/o.jpg"],"url":"https://www.yelp.com/biz/oklahoma-city-zoo-oklahoma-city?adjust_creative=t_yo46NdLE-DpR3QqACkNQ&utm_campaign=yelp_api_v3&utm_medium=api_v3_business_lookup&utm_source=t_yo46NdLE-DpR3QqACkNQ","rating":4,"review_count":187,"hours":[{"day_long":"Monday","day_short":"Mon","opens":[{"string":"9:00am - 5:00pm","start":"0900","end":"1700","is_overnight":false}]},{"day_long":"Tuesday","day_short":"Tue","opens":[{"string":"9:00am - 5:00pm","start":"0900","end":"1700","is_overnight":false}]},{"day_long":"Wednesday","day_short":"Wed","opens":[{"string":"9:00am - 5:00pm","start":"0900","end":"1700","is_overnight":false}]},{"day_long":"Thursday","day_short":"Thu","opens":[{"string":"9:00am - 5:00pm","start":"0900","end":"1700","is_overnight":false}]},{"day_long":"Friday","day_short":"Fri","opens":[{"string":"9:00am - 5:00pm","start":"0900","end":"1700","is_overnight":false}]},{"day_long":"Saturday","day_short":"Sat","opens":[{"string":"9:00am - 5:00pm","start":"0900","end":"1700","is_overnight":false}]},{"day_long":"Sunday","day_short":"Sun","opens":[{"string":"9:00am - 5:00pm","start":"0900","end":"1700","is_overnight":false}]}],"hash":"d541fe91d6d39efc2378c75a281a8e3b"},"filter_tags":["site_primary","catid_2","subcatid_35","site_primary_catid_2","site_primary_subcatid_35","site_primary_catid_2_subcatid_35","subcatid_5","site_primary_subcatid_5","site_primary_catid_2_subcatid_5","subcatid_47","site_primary_subcatid_47","site_primary_catid_2_subcatid_47","subcatid_55","site_primary_subcatid_55","site_primary_catid_2_subcatid_55","subcatid_57","site_primary_subcatid_57","site_primary_catid_2_subcatid_57","subcatid_70","site_primary_subcatid_70","site_primary_catid_2_subcatid_70","site_primary_dtncatid_2","site_primary_dtnsubcatid_2","site_primary_dtnsubcatid_5","site_primary_dtnsubcatid_35","site_primary_dtnsubcatid_47","site_primary_dtnsubcatid_55","site_primary_dtnsubcatid_57","site_primary_dtnsubcatid_70","site_primary_dtnsubcatid_1949"],"personas_ids":["families"],"qualityScore":-26,"id":"5cf55f60931a8111002309ea","detailURL":"/listings/oklahoma-city-zoo-%26-botanical-garden/814/","genericUrl":"/listings/oklahoma-city-zoo-%26-botanical-garden/814/","url":"/listings/oklahoma-city-zoo-%26-botanical-garden/814/","absolute_url":"https://www.visitokc.com/listings/oklahoma-city-zoo-%26-botanical-garden/814/","absolute_primary_url":"https://www.visitokc.com/listings/oklahoma-city-zoo-%26-botanical-garden/814/","isListing":true,"longitude":-97.4745226,"latitude":35.5179061,"hasTripAdvisor":false,"hasYelp":true},"widgetArgs":{"nav":{"_id":"55494e2f4d7979d873d2f09f","section":"system","sortorder":7,"title":"Event Detail","folder":"event","type":"page","active":true,"show_on_nav":true,"searchable":"no","new_window":false,"version_id":"5cb8d41c6f8b11822ee34f36","created":"2015-05-05T23:11:43.475Z","site_name":"primary","updated":"2019-04-18T19:46:36.923Z","published":true,"folderHref":"/event/","content_owner":"default","title_sort":"event detail","publish_start":"2015-05-05T23:11:43.475Z","cms_title":"Event Detail - /event/","cms_title_sort":"event detail - /event/","locale_code":"en-us","site_section":"primary.system","id":"55494e2f4d7979d873d2f09f","version_id_string":"5cb8d41c6f8b11822ee34f36","href":"/event/","absoluteHref":"https://www.visitokc.com/event/","absoluteFolderHref":"https://www.visitokc.com/event/","metaTitle":"Event Detail"},"num":13,"guid":"2d34f2e3-940d-4018-bdd0-5e51d3ea943f","data":{},"civ":{"instance":{"type":"widget","name":"plugins_events_detail","site_name":"primary","updated":"2019-04-18T19:46:36.894Z","saved":false,"created":"2019-04-18T19:46:36.894Z","deleted":false,"id":"5cb8d4076f8b11822ee34f02","version_id_string":"5cb8d4076f8b11822ee34f03"},"version":{"created":"2019-04-18T19:46:36.912Z","id":"5cb8d4076f8b11822ee34f03","instance_id_string":"5cb8d4076f8b11822ee34f02","data":{}},"onTrunk":true,"civid":"5cb8d4076f8b11822ee34f02"},"name":"plugins_events_detail"},"guid":"5ff4500d-7d0c-4bcd-8220-a9c94d68437d","detailTypeName":"_default","id":"5d8fb92787468f7698fff78b","slug":"sales-tax-appreciation-day-at-oklahoma-city-zoo","url":"/event/sales-tax-appreciation-day-at-oklahoma-city-zoo/10544/","genericUrl":"/event/sales-tax-appreciation-day-at-oklahoma-city-zoo/10544/","absoluteUrl":"https://www.visitokc.com/event/sales-tax-appreciation-day-at-oklahoma-city-zoo/10544/","absolute_primary_url":"https://www.visitokc.com/event/sales-tax-appreciation-day-at-oklahoma-city-zoo/10544/","teaser":"

    Held annually on the second Tuesday of July, in recognition of Oklahoma City citizens passing a 1/8 of a cent dedicated sales tax to the Zoo in 1990, admission to the Zoo is free for guests of all

    ","longitude":-97.4745394,"latitude":35.525261}; // for some reason, media is getting stripped out of the stringify function in the above statement. // maybe its a bug with stringify id _media and media exist? // for now here's a hack to put it back in. eventData.media = [{"imageUrl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/Zoo29_4495eac7-5056-a36a-06e8f858b07f794c.gif"},{"imageUrl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/Zoo118_44960162-5056-a36a-0640da6c6767c265.jpg"},{"imageUrl":"https://assets.simpleviewinc.com/simpleview/image/upload/crm/oklahoma/Stingray-Bay-07-16-2013--31-3_449614da-5056-a36a-061f4c5a81a45206.gif"}]; var seoCat = 'Events', seoLabel = eventData.listing ? eventData.listing.title + " | " + eventData.title : eventData.title, seoVars = {vt: 'Detail', et: seoLabel, ua: 'Click'}, seoArgs = {'event': 'tEvent', 'eventCategory': seoCat, 'eventLabel': seoLabel}, sem = sem || {}, si; sem.getSeoData = function (o,a,b) { var _b = (arguments.length >= 3) ? b : a; return $(o).closest("[" + a + "]").attr(_b); }; $.extend(seoArgs, seoVars); var seoTObj = { venue: {'eventAction': 'Link to Venue', 'lt': 'Venue', 'ot': 'Text'}, website: {'eventAction': 'Visit Website', 'lt': 'Website', 'ot': 'Text'}, email: {'eventAction': 'Email', 'lt': 'Email', 'ot': 'Text'}, map: {'eventAction': 'Map', 'lt': 'Map', 'ot': 'Button'}, streetview: {'eventAction': 'Streetview', 'lt': 'Streetview', 'ot': 'Text'}, nearby: {'eventAction': 'What\'s Nearby', 'lt': 'Map Explorer', 'ot': 'Text'}, socialFacebook : {'eventAction': 'Facebook', 'lt': 'Facebook', 'ot': 'Social'}, socialTwitter : {'eventAction': 'Twitter', 'lt': 'Twitter', 'ot': 'Social'}, socialYoutube : {'eventAction': 'Youtube', 'lt': 'Youtube', 'ot': 'Social'} }; var seoTB = { add: seot.addEvent({wrap: true, category: seoCat, action: "Trip Builder - Add", label: seoLabel, vars: [seoVars, {lt: "TripBuilder", ot: "TripBuilder", ui: 'Conversion'}] }), view: seot.addEvent({wrap: true, category: seoCat, action: "Trip Builder - View", label: seoLabel, vars: [seoVars, {lt: "TripBuilder", ot: "TripBuilder", ui: 'Conversion'}] }), remove: seot.addEvent({wrap: true, category: seoCat, action: "Trip Builder - Remove", label: seoLabel, vars: [seoVars, {lt: "TripBuilder", ot: "TripBuilder"}] }) }; for (var si in seoTObj) { $.extend(seoTObj[si], seoArgs); } root.on('click', '[data-seo-venue]', function () { gtmDataLayer.push(seoTObj.venue); }); root.on('click', '[data-seo-website]', function () { gtmDataLayer.push(seoTObj.website); }); root.on('click', '[data-seo-email]', function () { gtmDataLayer.push(seoTObj.email); }); root.on('click', '[data-seo-map]', function () { gtmDataLayer.push(seoTObj.map); }); root.on('click', '[data-seo-streetview]', function () { gtmDataLayer.push(seoTObj.streetview); }); root.on('click', '[data-seo-nearby]', function () { gtmDataLayer.push(seoTObj.nearby); }); root.on('click', '[data-seo-social-facebook]', function () { gtmDataLayer.push(seoTObj.socialFacebook); }); root.on('click', '[data-seo-social-twitter]', function () { gtmDataLayer.push(seoTObj.socialTwitter); }); root.on('click', '[data-seo-social-youtube]', function () { gtmDataLayer.push(seoTObj.socialYoutube); }); if (tripbuilder !== undefined) { tripbuilder.initButtons({ root : root, addButtonTemplate : " ADD TO MY OKC TRIP", removeButtonTemplate : " REMOVE FROM MY OKC TRIP" }); } // addButtonTemplate : "
    ADD TO TRIP
    ", // removeButtonTemplate : "
    REMOVE FROM TRIP
    " /**** Validate our social links then add tracking ****/ root.find("[data-sv-social]").each(function() { var validServices =['facebook', 'twitter', 'youtube', 'instagram', 'pinterest']; var service = $(this).data('svService').toLowerCase(); var href = $(this).attr('href'); if (validServices.indexOf(service) > -1) { href = lib.getValidSocialUrl({ url : href, urlType : service }); switch (service) { case "twitter": $(this).attr("href", href); break; case "facebook": $(this).attr("href", href); break; default: $(this).attr("href", href); } } }); var galleryTemplate = root.find("[data-sv-galleryTemplate]").html(); var galleryContainer = root.find('[data-sv-galleryContainer]'); var galleryParent = galleryContainer.parent(); if (eventData.media !== undefined) { var newMediaObject = []; eventData.media.forEach(function(val, i) { newMediaObject.push({ image: sv_cloudinaryLib.default.createResource(val) }); }); var galCount = newMediaObject.length; var galleryHTML = goatee.fill(galleryTemplate, { media : newMediaObject, galCount : galCount }); galleryContainer.replaceWith(galleryHTML); Shadowbox.init(); galleryParent.find(".slider").slick({ infinite: false, arrow: false, dots : true }); } else { var galleryHTML = goatee.fill(galleryTemplate, {}); galleryContainer.replaceWith(galleryHTML); } var initMapTab = function() { var placemarks = [{ id : eventData.recId, marker : { position : [eventData.latitude, eventData.longitude] }, infoWindow : { content : $("[data-sv-infoWindowTemplate]") } }]; mapObj.init({ node : root, map : { markerIcon : '/includes/public/assets/shared/map_point.png', mapOptions : { zoom: 16 } } }, true); mapObj.setState({ placemarksAdded : false, placemarks : placemarks }); mapObj.initDetailInterface(); }; if (eventData.latitude && eventData.longitude) { root.find('[data-sv-mapTabButton]').click(function(){ initMapTab(); }); } // shared action between all three modules lib.detailCommon(); });