View Full Version : Menu on Multiple Pages

05-16-2008, 04:22 PM
I have a menu that I want to place on multiple pages of my website http://littleconeyisland.com/Menu4.html
I don't want to paste the code on ALL the pages of my website.
I want to call it from somewhere else but I CAN NOT figure it out.
Its getting very frustrating because I don't really know what to look for.
can anyone help? please? PLEASE??

05-19-2008, 08:18 AM
If you want the same piece of code on each site like a menu or a footer, you can use includes to generate them. Whereby you store the repeated code in a separate file and call it into each page, you will need to change your file extension so the page can generate to asp.

Hope this helps any more questions let me know.


05-19-2008, 12:51 PM
is this what I should put on the pages that I want the menu to show up?

<!--#include virtual="/Menu4.asp" -->

I can only get it to show up in Dreamweaver as I preview it.
When all my files are uploaded online my menu doesn't show up.

05-28-2008, 11:57 PM
If you don't want to change all of your extensions to .shtml you can use an iframe. not the best way but it will work. Make sure you make the iframe large enough to show all of the menu and you should plan ahead and make it large enough to display perceived future menu additions.

<iframe id="datamain" src="menu.html" width="250" height="300" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>

i use an iframe to display the car show list on this page of my website