|
Is there a way I can include menu bar javascript code parameters in a separate file?
Return to Recent Questions
Q:
Is there a way I can do an include my menu bar 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 bar javascript parameters at first and than
menuItems = []; and dm_init();.
Return to Recent Questions
Related:
- March 12, 2009 - I don't understand, how can change place of the icon in button context menu...
- March 12, 2009 - I have problems with image paths when I create menu web site in DHTML Tuner.
- March 13, 2009 - Now we are having the "Incorrect Copyright" on our dhtml menu examples...
- March 14, 2009 - I am having a problem with css styles in the script menu.
- March 15, 2009 - I have problems with transitional effects in Firefox in the dropdown menu in javascript...
- March 15, 2009 - How can I disable items in collapse javascript?
- March 16, 2009 - Is there any way to keep a menus in dhtml lit up when going to another page?
- March 16, 2009 - How can I change item width in the Vista templates in the java script menue?
- March 18, 2009 - I am getting a Javascript error, when accessing any of the show popup menu.
- March 19, 2009 - How to get the menu bar html to highlight and stay on the page you're viewing?
- March 19, 2009 - I need that the dynamic javascript menu loads pages into an iFrame.
|