/    Sign up×
Community /Pin to ProfileBookmark

I am trying to convert to css layouts. I have created a large vertical navigation list using <ul><li> etc. I want to hide the <li>s and only show them when their respective headings are clicked. I can do this using javascript. Is there another (better) way? Thanks for any help.

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@FangSep 22.2004 — pure CSS menus:

originally from [URL=http://www.meyerweb.com/eric/css/edge/menus/demo.html]Eric Meyer[/URL]

X-browser version [URL=http://www.howtocreate.co.uk/tutorials/testMenu.html]here[/URL]
Copy linkTweet thisAlerts:
@WebskaterauthorSep 22.2004 — Thanks for your reply. Unfortunately the css driven menus don't work with IE so they are not much use. Am I stuck with javascript?
Copy linkTweet thisAlerts:
@FangSep 22.2004 — The X-browser version uses "behaviours" to get the css menu to work in IE.
×

Success!

Help @Webskater 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.28,
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,
)...