PDA

View Full Version : Nested Horizontal Menu



jeffreymerrell
27 Apr 2006, 04:12 PM
I would appreciate it if someone could help me to figure out why my first level menu items are getting covered up by the second and third levels.

My objective is to have nothing covered up. I can't figure out which variable will fix this. here it is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<!-- Created with the CoffeeCup HTML Editor 2006 -->
<!-- http://www.coffeecup.com/ -->
<!-- Brewed on Apr/25/06 PM 11:48:04 -->
<head>
<title></title>
<meta name="generator" content="CoffeeCup HTML Editor 2006D - www.coffeecup.com">
<meta name="description" content="">
<meta name="keywords" content="">
<style type="text/css">
<!--
/* Don't underline links */
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
/* Add Hover with color to links */
a:hover {text-decoration: none; color:#00FF00;}
-->
</style>
</head>
<body bgcolor="#339966" text="#000000" link="#ffff00" vlink="#ffff00" alink="#00ff00">

<script type='text/javascript'>

function Go(){return}

/***********************************************************************
YOU CAN MANUALLY CHANGE THE MENU HERE, BUT BE VERY CAREFUL !
***********************************************************************/

Menu1=new Array("Home","http://","",0,20,100);

Menu2=new Array("MyClub","http://","",5,0,100);
Menu2_1=new Array("Men's Club","http://","",2,20,100);
Menu2_1_1=new Array("Events","http://","",0,20,100);
Menu2_1_2=new Array("Photos","http://","",0,20,0);
Menu2_2=new Array("Ladies Club","http://","",2,20,100);
Menu2_2_1=new Array("Events","http://","",0,20,100);
Menu2_2_2=new Array("Photos","http://","",0,20,100);
Menu2_3=new Array("Senior's Club","http://","",2,20,100);
Menu2_3_1=new Array("Events","http://","",0,20,100);
Menu2_3_2=new Array("Photos","http://","",0,20,100);
Menu2_4=new Array("Mixed","http://","",2,20,100);
Menu2_4_1=new Array("Events","http://","",0,20,100);
Menu2_4_2=new Array("Photos","http://","",0,20,100);
Menu2_5=new Array("Junior's","junior.html","",2,20,100);
Menu2_5_1=new Array("Events","http://","",0,20,100);
Menu2_5_2=new Array("Photos","http://","",0,20,0);

Menu3=new Array("GC Members Association","http://","",1,0,150);
Menu3_1=new Array("Archive","http://","",0,20,100);

Menu4=new Array("The Course","http://","",2,20,100);
Menu4_1=new Array("Index Tables","http://","",0,20,100);
Menu4_2=new Array("Hole in Ones","http://","",0,20,100);

Menu5=new Array("GolfBC","http://","",2,20,100);
Menu5_1=new Array("Maintenance","http://","",0,20,100);
Menu5_2=new Array("Driving Range","http://","",0,20,100);

Menu6=new Array("Golf Related Links","http://","",0,20,100);


var NoOffFirstLineMenus=6; // Number of first level items
var LowBgColor='339966'; // Background color when mouse is not over
var LowSubBgColor='339966'; // Background color when mouse is not over on subs
var HighBgColor='55FF55'; // Background color when mouse is over
var HighSubBgColor='55FF55'; // Background color when mouse is over on subs
var FontLowColor='FFFFFF'; // Font color when mouse is not over
var FontSubLowColor='FFFFFF'; // Font color subs when mouse is not over
var FontHighColor='000000'; // Font color when mouse is over
var FontSubHighColor='000000'; // Font color subs when mouse is over
var BorderColor='000000'; // Border color
var BorderSubColor='000000'; // Border color for subs
var BorderWidth=1; // Border width
var BorderBtwnElmnts=0; // Border between elements 1 or 0
var FontFamily="Tahoma, Verdana, Arial" // Font family menu items
var FontSize=8; // Font size menu items
var FontBold=0; // Bold menu items 1 or 0
var FontItalic=0; // Italic menu items 1 or 0
var MenuTextCentered='left'; // Item text position 'left', 'center' or 'right'
var MenuCentered='left'; // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top'; // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=.25; // horizontal overlap child/ parent
var ChildVerticalOverlap=0; // vertical overlap child/ parent
var StartTop=1; // Menu offset x coordinate
var StartLeft=1; // Menu offset y coordinate
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=3; // Left padding
var TopPaddng=2; // Top padding
var FirstLineHorizontal=1; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=1; // Frames in cols or rows 1 or 0
var DissapearDelay=1000; // delay before menu folds in
var TakeOverBgColor=1; // Menu frame takes over background color subitem frame
var FirstLineFrame='navigation'; // Frame where first level appears
var SecLineFrame='navigation'; // Frame where sub levels appear
var DocTargetFrame='main'; // Frame where target documents appear
var TargetLoc=''; // span id for relative positioning
var HideTop=0; // Hide first level when loading new document 1 or 0
var MenuWrap=1; // enables/ disables menu wrap 1 or 0
var RightToLeft=0; // enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmouseover
var WebMasterCheck=0; // menu tree checking on or off 1 or 0
var ShowArrow=1; // Uses arrow gifs when 1
var KeepHilite=0; // Keep selected path highligthed
var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10]; // Arrow source, width and height