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

    Is it possible to use an external file in the javascript for menu?

Return to Recent Questions


Q: I have one site with many pages, it would be handy not to have to change 20 pages just to modify one javascript for menu.

Is it possible to use an external file with these applets? Have tried
<SCRIPT LANGUAGE=\"JavaScript\" SRC=\"myscript.js\">
</SCRIPT>

but it does not work!



A: You can use "menuItemsFile" param, for example
<param name="menuItemsFile" value="menu1.txt">
The javascript for menu items are in menu1.txt, so you'll need to change only this menu1.txt when it is necessary to add/remove/change items.

See more info:
http://www.apycom.com/xp-drop-down-menu/ex2.html






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. website builder review | homepage baukasten | Mobirise Themes | bootstrap modal popup | css menu