embedding HTML in another HTML document

liunx

Guest
I have created a dhtml menu that sits at the top of my home page, the only thing is it is a long piece of code, and it has to be on a lot of different pages. The code itself includes java script and a HTML table. Is there any way of saving this to an external file and then loading it in like you would with css. So I can load it in to a lot of different pages easily, and reduce file size of my site.<br />
I have tried to do it in frames but it will not work because to allow the drop down menu to work (to actually drop down) the frame has to be too big and takes up most of where my text will go.<!--content-->using SSI you can INCLUDE files into other files so that they can be kept seperate and easily editable without having to edit files and files just to change I minor thing that is on all of the pages.<!--content-->That sounds like what i want to do.<br />
What is SSI? and how do i aply it? i have set up a network http server, so any serverside stuff can be done easily,<!--content-->if it is Dhtml then most likely it is javascript so you could put it in a .js file and included it that way. what is the page you are talking about?<!--content-->Info about SSI here:<br />
<br />
<!-- m --><a class="postlink" href="http://bignosebird.com/ssi.shtml">http://bignosebird.com/ssi.shtml</a><!-- m --><!--content-->i would like to thx to everone who helped, i did it in the end by comeing at it from the other end, rather than load the menu into every page i placed a iframe below my menu and loaded my contents pages in to that, but once again thx for the help<!--content-->
 
Back
Top