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:38
Version 5.05: pagebgcolor does not work anymore
Poster: Martin
Dated: Sunday March 14 2004 - 21:25:39 GMT
Hi,
The attribute "pagebgcolor" does not work anymore in version 5.05.
This is my style:
Code:
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?
Poster: Martin
Dated: Monday March 15 2004 - 0:05:00 GMT
Thanks for tip. I upgraded a few minutes ago, but it did not fix the problem
Poster: Ruth
Dated: Monday March 15 2004 - 1:33:57 GMT
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
Poster: Martin
Dated: Monday March 15 2004 - 1:42:35 GMT
No, the '-sign is also an perfect delimiter. This is not the reason at all.
My menu configuration worked well with versions < 5.05 .
Poster: Andy
Dated: Monday March 15 2004 - 11:10:13 GMT
Just tried your code and it works fine with 5.06
Do you have a URL that we can see?
-- Andy
Poster: wolfeman
Dated: Friday March 19 2004 - 14:14:42 GMT
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 "/"??
Poster: Martin
Dated: Friday March 19 2004 - 14:23:53 GMT
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