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


 

    What can I do to optimize the load time of the javascript multi level menu and prevent, reloading it from the server with every page reload?

Return to Recent Questions


Q: Compliments on your product, I particularly enjoy the complete set of gui and java, that allows for the quick changes.

After a couple of months of using the trial, I have now purchased it and installed the license.

My question however regards the performance of the menu. Using firebug I note that my deluxe menu .js are the performance bottlenecks, It appears as if they are not being cached and it appears that collecting them is taking longer then the other .js files. What can I do to optimize the load time of the javascript multi level menu and prevent, reloading it from the server with every page reload. The apache has set the expiry correct I believe, as I understand from the header.

A: You can try to use AJAX technology.

AJAX-like technology: data for submenus can be loaded "on-the-fly" from the server.

New parameter:
var tajax = 0/1; - disables/enables AJAX-like support

Current syntax for item parameters (var tmenuItems):
[text, link, iconNormal, iconOver, iconExpanded, tip, target, itemStyleInd, itemXPStyleInd, jsFileName]

Where jsFileName - .js filename on the server with submenu items (var tmenuItems).






Return to Recent Questions

Related:
Best AI Website Builder - Create Website Design with AI Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs  |  Best AI website generator and creator - create a website with AI.  |  AI website builder and generator - AI-driven websites, limitless possibilities .  |  List of 15 AI Website Creators and Generators - Reviews, Comparison, Pros & Cons.  |  List of 20 AI Code Builders and Generators - Code generated faster 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 Generator | AI Website Builder | AI Website Maker | AI Website Generator | AI website design generator