/    Sign up×
Community /Pin to ProfileBookmark

Nesting Expanding menus

I’m working on an expandable menu and I want to have a further nested menu of a list of people. I can’t figure out what to do to make it work.

[code]
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”>
<html>
<head>
<title>Company</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=ISO-8859-1″>
<script type=”text/javascript” src=”expandingMenu.js”></script>
<style type=”text/css”>
ul#menu {
width: 150px;
list-style-type: none;
border-top: solid 1px #b9a894;
margin: 0;
padding: 0;
}
ul#menu ol {
display: none;
text-align: left;
list-style-type: none;
margin: 4;
padding: 5px;
}
ul#menu li,
ul#menu a {
font-family: verdana, sans-serif;
font-size: 12px;
color: #785a3c;
}
ul#menu li2,
ul#menu a {
font-family: verdana, sans-serif;
font-size: 12px;
color: #785a3c;
}
ul#menu li {
border-bottom: solid 1px #b9a894;
line-height: 15px;
}
ul#menu ol li {
border-bottom: none;
}
ul#menu ol li li2 {
border-bottom: none;
}
ul#menu ol li:before {
content: “- “;
}
ul#menu ol li li2:before {
content: “- “;
}
ul#menu a {
text-decoration: none;
outline: none;
}
ul#menu a:hover {
color: #539dbc;
}
ul#menu a.active {
color: #be5028;
}
</style>
</head>
<ul id=”menu”>
<li>Company
<ol>
<li>About</li>
<li>Services</li>
<li>People</li>
<li>F.A.Q.</li>
<li>Clients</li>
</ol>
</li>
</ul>
[/code]

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@FangMar 11.2009 — Check out how it's done in Suckerfish dropdowns
×

Success!

Help @Swirlyking spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...