|
Is it possible to use an external file in the context menu html?
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 context menu html.
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 context menu html 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:
- Apr 09, 2009 - Can I set pointer that tells path to all dropdown menu using files?
- Apr 29, 2009 - How multiple users could get varying navigation menu code using file driven approach?
- Jun 21, 2009 - Is there a way I can include web navigation buttons code parameters in a separate file?
- Jul 02, 2009 - Some graphic files for the top-level dynamic menu javascript are missing.
- Jul 04, 2009 - My html files still open in a new window in my rollover dropdown menu...
- Jul 07, 2009 - Do I need to replace all the script files in all the web pages with code drop down menu...?
- Jul 31, 2009 - How to add the new items to the sliding menu javascript without using two data files?
- Sep 06, 2009 - Where I can find data.js file for css flyout menu?
- Sep 18, 2009 - I want to open the URL or file name in menu javascript html by click...
- Sep 19, 2009 - When I click on link of my vertical vertical menu css no file is loaded!?
- Oct 19, 2009 - Can I move all code for the web site navigation within the html and not use it as external .js file?
|