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