Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:49
Submenus with Submenus: Font color?
Poster: ShadowBox
Dated: Monday March 28 2005 - 17:41:20 BST
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.
Poster: Ruth
Dated: Monday March 28 2005 - 20:11:12 BST
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
Poster: ShadowBox
Dated: Monday March 28 2005 - 20:19:48 BST
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:
_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();
_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,
Re: Submenus with Submenus: Font color?
Poster: John
Dated: Monday March 28 2005 - 20:36:38 BST
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?
Poster: ShadowBox
Dated: Monday March 28 2005 - 20:50:10 BST
hi again,
Thanks for the quick response!
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
Poster: John
Dated: Monday March 28 2005 - 21:15:40 BST
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.
Poster: ShadowBox
Dated: Monday March 28 2005 - 22:04:59 BST
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
Poster: John
Dated: Monday March 28 2005 - 22:08:17 BST
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.
Poster: ShadowBox
Dated: Monday March 28 2005 - 22:11:14 BST
Quote:
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...
Poster: John
Dated: Monday March 28 2005 - 22:14:15 BST
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.
Poster: ShadowBox
Dated: Monday March 28 2005 - 22:17:07 BST
Quote:
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...
Quote:
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
Poster: kevin3442
Dated: Tuesday March 29 2005 - 1:52:11 BST
John wrote:
...I'm in NE...
You should be so lucky!
Kevin
Poster: John
Dated: Tuesday March 29 2005 - 14:53:43 BST
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...
Poster: kevin3442
Dated: Wednesday March 30 2005 - 0:08:53 BST
John wrote:
Oh, brother. Mr. Quick Wit. Although I gotta admit, that one did take me a sec...
Let's see... so that makes you Mr. ...?
Poster: John
Dated: Wednesday March 30 2005 - 15:14:30 BST
kevin3442 wrote:
John wrote:
Oh, brother. Mr. Quick Wit. Although I gotta admit, that one did take me a sec...
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...