Created
December 30, 2016 10:31
-
-
Save RanMetser/e98ed927fa10c20d97cd6ee8a1063f2b to your computer and use it in GitHub Desktop.
Fix Pojo menu active mode for a one page menu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code fixes an issue with Pojo one-page menu (using anchors).
When using the Pojo Elementor page builder to design the page, menu items will not dynamically turn the "active" mode on and off when scrolling the page.
See following discussion thread (Hebrew):
http://pojo.co.il/topic/%D7%A9%D7%99%D7%A0%D7%95%D7%99-%D7%A6%D7%91%D7%A2-%D7%AA%D7%A4%D7%A8%D7%99%D7%98-%D7%9C%D7%A4%D7%99-%D7%94%D7%9E%D7%99%D7%A7%D7%95%D7%9D-%D7%91%D7%93%D7%A3-one-pager/
Please note:
[Note: The script is a compilation of several scripts found online, from different sources, updated so it works with Pojo theme and Elementor.]