/    Sign up×
Community /Pin to ProfileBookmark

Javascript drop dowm menu

Hi There,

I would really appreciate help on this. I have an apy menu that I need to modify.
The url is: [url]http://www.creativehabit.com.au/apy/[/url]

What happens at the moment is that there is a “current” class that you assign to the button you want to remain active on the related page.

The problem is that if I don’t assign the “current” class then it automatically goes to the first button on the nav. I need to stop this so it doesn’t show up at all.

This is want I want it to look like ( I have used a work around) but it doesn’t work in safari as you will see.

[url]http://www.mapdigital.com.au/Testing/alu-html/index.html[/url]

Thankyou very much in advance!

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @deecey 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.19,
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,
)...