Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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

Menu text disappears on its associated landing pages


Poster: rickvidallon
Dated: Wednesday March 30 2005 - 15:24:56 BST

I've search the forums and cannot find a posting on this subject.
In IE, Firefox & Netscape the menu text randomly disappears once you click past the first page load. The menus are definitely there as you can see them on mouse over.
First View - http://krystyna1.win.cedant.com/about.php
Then click on 'Signature Collection' in main nav. Click other items in the main nav. -- Text menu items seem to randomly disappear.

Here is my code.... any help is greatly appreciated.

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

with(menuStyle=new mm_style()){

fontfamily="Verdana, Tahoma, Arial";
fontsize="70%";
fontstyle="normal";
offbgcolor="#542D6C";
offcolor="#ffffff";
onbgcolor="#02B9B5";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#542D6C', Direction=0, Strength=0)";
padding=5;
pagebgcolor="#542D6C";
pagecolor="#542D6C";
separatorcolor="#2D729D";
separatorsize=0;
subimage="images/arrow.gif";
subimagepadding=3;
}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=0;
overflow="no scroll";
style=menuStyle;
top=200;
aI("status=Back To Krystynas Home Page;text= Home;url=index.php;");
aI("showmenu=About Krystyna;text=About Krystyna;");
aI("showmenu=Signature Collection;text=Signature Collection™;url=collection.php;");
aI("showmenu=Custom Design;text=Custom Design;url=custom.php;");
aI("showmenu=Place an Order;text=Place an Order;url=order.php;");
aI("showmenu=Links & Resources;text=Links & Resources;url=resources.php;");
aI("text=Delighted Clients;url=clients.php;");
aI("showmenu=Men Buying for Women;text=Men Buying<br>for Women;url=justformen.php;");
aI("showmenu=Contact Krystyna;text=Contact Krystyna;url=contact.php;");
aI("showmenu=Events & Shows;text=Events & Shows;url=events.php;");
aI("text=Site Index;url=siteindex.php;");
aI("text=<b>1-877-428-2103</b>;url=contact.php;");
}

with(milonic=new menuname("About Krystyna")){
overflow="scroll";
style=menuStyle;
aI("text=Renata Keep;url=http://www.ceb-associates.com/renata_keep_main.html;target=windowname;targetfeatures=width=400 height=400 status=yes scrollbars=yes resizable=yes");
aI("text=Adela Lach Piasecki;url=http://www.ceb-associates.com/survivor_of_WWII.html;target=windowname;targetfeatures=width=400 height=400 status=yes scrollbars=yes resizable=yes");
aI("text=Krystyna Signature Collection;url=collection.php;")

}

with(milonic=new menuname("Signature Collection")){
style=menuStyle;
aI("text=View Krystyna Jewelry Collection;url=collection.php;");
aI("text=About Silver;url=aboutsilver.php;");
aI("text=About Gold;url=aboutgold.php;");
aI("text=Choosing A Gemstone;url=aboutgems.php;");
aI("text=Delighted Clients;url=clients.php;");
aI("text=Gemstone Care;url=gemcare.php;");
aI("text=Slilver & Gold;url=slivergoldcare.php;");
aI("text=Gift Certificates;url=giftcertificates.php;");
aI("text=Gift Wrapping;url=giftwrap.php;");
aI("text=You are Giving Back;url=giving-back.php;");
aI("text=Anniversary Gemstone Chart;url=anniversary-chart.php;");
aI("text=Birthday Gemstone Chart;url=birthday-chart.php;");
aI("text=Stone Stories;url=stonestories.php;");
aI("text=Sold Krystyna Pieces;url=sold.php;");
}

with(milonic=new menuname("Custom Design")){
style=menuStyle;
aI("text=Anniversary Gemstone Chart;url=anniversary-chart.php;");
aI("text=Birthday Gemstone Chart;url=birthday-chart.php;");
aI("text=Choosing a Gemstone;url=choosing.php;");
aI("text=Gift Certificates;url=giftcertificates.php;");
aI("text=Sold Krystyna Pieces;url=sold.php;");
}

with(milonic=new menuname("Place an Order")){
style=menuStyle;
aI("text=You are Giving Back;url=giving-back.php;");
aI("text=Assurances;url=order.php;");
aI("text=Alternate Shipping;url=order.php;");
aI("text=Custom Design;url=custom.php;");
aI("text=Complementary Shipping;url=order.php;");
aI("text=Gift Certificates;url=giftcertificates.php;");
aI("text=Gift Wrapping;url=giftwrap.php;");
aI("text=Insurance;url=order.php;");
aI("text=Payment Information;url=order.php;");
aI("text=Privacy Statement;url=order.php;");
}

with(milonic=new menuname("Links & Resources")){
style=menuStyle;
aI("text=About Gemstones;url=aboutgems.php;");
aI("text=About Silver;url=aboutsilver.php;");
aI("text=Ads & Articles;url=ads.php;");
aI("text=Anniversary Gemstone Chart;url=anniversary-chart.php;");
aI("text=Associate Links;url=associate.php;");
aI("text=Beauty Tips;url=tips.php;");
aI("text=Birthday Gemstone Chart;url=birthday-chart.php;");
aI("text=Choosing A Gemstone;url=choosing.php;");
aI("text=Delighted Clients;url=clients.php;");
aI("text=Eight Gemstone Families;url=families.php;");
aI("text=Events & JewelryShows;url=events.php;");
aI("text=Gift Certificates;url=giftcertificates.php;");
aI("text=Gemstone Care & Handling Guidelines;url=gemcare.php;");
aI("text=Newsletter Sign-Up;url=mailinglist.php;");
aI("text=Silver Handling & Cleaning;url=silver.php;");
aI("text=Stone Stories;url=stonestories.php;");
aI("text=Sources Of Information;url=sources.php;");
aI("text=Quotes From The Website;url=site-quotes.php;");
aI("text=About Gold;url=aboutgold.php;");
aI("text=Sold Krystyna Pieces;url=sold.php;");
aI("text=Register for Updates;url=contact.php;");
aI("text=Events & Jewelry Shows;url=mailinglist.php;");
aI("text=Men Buying for Women;text=Men Buying for Women;url=justformen.php;");
}

with(milonic=new menuname("Delighted Clients")){

}

with(milonic=new menuname("Men Buying for Women")){
style=menuStyle;
aI("text=Input for Men;url=menbuyingjewelry.php;");
aI("text=Gift Certificates;url=giftcertificates.php;");
aI("text=Anniversary Gemstone Chart;url=anniversary-chart.php;");
aI("text=Birthday Gemstone Chart;url=birthday-chart.php;");
aI("text=Custom Design;url=custom.php;");
}

with(milonic=new menuname("Contact Krystyna")){
style=menuStyle;
aI("text=Register for Updates;url=contact.php;");
aI("text=Privacy Statement;url=order.php;");
}

with(milonic=new menuname("Events & Shows")){
style=menuStyle;
aI("text=2005 Krystyna Events & Shows;url=2005.php;");
aI("text=2004 Krystyna Events & Shows;url=2004.php;");
aI("text=Gem & Jewelry Shows;url=shows.php;");
}

with(milonic=new menuname("1-877-428-2103")){

}

with(milonic=new menuname("Site Index")){

}
drawMenus();


Poster: Ruth
Dated: Wednesday March 30 2005 - 17:02:57 BST

Hi,
Your offbgcolor is #542D6C and your pagebgcolor and pagecolor is #542D6C. So, when you are on a page that is part of the highlighting to show where you are on the site, it disappears. You need to change that so it's not the same or if you don't want to have that path highlighting, then just eliminate the pagebgcolor and pagecolor from your style code.

Also, because many people don't know about code, when you post code, use the code button just above the area to open and close the code you are posting.

Ruth

Menu text disappears on its associated landing pages


Poster: rickvidallon
Dated: Wednesday March 30 2005 - 18:36:09 BST

IT WORKED!
Thank you so much for your timely advise as my deadline is Friday!
- Thanks again, Rick


Poster: Ruth
Dated: Wednesday March 30 2005 - 18:56:57 BST

You're welcome. Just as an artistic thing, since you have a black background with white text, if you wanted to let people know where they are you could use just the pagecolor. That only affects the font color, doesn't do anything to the on or off background color. You could set it as pagecolor="#e8dff4"; and when you were on a page in the path it would make that item's text a light lilac, like the colors in the site.


Ruth

Love your menu page location idead...but


Poster: rickvidallon
Dated: Wednesday March 30 2005 - 23:11:50 BST

Ruth - I tried your great suggestion as I am a creative at heart as well --- besides its just good navigation practice!
But the effect went south on me.
view: http://krystyna1.win.cedant.com/index.php
and click to interior pages. Your help and suggestions are again appreciated!

Here's my code.

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

with(menuStyle=new mm_style()){

fontfamily="Verdana, Tahoma, Arial";
fontsize="70%";
fontstyle="normal";
offbgcolor="#542D6C";
offcolor="#ffffff";
onbgcolor="#02B9B5";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#542D6C', Direction=0, Strength=0)";
padding=5;
pagecolor="#00F9F9";
separatorcolor="#2D729D";
separatorsize=0;
subimage="images/arrow.gif";
subimagepadding=3;
}


with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=0;
overflow="no scroll";
style=menuStyle;
top=200;
aI("status=Back To Krystynas Home Page;text= Home;url=index.php;");
aI("showmenu=About Krystyna;text=About Krystyna;");
aI("showmenu=Signature Collection;text=Signature Collection™;url=collection.php;");
aI("showmenu=Custom Design;text=Custom Design;url=custom.php;");
aI("showmenu=Place an Order;text=Place an Order;url=order.php;");
aI("showmenu=Links & Resources;text=Links & Resources;url=resources.php;");
aI("text=Delighted Clients;url=clients.php;");
aI("showmenu=Men Buying for Women;text=Men Buying<br>for Women;url=justformen.php;");
aI("showmenu=Contact Krystyna;text=Contact Krystyna;url=contact.php;");
aI("showmenu=Events & Shows;text=Events & Shows;url=events.php;");
aI("text=Site Index;url=siteindex.php;");
aI("text=<b>1-877-428-2103</b>;url=contact.php;");
}

with(milonic=new menuname("About Krystyna")){
overflow="scroll";
style=menuStyle;
aI("text=Renata Keep;url=http://www.ceb-associates.com/renata_keep_main.html;target=windowname;target=_blank");
aI("text=Adela Lach Piasecki;url=http://www.ceb-associates.com/survivor_of_WWII.html;target=windowname;target=_blank");
aI("text=Krystyna Signature Collection;url=collection.php;")

}

with(milonic=new menuname("Signature Collection")){
style=menuStyle;
aI("text=View Krystyna Jewelry Collection;url=collection.php;");
aI("text=About Silver;url=aboutsilver.php;");
aI("text=About Gold;url=aboutgold.php;");
aI("text=Choosing A Gemstone;url=aboutgems.php;");
aI("text=Delighted Clients;url=clients.php;");
aI("text=Gemstone Care;url=gemcare.php;");
aI("text=Slilver & Gold;url=slivergoldcare.php;");
aI("text=Gift Certificates;url=giftcertificates.php;");
aI("text=Gift Wrapping;url=giftwrap.php;");
aI("text=You are Giving Back;url=giving-back.php;");
aI("text=Anniversary Gemstone Chart;url=anniversary-chart.php;");
aI("text=Birthday Gemstone Chart;url=birthday-chart.php;");
aI("text=Stone Stories;url=stonestories.php;");
aI("text=Sold Krystyna Pieces;url=sold.php;");
}

with(milonic=new menuname("Custom Design")){
style=menuStyle;
aI("text=Anniversary Gemstone Chart;url=anniversary-chart.php;");
aI("text=Birthday Gemstone Chart;url=birthday-chart.php;");
aI("text=Choosing a Gemstone;url=choosing.php;");
aI("text=Gift Certificates;url=giftcertificates.php;");
aI("text=Sold Krystyna Pieces;url=sold.php;");
}

with(milonic=new menuname("Place an Order")){
style=menuStyle;
aI("text=You are Giving Back;url=giving-back.php;");
aI("text=Assurances;url=order.php;");
aI("text=Alternate Shipping;url=order.php;");
aI("text=Custom Design;url=custom.php;");
aI("text=Complementary Shipping;url=order.php;");
aI("text=Gift Certificates;url=giftcertificates.php;");
aI("text=Gift Wrapping;url=giftwrap.php;");
aI("text=Insurance;url=order.php;");
aI("text=Payment Information;url=order.php;");
aI("text=Privacy Statement;url=order.php;");
}

with(milonic=new menuname("Links & Resources")){
style=menuStyle;
aI("text=About Gemstones;url=aboutgems.php;");
aI("text=About Silver;url=aboutsilver.php;");
aI("text=Ads & Articles;url=ads.php;");
aI("text=Anniversary Gemstone Chart;url=anniversary-chart.php;");
aI("text=Associate Links;url=associate.php;");
aI("text=Beauty Tips;url=tips.php;");
aI("text=Birthday Gemstone Chart;url=birthday-chart.php;");
aI("text=Choosing A Gemstone;url=choosing.php;");
aI("text=Delighted Clients;url=clients.php;");
aI("text=Eight Gemstone Families;url=families.php;");
aI("text=Events & JewelryShows;url=events.php;");
aI("text=Gift Certificates;url=giftcertificates.php;");
aI("text=Gemstone Care & Handling Guidelines;url=gemcare.php;");
aI("text=Newsletter Sign-Up;url=mailinglist.php;");
aI("text=Silver Handling & Cleaning;url=silver.php;");
aI("text=Stone Stories;url=stonestories.php;");
aI("text=Sources Of Information;url=sources.php;");
aI("text=Quotes From The Website;url=site-quotes.php;");
aI("text=About Gold;url=aboutgold.php;");
aI("text=Sold Krystyna Pieces;url=sold.php;");
aI("text=Register for Updates;url=contact.php;");
aI("text=Events & Jewelry Shows;url=mailinglist.php;");
aI("text=Men Buying for Women;text=Men Buying for Women;url=justformen.php;");
}

with(milonic=new menuname("Delighted Clients")){

}

with(milonic=new menuname("Men Buying for Women")){
style=menuStyle;
aI("text=Input for Men;url=menbuyingjewelry.php;");
aI("text=Gift Certificates;url=giftcertificates.php;");
aI("text=Anniversary Gemstone Chart;url=anniversary-chart.php;");
aI("text=Birthday Gemstone Chart;url=birthday-chart.php;");
aI("text=Custom Design;url=custom.php;");
}

with(milonic=new menuname("Contact Krystyna")){
style=menuStyle;
aI("text=Register for Updates;url=contact.php;");
aI("text=Privacy Statement;url=order.php;");
}

with(milonic=new menuname("Events & Shows")){
style=menuStyle;
aI("text=2005 Krystyna Events & Shows;url=2005.php;");
aI("text=2004 Krystyna Events & Shows;url=2004.php;");
aI("text=Gem & Jewelry Shows;url=shows.php;");
}

with(milonic=new menuname("1-877-428-2103")){

}

with(milonic=new menuname("Site Index")){

}
drawMenus();


Poster: Ruth
Dated: Thursday March 31 2005 - 2:34:07 BST

Hi,
It's not the code, it is matching as it should given what you have.

For example, let's say you go to the collection.php page, you'll match both Signature Collection and About Krystyna because in the submenu for About Krystyna you also have a link to the collection.php page. That is happening in all the ones that have duplicates. I'm not sure, but you might be able to fix it by making one of the links a full link with a pagematch in it. For example, in the About Krystyna submenu, try setting it like this:
Code:
aI("text=Krystyna Signature Collection;url=collection.php;pagematch=http://krystyna1.win.cedant.com/collection.php;");
I don't know if that will work. You might try it on one and see, if it does you'd have to do that on all the duplicates. The only other thing I can think of to do is to code the duplicates that you don't want matching with the actual offbgcolor and offcolor, so let's say you want the collection.php to only match the Signature Collection menu item. Then under the About menu try putting in this
Code:
aI("text=Krystyna Signature Collection;url=collection.php;pagecolor=#ffffff;");
That should keep the collection.php page from causing the About Krystyna to highlight, or rather what it does is make it stay white. I'm not sure that will work. I mean I know it works but I'm not sure it will only make the highlight be white when you get to the page through the About Krystyna menu.

I'm looking to see if there's a nomatch option. If I find anything else, I'll post again. Like the color you have for the match.

Ruth

Match text color to landing pages


Poster: rickvidallon
Dated: Thursday March 31 2005 - 5:21:38 BST

I'll experiment with the code you provided.
Thanks again Ruth!