|
|
Is there a way for site navigation 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 site navigation, 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:
- March 20, 2009 - Links don't work in the site navigation. How can I correct this?
- Apr 06, 2009 - I am trying to use the site navigation in a perl script.
- Apr 24, 2009 - How can I define which site navigation submenus should be multicolumn and wich one looks "normal".
- May 11, 2009 - When I add a submenu, it appears separated by about 100px down site navigation.
- May 28, 2009 - Can I put a break line to write my items in several lines in site navigation sample?
- Jun 14, 2009 - The separator image doesn't show in site navigation
- Jul 02, 2009 - Some graphic files for the top-level site navigation are missing.
- Jul 19, 2009 - How can I upgrade to Dhtml Menu v2.0? Now I'm using v1.14 of site navigation.
- Aug 05, 2009 - My site navigation doesn't work in Firefox or Netscape, but it works fine in IE.
- Aug 22, 2009 - I've tried to specify the pathPrefix_img but I'm still having problem with images in site navigation.
- Sep 08, 2009 - Is this site navigation compatible with .NET?
|