If you're looking for an affordable means to boost membership at your Hospitality Business, or simply upgrade your existing pool, add a water slide from American Parks Company. These high-quality commercial grade Water Park Structures provide fun for all ages. Colorful and highly visible, your pool will have a fresh new look that will last for years.
//
// JS: jQuery('.block-title').toggleSingle();
//
// Options:
// destruct: defaults to false, but if true, the plugin will remove itself, display content, and remove event handlers
jQuery.fn.toggleSingle = function (options) {
// passing destruct: true allows
var settings = $.extend({
destruct: false
}, options);
return this.each(function () {
if (!settings.destruct) {
$(this).on('click', function () {
$(this)
.next()
.toggleClass('no-display')
.parent()
.toggleClass('active');
// .toggleClass('active')
// .next()
// .toggleClass('no-display');
});
// Hide the content
$this = $(this);
if (!$this.parent().hasClass('active'))
{
$this.next().addClass('no-display');
}
}
else
{
// Remove event handler so that the toggle link can no longer be used
$(this).off('click');
// Remove all classes that were added by this plugin
$(this)
.next()
.removeClass('no-display')
.parent()
.removeClass('active');
}
});
} // end: toggleSingle
var breakpointScreenM = 768; // The same value as Magento's breakpoint @screen__m
// Blocks collapsing on smaller viewports
enquire.register('(max-width: ' + (breakpointScreenM - 1) + 'px)', {
setup: function () {
this.toggleElements = $(
'.sidebar .block:not(#layered-filter-block) .block-title, ' +
'.mobile-collapsible .block-title'
);
},
match: function () {
this.toggleElements.toggleSingle();
},
unmatch: function () {
this.toggleElements.toggleSingle({destruct: true});
}
});
// Blocks collapsing on all viewports.
// For backward compatibility exclude blocks which have both classes: "collapsible" and "mobile-collapsible"
$('.collapsible:not(.mobile-collapsible) .block-title').toggleSingle();
}); //end: on document ready
}); //end: requirejs
//]]>