• Resolved WP CMS Ninja

    (@billiardgreg)


    So I am finding that I need to be able to add some javascript code to the $RMjQuery calls. I wanted to be able to add a on scroll close menu feature. So around the Menu Resize function implementation around line 462 in JSModel.php I added the following code:

    \$RMjQuery( window ).scroll(function() {
    				if (isOpen) closeRM();
    				isOpen = false;
    			});

    But I was wondering if there was a way to do this without modifying the core files of your addon.

    https://www.ads-software.com/plugins/responsive-menu/

Viewing 1 replies (of 1 total)
  • Plugin Contributor responsivemenu

    (@responsivemenu)

    Hi there,

    Apologies I have been away on holiday for a while but am back now.

    Unfortunately it’s not possible to edit the JavaScript file any other way apart from through the core code as there is too much logic involved.

    If I ever find a way to make it possible or a way to make it extendable I will surely update accordingly.

    All the best

Viewing 1 replies (of 1 total)
  • The topic ‘Customizing JS output’ is closed to new replies.