(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    Is there a way for java gui menu to load faster?

Return to Recent Questions


Q: Is there a different type of menu, other than the way I have it set up, such as the tree type, that might load faster or take up less space when the page loads?


A: You should set
var dmAJAX=1;
create .js files with your submenus and call this files from your main file, for example:

var menuItems = [

["Home","testlink.htm"],
["Product Info","", , , , , , , "data-samples/data-ajax2.js", ],
["Samples","", , , , , , , "data-samples/data-ajax3.js", ],
["Purchase","testlink.htm"],
["Contact Us","testlink.htm"],
];

/*** data-ajax2.js ****/
var menuItems = [
["Features","testlink.htm"],
["Installation",""],
["Parameters Info","testlink.htm"],
["Dynamic Functions","testlink.htm"],
["Supported Browsers",""],
];

Add dmenu_ajax.js file in the same folder with your dmenu.js file.

Try that.





Return to Recent Questions

Related:
Best AI Website Builder - Create Website Design with AI Best Website Builder for Education, Software Companies, Designers, Videos  |  Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs  |  AI website builder and generator - AI-driven websites, limitless possibilities .  |  Website Builder for Churches, Authors, Consultants, Magazines  |  Best AI website generator and creator - create a website with AI.  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | Best AI Website Builder | AI Website Generator | AI Website Builder | AI website design generator