/    Sign up×
Community /Pin to ProfileBookmark

How would I make expanged files in HTML?

Such as

North
– Ohio
– Brookview
– etc

After clicking on the word north I would like each city to appear.

Thank you for your help in advance

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@TheBearMayJun 14.2005 — <ul>
<li><a href="#">Link 1</a></li>
<li><a href="#" onclick="document.getElementById('hTxt').style.display='inline'">Link 2 </a>
<ul id="hTxt" style="display:none" onclick="this.style.display='none'">
<li>Link 2 line 1</li>
<li>Link 2 line 2</li>
<li>Link 2 line 3</li>
<li>Link 2 line 4</li>
</ul>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
</ul>
×

Success!

Help @denise1 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.29,
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,
)...