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

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

Return to Recent Questions


Q: Is there a way I can do an include my menu html 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 html 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 | bootstrap theme builder | criar sites gratis | web design software | easy free website builder