Is it possible to use an external file in the java drop down menu?
Return to Recent Questions
Q:
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!
Any suggestions? I have one site with many pages, it would be handy
not to have to change 20 pages just to modify one link.
A:
You can use "menuItemsFile" param, example
<param name="menuItemsFile" value="menu1.txt">
The menu menu items are in menu1.txt, so you'll need to change
only this menu1.txt if it necessary to add/remove/change items.
See also example:
http://www.apycom.com/xp-drop-down-menu/ex2.html
Return to Recent Questions
|