Submenus with Submenus: Font color?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ShadowBox
Beginner
Beginner
Posts: 6
Joined: Mon Mar 28, 2005 5:36 pm

Submenus with Submenus: Font color?

Post by ShadowBox »

Howdy,

First off, great product, I'm very impressed and pleased with it.

I have a horizontal menu with a submenu that has four items, that in turn has two submenus off of it. I am trying to find the code for the font color for the two menu items that have submenus off of them. For some reason, if a submenu has a submenu, the font is much darker, and I can't find out where to set this.

I apologize if this has been asked before. I did a search, but everthing I searched for came back with over 1000 hits.

Thanks for your time.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

I'm not sure why you are getting a darker color. Can you post a test page, or post the menu_data.js code here so we can see it? The test page would be the best, but if you post the code make sure you use the code button above to open and close the data.

Also, if you have a css file, try removing that [just for testing] and see if the colors become what the others are. If they do, then something in the css is causing that.

Ruth
ShadowBox
Beginner
Beginner
Posts: 6
Joined: Mon Mar 28, 2005 5:36 pm

Post by ShadowBox »

Howdy,

Thanks for responding so quickly.

I tried removing my CSS file as suggested, but the problem is still happening. I don't have it accessible right now, so here's the code:

Code: Select all

_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;




with(menuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#3a3a3a";
offcolor="#efefef";
onbgcolor="#000080";
oncolor="#ffffff";
visitedcolor="#efefef";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
padding=5;
pagebgcolor="#3a3a3a";
pagecolor="#ffffff";
separatorcolor="#cccccc";
separatorsize=1;
subimage="images/menuarrow.gif";
subimagepadding=5;
align="left";
}

with(milonic=new menuname("About")){
style=menuStyle;
aI("text=Location;showmenu=Location;")
aI("text=Services;url=/services.php;")
aI("text=Departure Sequence;url=/departseq.php;")
aI("text=Diagrams;showmenu=Diagrams;")

}

with(milonic=new menuname("Diagrams")){
style=menuStyle;
aI("text=Local Area Map;url=/images/areamap.jpg;")
aI("text=Staging Diagram;url=/images/bikestaging.jpg;")
aI("text=Ride Start Diagram;url=/images/bikerelease.jpg;")
}



with(milonic=new menuname("Safety")){
style=menuStyle;
aI("text=Safety Basics;url=safetybase.php;");
aI("text=Staging Basics;url=stagingbase.php;");
aI("text=Going to The Pentagon;url=goingtopentagon.php;");
aI("text=Rolling Thunder;url=rollingthunder.php;");
}

drawMenus();

Any help given is greatly appreciated.

Thanks,
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Submenus with Submenus: Font color?

Post by John »

ShadowBox wrote:First off, great product, I'm very impressed and pleased with it.
Thanks very much for the kind words. Most appreciated.
ShadowBox wrote:I have a horizontal menu with a submenu that has four items, that in turn has two submenus off of it. I am trying to find the code for the font color for the two menu items that have submenus off of them. For some reason, if a submenu has a submenu, the font is much darker, and I can't find out where to set this.
The code you posted doesn't include everything you have described here. There's no main menu and not enough subs (if I read it right).

Got something else lurking somewhere?
John
ShadowBox
Beginner
Beginner
Posts: 6
Joined: Mon Mar 28, 2005 5:36 pm

Post by ShadowBox »

hi again,

Thanks for the quick response! :D

I put up a the menu itself on my personal space, which you can see at the following:

http://www.ragnarok.net/~shad/menutest/menutest.php

I'm trying to figure out where to change the color of the text that reads "Location" and "Diagram" under the "About the Ride" menu.

I copied the complete contents of the menu_data.js file and pasted them here in my previous post. Is there a different file that I need to copy?

Thanks again for all the help :)
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Hi -

It's picking up the visitedcolor="#efefef";. I commented that line out and all text is now white (see http://www.west.asu.edu/sa/testsite/index2.htm). You might want to change that color value.

Also, I removed the DIVs you had in there. The menu does not like to be cooped up in them. One (right before the table) was not closed.
John
ShadowBox
Beginner
Beginner
Posts: 6
Joined: Mon Mar 28, 2005 5:36 pm

Post by ShadowBox »

Wow...awesome support, above and beyond the call of duty.

Thanks a ton John! I really REALLY appreciate it :)

As I side note, I'm a native of AZ (Born in Tucson, raised all over that state), and now live in Virginia. Quite a ways from home :)

take care!

-Shad
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Our pleasure (we are a team, after all!).

I'm in NE Phoenix. If you've been away for more than a month at any time you wouldn't recognize the place. Far too much growth.

Where in VA? I went to school in Salem.
John
ShadowBox
Beginner
Beginner
Posts: 6
Joined: Mon Mar 28, 2005 5:36 pm

Post by ShadowBox »

Where in VA? I went to school in Salem.
I'm up in Northern VA, about 40 minutes outside of DC in a little place called Sterling.

The whole state of AZ changes everytime I come back. My dad lives in Flagstaff still, and I swear, I come and half the town has changed. Amazing how fast it grows while you're gone...
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

ShadowBox wrote:I'm up in Northern VA, about 40 minutes outside of DC in a little place called Sterling.
That one I'm not familiar with.
ShadowBox wrote:The whole state of AZ changes everytime I come back. My dad lives in Flagstaff still, and I swear, I come and half the town has changed. Amazing how fast it grows while you're gone...
Heh - not only while you're gone, my friend. It's a daily deal. :(
John
ShadowBox
Beginner
Beginner
Posts: 6
Joined: Mon Mar 28, 2005 5:36 pm

Post by ShadowBox »

That one I'm not familiar with.
I would've been surprised if you had. It's a small enough place that we're not incorporated: i.e., no police, no fire department...
Heh - not only while you're gone, my friend. It's a daily deal
I hear that. I live in Loudoun County which is the fastest county in the entire country. You can drive by and empty lot one week, the next week there's a neighborhood development and 3 strip malls there.

Crazy :)
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

John wrote:...I'm in NE...
You should be so lucky!

;)

Kevin
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

kevin3442 wrote:
John wrote:...I'm in NE...
You should be so lucky!

;)

Kevin
Oh, brother. Mr. Quick Wit. Although I gotta admit, that one did take me a sec... :D
John
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

John wrote:Oh, brother. Mr. Quick Wit. Although I gotta admit, that one did take me a sec... :D
Let's see... so that makes you Mr. ...? ;)
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

kevin3442 wrote:
John wrote:Oh, brother. Mr. Quick Wit. Although I gotta admit, that one did take me a sec... :D
Let's see... so that makes you Mr. ...? ;)
kevin3442 wrote:The function was firing, but it wasn't closing anything because of a stupid programming mistake I made.
'Nuf said... :?: :lol:
John
Post Reply