There are many ways to do it. Here's one method that doesn't rely on any library. Put your menu in an external file, for example menu.html, then on the page where you want to include the external file (=menu.html) put:
Code:
<div>
<iframe src="menu.html" style="width:0; height:0; border:0; opacity: 0; " onload="this.parentNode.innerHTML=this.contentWindow.document.documentElement.innerHTML"></iframe>
</div>
The CSS and javascript that make the menu work must be put in the main file.
Important:
With certain browsers, this does not work on your hard disk. But on the Internet it works everywhere.
Bookmarks