1) Script Title:
Glossy Accordion Menu
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...enu-glossy.htm
3) Describe problem:
Hello!
I am currently using the menu above on my (X)HTML website. Everything works fine. Now I want to use this menu also on other sites on the same webserver/directory. Therefore I want to create an external file with the custom menu content (the content between <body> and </body>) and embed it into the new sites. The menu appears within a standard HTML table with variable position but fixed width.
Now my questions:
1. What is the best way to do it?
What shall I use as the external file type ... txt ... js?
I tried to embed it with:
where custom_menu.js contained the menu content of the body:Code:<body> ... <table> ... <script type="text/javascript" src="custom_menu.js"></script> ... </table> ...</body>
but it didn't work.Code:document.write(" <div class="glossymenu"> ... ... ");
2. In the header there are also some custom menu settings for the js script and style. Can I also make this content externally?
I do not have PHP, etc. installed, just a standard webserver.
Please treat me as a noob in js and html.
Thanks for any help.
Regards,
M0nTy.



Reply With Quote
Bookmarks