/    Sign up×
Community /Pin to ProfileBookmark

Help: What’s wrong with my javascript navmenu?

I don’t know javascript but I have a launch in a few days. Suddenly the nav menu bar is not showing all the menus.. they are all there but they are hidden in black. But only on some pages. It seems very buggy.

Here’s the url for one of the problems pages and I can give you javascript to look at as well. You’ll notice that 4 buttons show but 3 buttons to the right don’t show??? This only occurred after I made changes to html on some pages in areas that shouldn’t have anything to do with the javascript???

[url]http://www.pulseguides.com/nd/destinations/destinations_home.html[/url]

Please help.

Kevin

to post a comment
JavaScript

8 Comments(s)

Copy linkTweet thisAlerts:
@CoyotelabAug 19.2008 — <i>
</i>.rcMenuStatic1 {
background-color:#FFFFFF;
color:#FFFFFF;
font-family:Verdana;
font-size:7pt;
font-weight:normal;
text-decoration:none;
}
Copy linkTweet thisAlerts:
@CoyotelabAug 19.2008 — and here is the fix for sub menu
<i>
</i>.rcSubMenuHover1 {
background-color:#FFFFFF;
color:#FFFFFF;
font-family:Verdana;
font-size:7pt;
font-weight:normal;
text-decoration:none;
}


background-color was set to #000000 on both just change them to white or any other color but not black
Copy linkTweet thisAlerts:
@zgraphicsauthorAug 19.2008 — Sorry to be so dense but I tried posting this into the styles section of my html doc and it didn't have any effect. Does this bit of code go into a .js file somewhere or where does it go?

And thanks.
Copy linkTweet thisAlerts:
@CoyotelabAug 19.2008 — in your style section this is what you have:
<i>
</i>.rcMenuStatic1 {
background-color:#000000;
color:#FFFFFF;
font-family:Verdana;
font-size:7pt;
font-weight:normal;
text-decoration:none;
}
.rcMenuHover1 {
background-color:#FFFFFF;
color:#000000;
font-family:Verdana;
font-size:7pt;
font-weight:normal;
text-decoration:none;
}
.rcSubMenuStatic1 {
background-color:#FFFFFF;
color:#000000;
font-family:Verdana;
font-size:7pt;
font-weight:normal;
text-decoration:none;
}
.rcSubMenuHover1 {
background-color:#000000;
color:#FFFFFF;
font-family:Verdana;
font-size:7pt;
font-weight:normal;
text-decoration:none;
}


you need to change the

.rcMenuStatic1 {

background-color:#000000; to background-color:#FFFFFF;

and

.rcSubMenuHover1 {

background-color:#000000; to background-color:#FFFFFF;
Copy linkTweet thisAlerts:
@zgraphicsauthorAug 19.2008 — The code you say is in my html is not in my file.. it must be virtually pulled in so I'm not seeing it in my original document. I'm searching the javascript documents to try to find where that code resides.
Copy linkTweet thisAlerts:
@zgraphicsauthorAug 19.2008 — I'm not getting it. When I make the changes you suggest I get bad results. Here's my nav_1.js file:

/// FORMAT MENU ///

menuStyle = "flat"

cellPadding = "4"

cellBorder = 1

verticalOffset = "-1"

horizontalOffset = "10"

subMenuDelay = .8

subIndicate = 0

indicator = ""

// Main Menu Items

menuWidth = "0"

borderColor = "000000"

borderHighlight = "#97BBD3"

borderShadow = "#31556D"

menuBackground = "#FFFFFF"

menuHoverBackground = "#FFFFFF"

fontFace = "Verdana, Arial, Helvetica"

fontColour = "#FFFFFF"

fontHoverColour = "#000000"

fontSize = "7pt"

fontDecoration = "none"

fontWeight = "normal"

// Sub Menu Items

smenuWidth = "180"

sborderColor = "#000000"

sborderHighlight = "#E9E9E2"

sborderShadow = "#83837C"

smenuBackground = "#FFFFFF"

smenuHoverBackground = "#FFFFFF"

sfontFace = "Verdana, Arial, Helvetica"

sfontColour = "#000000"

sfontHoverColour = "#FFFFFF"

sfontSize = "7pt"

sfontDecoration = "none"

sfontWeight = "normal"

quantity = 1

/// END FORMAT MENU ////
Copy linkTweet thisAlerts:
@zgraphicsauthorAug 19.2008 — And why is the problem only on some of the menu items when the color changes are universal??
Copy linkTweet thisAlerts:
@zgraphicsauthorAug 19.2008 — Ahhhhh, I solved my own problem. There were virtual html promo boxes placed in those pages that had a forced link color of black which was interfering with the javascript menu.

Thanks
×

Success!

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