/    Sign up×
Community /Pin to ProfileBookmark

Help with Script for Pop Out Menu

Need help quickly!

I’ve attached my menu.js file.

I need the first pop out menu and the submenu for “where to stay.gif” to have a purple background with white text for the off state and white background and purple text for the on state. also need the menu to pop up right under the “where to stay.gif” button and right now it appears relative to the mouse.

Thanks,
M

[upl-file uuid=da4087a8-4bdb-46a8-a5af-d9adec36fae4 size=39kB]menu.txt[/upl-file]

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@havikApr 22.2003 — In the Menu function change these values:

this.fontColor = "white";

this.fontColorHilite = "purple";

this.menuItemBgColor = "purple";

this.menuHiliteBgColor = "white";

This should get you your desired highlighted colors. It appears that you gave these variables (ie: bg, bgh,...) so that you may edit them from elsewhere. If these are the final colors then I suggest leaving it as is, or if this is not the case then nevermind ?

Havik
×

Success!

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