My father is part of a non-profit that is all volunteer based, and none of them do web pages (their webmaster passed a couple years ago).
Now, they are going to make some updates to the site. One of the things that needed to be updated was a link in the drop down menu bar at the top of the page. Problem is, that bar is on each of the 86 .html pages individually! So it had to be updated on each.
Now, I am an Access programmer with little understanding of HTML, but I imagine that you can create a single .html file with the header on it, then link to that file so the menu bar loads at the top of each page, but only has to be updated from menu.html.
The menu code is below, please let me know how to accomplish this.
Thanks. Sean.
Now, they are going to make some updates to the site. One of the things that needed to be updated was a link in the drop down menu bar at the top of the page. Problem is, that bar is on each of the 86 .html pages individually! So it had to be updated on each.
Now, I am an Access programmer with little understanding of HTML, but I imagine that you can create a single .html file with the header on it, then link to that file so the menu bar loads at the top of each page, but only has to be updated from menu.html.
The menu code is below, please let me know how to accomplish this.
Thanks. Sean.
Code:
<!-- Layout script -->
<script language="JavaScript" src="./menu.js"></script>
<script language="JavaScript">
<!--
var NCCMenu = new MenuBar("NCCMenu",0,2,0,0,0,1,1,"solid","#CC0000","#87CEFA","#66CCFF","Verdana,Tahoma,Arial,Helvetica",10,"normal","bold","#000000","#3300CC","");
var m1_NCCMenu = new Menu("Home",106,125,"./index.html");
NCCMenu.addMenu(m1_NCCMenu);
var m2_NCCMenu = new Menu("Chapter",106,125);
m2_NCCMenu.addMenuItem("WhoWeAre","./whoweare.html");
m2_NCCMenu.addMenuItem("Members","./members.html");
m2_NCCMenu.addMenuItem("ComingEvents","./comingevents.html");
m2_NCCMenu.addMenuItem("Newsletter","./newsletter.pdf");
m2_NCCMenu.addMenuItem("JobsIndex","./jobsindex.html");
NCCMenu.addMenu(m2_NCCMenu);
var m3_NCCMenu = new Menu("AFOSI",106,125);
m3_NCCMenu.addMenuItem("Hall of Fame","./hall_of_fame.html");
m3_NCCMenu.addMenuItem("50th Anniversary","./50th_anniversary.html");
m3_NCCMenu.addMenuItem("EnlHeritageHall","./enlheritagehall.html");
m3_NCCMenu.addMenuItem("PressReleases","./pressreleases.html");
m3_NCCMenu.addMenuItem("AFOSI Today","./afosi_today.html");
m3_NCCMenu.addMenuItem("AFOSI Yesterday","./afosi_yesterday.html");
m3_NCCMenu.addMenuItem("OSI Structure","./osi_structure.html");
m3_NCCMenu.addMenuItem("VeteransHistProject","./veteranshistproject.html");
NCCMenu.addMenu(m3_NCCMenu);
var m4_NCCMenu = new Menu("AFOSISA",106,125);
m4_NCCMenu.addMenuItem("MembersOnly","./membersonly.html");
m4_NCCMenu.addMenuItem("AssnManagement","./assnmanagement.html");
m4_NCCMenu.addMenuItem("AssnBylaws","./assnbylaws.html");
m4_NCCMenu.addMenuItem("History","./history.html");
m4_NCCMenu.addMenuItem("AFOSI Plaque","./afosi_plaque.html");
m4_NCCMenu.addMenuItem("CommemorativeRings","./commemorativerings.html");
m4_NCCMenu.addMenuItem("MillenniumBadge","./millenniumbadge.html");
m4_NCCMenu.addMenuItem("ScholarshipAwards","./scholarshipawards.html");
m4_NCCMenu.addMenuItem("ArlingtonMemorial","./arlingtonmemorial.html");
m4_NCCMenu.addMenuItem("Necrology","./necrology.html");
m4_NCCMenu.addMenuItem("Obituaries","./obituaries.html");
NCCMenu.addMenu(m4_NCCMenu);
var m5_NCCMenu = new Menu("Images",106,125,"./images.html");
NCCMenu.addMenu(m5_NCCMenu);
var m6_NCCMenu = new Menu("Links",106,125,"./links.html");
NCCMenu.addMenu(m6_NCCMenu);
var m7_NCCMenu = new Menu("Downloads",106,125,"./downloads.html");
NCCMenu.addMenu(m7_NCCMenu);
//-->
</script><!-- Master script -->
<link rel="STYLESHEET" type="text/css" href="./style.css">
<link rel="STYLESHEET" type="text/css" href="./site.css">
<style>
</style>
</head>
<body nof="(MB=(DefaultMasterBorder, 104, 95, 4, 0), L=(NecrologyLayout, 755, 345))" style="background-color: rgb(240, 248, 255); background-image: none;" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<center>
<script language="JavaScript"><!--
NCCMenu.start();
//--></script>
<!-- Start of the Body for this Page -->
<!-- Master Body script -->