problems with pagecolor and pagebgcolor properties

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
UrbanDog
Beginner
Beginner
Posts: 6
Joined: Mon Aug 25, 2003 5:00 am
Contact:

problems with pagecolor and pagebgcolor properties

Post by UrbanDog »

I'm plugging my way through the version 5 menu pages as I set up my menu (which I had working beautifully in ver 3), and am stumped as to why the pagebgcolor and pagecolor properties are not working with my menu. I checked through the forum archives to see if someone else has had and solved this problem, and the closest query I could find was with ver 3 - the solution was to use absolute instead of relative urls in the menu. I tried that and still no luck in having the menu item change color when the page is viewed. Here a snippet of my code, if someone would be so kind (yet again) to troubleshoot:

with(menuStyle=new mm_style()){
onbgcolor="#779577";
oncolor="#ffffff";
offbgcolor="#ffffff";
offcolor="#330000";
bordercolor="#330000";
borderstyle="solid";
borderwidth=1;
separatorcolor="#330000";
separatorsize="1";
padding=3;
fontsize="10";
fontweight="bold";
fontstyle="normal";
fontfamily="Verdana, Arial";
pagecolor="white";
pagebgcolor="#779577";
headercolor="#ffffff";
headerbgcolor="#779577";
subimage="arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I can't see your links, it may be you have url links instead of page links.
UrbanDog
Beginner
Beginner
Posts: 6
Joined: Mon Aug 25, 2003 5:00 am
Contact:

I've tried both absolute and relative...

Post by UrbanDog »

I tried both url and page links - neither seem to work. Here is the full script:



with(menuStyle=new mm_style()){
onbgcolor="#779577";
oncolor="#ffffff";
offbgcolor="#ffffff";
offcolor="#330000";
bordercolor="#330000";
borderstyle="solid";
borderwidth=1;
separatorcolor="#330000";
separatorsize="1";
padding=3;
fontsize="10";
fontweight="bold";
fontstyle="normal";
fontfamily="Verdana, Arial";
pagecolor="white";
pagebgcolor="#779577";
headercolor="#ffffff";
headerbgcolor="#779577";
subimage="arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}


with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=0;
left=0;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=Home url=http://localhost/urbandog.info/home/;status=Back To Home Page;");1
aI("text=Articles url=http://localhost/urbandog.info/Articles ... andog.info articles;");
aI("text=Event Calendar;url=http://localhost/urbandog.info/Events/d ... andog.info event calender;");
aI("text=Classifieds  url=http://www.urbandog.info/phpClassifieds ... anDog.info classifieds;");1
aI("text=Toronto By Dog url=http://localhost/urbandog.info/Business ... andog.info Toronto dog resource directory;");
aI("text=Forums url=http://localhost/urbandog.info/Topics/d ... andog.info message boards;");
aI("text=Photo Gallery url=http://localhost/urbandog.info/Pictures ... andog.info photo gallery;");
aI("text=UrbanDog Gear url=http://www.cafepress.com;status=grab your urbandog gear here;");
}


drawMenus();
Post Reply