Dynamic loading means loading data on request. The user can split data into parts by levels and decrease loading time this way.
The enableDynamicLoading() method should be used with the following parameters:
myMenu.enableDynamicLoading(url, icon);
So, in our case we should write this line of code (without an icon):
myMenu.enableDynamicLoading("[script url]");
Back to top