/    Sign up×
Community /Pin to ProfileBookmark

cascading menu

source: [url]http://javascript.internet.com/navigation/cascading-menu.html[/url]

Wanted to use the first 3 menu items in many different city
html pages(that would change for ea city) and the last 3 menu items would be for country facts(that would remain the same. Instead of having to update every city page when a country fact is added, I wanted to divide the menu script into two js files, this way I only have to update one file for country facts. But for some reason the script wont work that way…
Any ideas why splitting the menu and trying to run two parts erases each other? I think theres something in the code telling it to erase the entire line with each menu bar.
Thanks to all that can handle this one!

first part of menu:
[url]http://www.geocities.com/leegar_usnr/one.html[/url]

Second part of menu:
[url]http://www.geocities.com/leegar_usnr/two.html[/url]

This is the menu broken into two js files, but it doesnt work
[url]http://www.geocities.com/leegar_usnr/two_menus.html[/url]

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @ranosb 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.4,
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,
)...