Customizing JS output
-
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.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Customizing JS output’ is closed to new replies.