Your Needs. Your Goals. Our Club!
JOIN NOW FOR ONLY
Get started for $3 + Rest of the Month Free!
Ends March 31st @ Midnight
Did not get a chance to try the club?
STRAIGHTFORWARD MEMBERSHIPS. NO HIDDEN FEES.
$('.offer-popup-btn').on('click', function(event) {
event.preventDefault();
var target = $('.offerPopup'),
clubTitle = $(this).attr('title'),
clubs = [ { "name":"Allston", "url":"https://www.bostonsportsclubs.com/clubs/allston#agreements-container" }, { "name":"Government Center", "url":"https://www.bostonsportsclubs.com/clubs/government-center#agreements-container" }, { "name":"Downtown Crossing", "url":"https://www.bostonsportsclubs.com/clubs/downtown-crossing#agreements-container" }, { "name":"Back Bay - Prudential Center", "url":"https://www.bostonsportsclubs.com/clubs/back-bay-prudential-center#agreements-container" }, { "name":"Davis Square", "url":"https://www.bostonsportsclubs.com/clubs/davis-square#agreements-container" }, { "name":"Boylston", "url":"https://www.bostonsportsclubs.com/clubs/boylston#agreements-container" }, { "name":"Dorchester", "url":"https://www.bostonsportsclubs.com/clubs/dorchester#agreements-container" }, { "name":"Wayland", "url":"https://www.bostonsportsclubs.com/clubs/wayland#agreements-container" }, { "name":"Wellesley", "url":"https://www.bostonsportsclubs.com/clubs/wellesley#agreements-container" }, { "name":"Westborough", "url":"https://www.bostonsportsclubs.com/clubs/westborough#agreements-container" }, { "name":"Woburn", "url":"https://www.bostonsportsclubs.com/clubs/woburn#agreements-container" } ];
$(target).find('.club-name').text('').html(clubTitle);
$(target).find('.club-locations').text('');
Object.keys(clubs).forEach(function(key) {
$(target).find('.club-locations').append('
'+clubs[key].name+'')
});
$(target).fadeIn().addClass('show');
});
$('.close-offer-dialog').on('click', function() {
$(this).closest('.offer-dialog').removeClass('show').fadeOut();
});
$('.offer-dialog').on('click', function() {
$(this).removeClass('show').fadeOut();
});
$('.offer-dialog-content').on('click', function(event) {
event.stopPropagation();
});
});