Version 5.05: pagebgcolor does not work anymore

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Martin
Mega User
Mega User
Posts: 113
Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland

Version 5.05: pagebgcolor does not work anymore

Post by Martin »

Hi,

The attribute "pagebgcolor" does not work anymore in version 5.05.
This is my style:

Code: Select all

    with(NavMainStyle=new mm_style()){fontfamily='Verdana,Arial';fontstyle='normal';fontweight='normal';fontsize='11';padding=3;align='center';offcolor='#FFFFFF';oncolor='#FFFFFF';offbgcolor='#C4BF8A';onbgcolor='#ABA361';pagecolor='#FFFFFF';pagebgcolor='#ABA361';separatorcolor='#FFFFFF';separatorsize='1';}
Do i have to change something or is it a bug?
cheers

====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I don't know but 5.06 is up now.

Ruth
User avatar
Martin
Mega User
Mega User
Posts: 113
Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland

Post by Martin »

Thanks for tip. I upgraded a few minutes ago, but it did not fix the problem :cry:
cheers

====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

It is working on Milonic site which is using the newest files, so I have no idea why it's not working on yours. I noticed that your code has ' instead of " ie. pagebgcolor='#ABA361'; I don't know if that would make a difference or not.

Ruth
User avatar
Martin
Mega User
Mega User
Posts: 113
Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland

Post by Martin »

No, the '-sign is also an perfect delimiter. This is not the reason at all.

My menu configuration worked well with versions < 5.05 .
cheers

====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Just tried your code and it works fine with 5.06

Do you have a URL that we can see?

-- Andy
wolfeman
Beginner
Beginner
Posts: 2
Joined: Fri Mar 19, 2004 3:05 pm

Post by wolfeman »

I just upgraded our version 3 menu to version 5.07. I noticed that the "pagebgcolor" and "pagecolor" only seem to work if the url used starts with a "/". For example, if I use "/index.htm" as the url for a menu item and then go to that page, the menu item will change to the "pagecolor" attribute. But, if I use just "index.htm", it will not change. The way that our servers are setup, it would be hard to put the "/" in all of our urls in the menu (when I moved the pages from our test server to our production server, I would have to go in and modify all of the urls). Is there are way to get the "pagecolor" attributes to work without starting all urls with "/"??
User avatar
Martin
Mega User
Mega User
Posts: 113
Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland

Post by Martin »

Hi

I made a similar experience a few minutes ago.

On my Development server the url looks like this:

http://centerplast.merlincity.ch/index.cfm

On the productive server, a test area, the url is like that:

http://testsite.merlinconsulting.ch/zpc/index.cfm

So, it works in on my Development server.

I my code I use a relative addressing to be portable. So, I can't add a leading / in front of the filename. This might be a nightmare for me
cheers

====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
Post Reply