The menudata file reads:
Code: Select all
_menuCloseDelay=500;
_menuOpenDelay=150;
_scrollAmount=3;
_scrollDelay=20;
_followSpeed=5;
_followRate=50;
_subOffsetTop=5;
_subOffsetLeft=10;
with(menuStyle=new mm_style()){
offcolor="#228B22";
offbgcolor="#FFFFF0";
oncolor="#FF0000";
onbgcolor="#FFFFF0";
fontsize="14";
fontstyle="normal";
fontweight="bold";
fontfamily="Tahoma,Helvetica,Verdana";
padding=2;
}
with(milonic=new menuname("TopMenu")){
top=10;
left=10;
itemwidth=90;
style=menuStyle;
alwaysvisible=1;
followscroll=1;
orientation="horizontal";
aI("image=/images/flashing_menu.gif;showmenu=SubMenu;align=right;status=Mouse over for menu;");
}
with(milonic=new menuname("SubMenu")){
itemwidth=110;
style=menuStyle;
aI("text=Simon's Work;onfunction=swap('images/menu_van.jpg');offfunction=swap('images/menu_limes.jpg');showmenu=WorkMenu;status=Mouse over to see menu for Simon's work;");
aI("text=Genealogy;onfunction=swap('images/menu_tree.jpg');offfunction=swap('images/menu_limes.jpg');showmenu=GenealogyMenu;status=Mouse over for Genealogy menu;");
aI("text=Contacts;showmenu=ContactMenu;onfunction=swap('images/menu_contact.jpg');offfunction=swap('images/menu_limes.jpg');status=Mouse over for Contacts menu;");
aI("text=Links;onfunction=swap('images/menu_links.jpg');offfunction=swap('images/menu_limes.jpg');showmenu=LinksMenu;status=Mouse over to see Links menu;");
aI("text=Guest Book;url=http://www.the-limes.com/guestbook/index.php;status=Click to go to our Guest Book;");
aI("text=Search;url=http://www.the-limes.com/search/search.html;status=Click to search within our web site;");
}
with(milonic=new menuname("EmailMenu")){
itemwidth=60;
style=menuStyle;
aI("text=Thelma;onfunction=swap('images/menu_thelma.jpg');offfunction=swap('images/menu_limes.jpg');url=mailto:tdawson@the-limes.com;status=Click to email Thelma;");
aI("text=Simon;onfunction=swap('images/menu_simon.jpg');offfunction=swap('images/menu_limes.jpg');url=mailto:simon@the-limes.com;status=Click to email Simon;");
}
with(milonic=new menuname("TelephoneMenu")){
itemwidth=95;
style=menuStyle;
aI("text=From UK;onfunction=swap('images/menu_uk.jpg');offfunction=swap('images/menu_limes.jpg');url=http://www.the-limes.com/contact/uk_phone.html;status=Click for our home telephone number from within the UK;");
aI("text=From abroad;onfunction=swap('images/menu_world.jpg');offfunction=swap('images/menu_limes.jpg');url=http://www.the-limes.com/contact/abroad_phone.html;status=Click for our home telephone number from outside the UK;");
}
with(milonic=new menuname("LinksMenu")){
itemwidth=140;
style=menuStyle;
aI("text=Software;url=http://www.the-limes.com/links/software_links.html;status=Click to see links to software related sites;");
aI("text=Work;url=http://www.the-limes.com/links/work_links.html;status=Click to see links to work related sites;");
aI("text=Genealogy;url=http://www.the-limes.com/links/genealogy_links.html;status=Click to see links to genealogy related sites;");
aI("text=Chalfont St Peter;onfunction=swap('images/menu_csp.jpg');offfunction=swap('images/menu_limes.jpg');showmenu=CSPMenu;status=Mouse over for Chalfont St. Peter links;");
}
with(milonic=new menuname("GenealogyMenu")){
itemwidth=125;
style=menuStyle;
aI("text=Surname List;url=http://www.the-limes.com/genealogy/tng/surnames.php;status=Click to search our Surname list;");
aI("text=Name Search;url=http://www.the-limes.com/genealogy/tng/index.html;status=Click to search for individuals;");
aI("text=Advanced Search;url=http://www.the-limes.com/genealogy/tng/searchform.php;status=Click to search with advanced options for individuals;");
aI("text=Whats New;url=http://www.the-limes.com/genealogy/tng/whatsnew.php;status=Click to see what additions have been made to the database in the last year;");
aI("text=Links;onfunction=swap('images/menu_links.jpg');offfunction=swap('images/menu_limes.jpg');url=http://www.the-limes.com/links/links.htm;status=Click to see links to genealogy related sites;");
}
with(milonic=new menuname("ContactMenu")){
itemwidth=90;
style=menuStyle;
aI("text=Email;onfunction=swap('images/menu_email.gif');offfunction=swap('images/menu_limes.jpg');showmenu=EmailMenu;status=Mouse over for email menu;");
aI("text=Mail;onfunction=swap('images/menu_mail.jpg');offfunction=swap('images/menu_limes.jpg');url=http://www.the-limes.com/contact/address.html;status=Click for mailing address;");
aI("text=Telephone;onfunction=swap('images/menu_phone.jpg');offfunction=swap('images/menu_limes.jpg');showmenu=TelephoneMenu;status=Mouse over for telephone menu;");
}
with(milonic=new menuname("WorkMenu")){
itemwidth=100;
style=menuStyle;
aI("text=Information;url=http://www.the-limes.com/work/work.html;status=Click to view information about Simon's work;");
aI("text=Photographs;url=http://www.the-limes.com/work/work_photos.html;status=Click to view photographs of some of Simon's work projects;");
aI("text=Links;url=http://www.the-limes.com/links/work_links.html;status=Click for work related links;");
}
with(milonic=new menuname("CSPMenu")){
itemwidth=150;
style=menuStyle;
aI("text=CSP co uk;onfunction=swap('images/menu_csp1.jpg');offfunction=swap('images/menu_limes.jpg');url=http://www.chalfontstpeter.co.uk;status=click to go to Chalfont St Peter co uk website;");
aI("text=CSP org uk;onfunction=swap('images/menu_csp2.jpg');offfunction=swap('images/menu_limes.jpg');url=http://www.chalfontstpeter.org.uk;status=click to go to Chalfont St Peter org uk website;");
}
drawMenus();
Code: Select all
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
ns3up = (browserName == "Netscape" && browserVer >= 3);
ie4up = (browserName.indexOf("Microsoft") >= 0 && browserVer >= 4);
function swap(imgPath){
if (document.images) document.images['menupic'].src=imgPath;
}