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

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

Return to Recent Questions

Q: Is there a way I can do an include my javascript xml menu 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 javascript xml menu parameters at first and than menuItems = []; and dm_init();.

Return to Recent Questions

Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. video background | easy free website builder | bootstrap navbar examples | jQuery Form | html slider