(c) 2007, DHTML-Menu.com
 
   
   
  Support
  Recent Questions
  Write To Support
 

    Is there a way I can include drop down menu navigation code parameters in a separate file?

Return to Recent Questions


Q: Is there a way I can do an include my drop down menu navigation parameters in a separate file:

     var menuItems = [];


A: You can delete var menuItems = []; and dm_init(); function from your data.js file and paste it into your html page directly or in the other file.

You should call your data.js file with the drop down menu navigation parameters at first and than menuItems = []; and dm_init();.





Return to Recent Questions

Related:
   
Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap 4 templates | html5 video background | criador de site gratis | free icon fonts | best website builder software