PDA

View Full Version : popit menu



soft
09-15-2005, 05:36 PM
How do i a another submenu to this code:


#popitmenu{
position: absolute;
background-color: white;
border:1px solid black;
font: normal 10px Verdana;
line-height: 10px;
z-index: 100;
visibility: hidden;
}

#popitmenu a{
text-decoration: none;
padding-left: 6px;
color: black;
display: block;
}

#popitmenu a:hover{ /*hover background color*/
background-color: #C0C0C0;
}

</style>
<script type="text/javascript">

var defaultMenuWidth="200px" //set default menu width.

var linkset=new Array()
//SPECIFY MENU SETS AND THEIR LINKS. FOLLOW SYNTAX LAID OUT

linkset[0]='<div><a href="../paty/Come.html">CNE 1 Test System:</a></div>'
linkset[0]+='<div><a href="../use_2005.xls">Availability/Schedule2005.</a></div>'
linkset[0]+='<hr>' //Optional Separator

because div tag does not look so good,ig there is many sub-subject

please help