View Full Version : Embed external custom file for Glossy Accordion Menu?

11-19-2008, 09:47 PM
1) Script Title:
Glossy Accordion Menu

2) Script URL (on DD):

3) Describe problem:
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:

<body> ... <table> ...
<script type="text/javascript" src="custom_menu.js"></script>
... </table> ...</body>where custom_menu.js contained the menu content of the body:

<div class="glossymenu">
");but it didn't work.

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.