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

    Is there a way I can include menu dhtml javascript code parameters in a separate file?

Return to Recent Questions


Q: Is there a way I can do an include my menu dhtml javascript 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 menu dhtml javascript 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 themes | Mobirise Themes | Mobirise Templates | free icons | banner slider