Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Martin
Mega User
Posts: 113 Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland
Post
by Martin » Sun Mar 14, 2004 10:25 pm
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
====================================
Ruth
Team
Posts: 8763 Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:
Post
by Ruth » Mon Mar 15, 2004 12:54 am
I don't know but 5.06 is up now.
Ruth
Martin
Mega User
Posts: 113 Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland
Post
by Martin » Mon Mar 15, 2004 1:05 am
Thanks for tip. I upgraded a few minutes ago, but it did not fix the problem
cheers
====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
Ruth
Team
Posts: 8763 Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:
Post
by Ruth » Mon Mar 15, 2004 2:33 am
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
Martin
Mega User
Posts: 113 Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland
Post
by Martin » Mon Mar 15, 2004 2:42 am
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
====================================
Andy
Milonic
Posts: 3308 Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:
Post
by Andy » Mon Mar 15, 2004 12:10 pm
Just tried your code and it works fine with 5.06
Do you have a URL that we can see?
-- Andy
wolfeman
Beginner
Posts: 2 Joined: Fri Mar 19, 2004 3:05 pm
Post
by wolfeman » Fri Mar 19, 2004 3:14 pm
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 "/"??
Martin
Mega User
Posts: 113 Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland
Post
by Martin » Fri Mar 19, 2004 3:23 pm
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
====================================