/    Sign up×
Community /Pin to ProfileBookmark

Drop down menu current page

I have drop down menu and so far i made something like this
[URL=”http://jsbin.com/amofoz/11/edit”]http://jsbin.com/amofoz/11/edit[/URL]
I want to make my menu expand on a current page. Now it is but “+” is replaced with “-” when it is expanded (it should be “-“) Also when both (“Pierwsze” and “Drugie”) are expanded and when i close on “Pierwsze” then also “drugie” is closing. But when i have both closed and i click “Drugie” to expand then “Pierwsze” is also expanding. By the way i want when “pierwsze” ius expanded and then i click on “Drugie” then “Pierwsze” should be closed. Sorry for my english. I hope i described it properly. I don’t know how to do that drop down menu to work good.

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @kernelus 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.5,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...