/** * Universal fly-out menu for WebFactory plugins * (c) WebFactory Ltd, 2023 */ jQuery(document).ready(function ($) { $('#wff-button').on('click', function (e) { e.preventDefault(); $('#wf-flyout').toggleClass('opened'); $('#wff-overlay').toggle(); return false; }); // open/close menu $('#wff-overlay').on('click', function (e) { e.preventDefault(); $(this).hide(); $('#wf-flyout').removeClass('opened'); return false; }); // click on overlay - hide menu }); // jQuery ready rest_missing_callback_paramMissing parameter(s): url400url