Is it possible to use an external file in the dhtml javascript 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 dhtml javascript 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 dhtml javascript 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:
- March 16, 2009 - How can I change item width in the Vista templates in the dhtml javascript menu?
- Apr 03, 2009 - Our submenus don't appear alignment to the toplevel dhtml javascript menu.
- Apr 09, 2009 - Can I set pointer that tells path to all css menu example files?
- Apr 20, 2009 - I need the BG color behind items to be flush with the sides of the dhtml javascript menu.
- Apr 29, 2009 - How multiple users could get varying css collapse using file driven approach?
- May 08, 2009 - The dhtml javascript menu works on our integration system but doen't work on the production system.
- May 24, 2009 - Is it possible to have wrap in the middle of the text in the dhtml javascript menu?
- Jun 11, 2009 - Can I keep a submenu shown even when my mouse pointer is NOT over dhtml javascript menu
- Jun 21, 2009 - Is there a way I can include menu css horizontal code parameters in a separate file?
- Jun 28, 2009 - I have problem with our characters of iso-8859-2 charset in the dhtml javascript menu.
- Jul 02, 2009 - Some graphic files for the top-level site navigation are missing.
|