Requirement:
Navigation menu should be shrinking on page load.
Challenges faced:
In Oracle Apex 5, universal theme the navigation menu is strengthening on default page load. If we want to shrink the menu we need to click on the navigation menu controller.
Resolution:
1. Created a dynamic action with event as page load and condition as JavaScript Expression and value as $('#t_Button_navControl').attr('aria-expanded') === "true".
2. A true action is provided with JavaScript code as $('#t_Button_navControl').click();
Output:
No comments:
Post a Comment