Create a simple table, 2
columns, 1 row.
The second
column (2nd cell) will be where
you will put the content of each of your links of the HTML menu.
The first
column (1st cell) will be where the menu will be loaded.
Just before </head>
tag, add this code:
<script src="menuExample.js"
type="text/javascript"></script>
At the first table cell, just after the <td ...> tag, add this
code:
<div
id="tableCellMenu"></div>
Where "tableCellMenu"
is an identifier that was setup at menuExample.js
file.
The javascript function will overwrite any content between
tags <div
id="tableCellMenu">
and </div>, with
the content you have specified at file menuExample.js
This content can be html code that will be interpreted
normally :).