Hi All
When I have a single page all is fine but once I add more pages the active page "menu item" is black. What should happen is the background is green #99cc99 when no mouse over, when the mouse goes over the it turns to an image. The over mouse does turn to an image but the off mouse is black.
Many thanks
_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150 // The time delay before menus open on mouse over
_subOffsetTop=10 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset
with(menuStyle=new mm_style()){
oncolor="#000000";
offbgcolor="#99cc99";
offcolor="#006633";
bordercolor="#339933";
borderstyle="solid";
borderwidth=1;
separatorcolor="#339933";
separatorsize="1";
padding=5;
fontsize="75%";
fontstyle="bold";
fontfamily="Arial, Verdana, Tahoma";
pagecolor="#000000";
pagebgcolor="#000000";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='99cc99', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
top=192;
left=71;
screenposition="center";
orientation="horizontal";
aI("text=Home;url=http://www.ecoseeds.co.nz/indexm5.htm;status=Back To Home Page;overbgimage=/images/hills7m2.jpg;");
aI("text=About Us;showmenu=About Us;overbgimage=/images/hills7m2.jpg;");
aI("text=Gardening Centre;showmenu=Gardening Centre;overbgimage=/images/hills7m2.jpg;");
aI("text=Downloads;showmenu=Downloads;overbgimage=/images/hills7m2.jpg;");
aI("text=The Mailing list;showmenu=The Mailing list;overbgimage=/images/hills7m2.jpg;");
aI("text=Bits & Pieces;showmenu=Bits & Pieces;overbgimage=/images/hills7m2.jpg;");
}
with(milonic=new menuname("About Us")){
style=menuStyle;
overflow="scroll";
aI("text=All About Us;url=http://www.ecoseeds.co.nz/aboutusm5.htm ... ls7m25.jpg;");
aI("text=ecoseeds Privacy;url=http://www.ecoseeds.co.nz/privacym5.htm ... ls7m25.jpg;");
aI("text=Limitation on Seeds;url=http://www.ecoseeds.co.nz/limitationsee ... ls7m25.jpg;");
aI("text=Limitation on Downloads;url=http://www.ecoseeds.co.nz/limitationdow ... ls7m25.jpg;");
}
with(milonic=new menuname("Gardening Centre")){
style=menuStyle;
overflow="scroll";
aI("text=Our Products;url=http://www.ecoseeds.co.nz/catindexm5.ht ... ls7m25.jpg;");
aI("text=How to Order;url=http://www.ecoseeds.co.nz/howtoorderm5. ... ls7m25.jpg;");
aI("text=Online Ordering - without the credit card;url=http://www.ecoseeds.co.nz/onlineorder.h ... ls7m25.jpg;");
aI("text=Store Locator;url=http://www.ecoseeds.co.nz/localm5.htm;o ... ls7m25.jpg;");
}
with(milonic=new menuname("Downloads")){
style=menuStyle;
aI("text=Catalogue download in PDF format;url=http://www.ecoseeds.co.nz/downforms/cat ... ls7m25.jpg;");
aI("text=Catalogue download in Word 97 format;url=http://www.ecoseeds.co.nz/downforms/cat ... ls7m25.jpg;");
aI("text=Order Form download in PDF format;url=http://www.ecoseeds.co.nz/downforms/ord ... ls7m25.jpg;");
aI("text=Order Form download in Word 97 format;url=http://www.ecoseeds.co.nz/downforms/ord ... ls7m25.jpg;");
aI("text=Free Download of Word Viewer for Word 97;url=http://www.ecoseeds.co.nz/downforms/wd9 ... ls7m25.jpg;");
aI("text=Free Download of Acrobat Reader for PDF reading;url=http://www.adobe.com/products/acrobat/r ... ls7m25.jpg;");
}
with(milonic=new menuname("The Mailing list")){
style=menuStyle;
aI("text=Join the Mailing List;url=http://www.ecoseeds.co.nz/joinlistm5.ht ... ls7m25.jpg;");
aI("text=Tell a Friend;url=http://www.ecoseeds.co.nz/friendm5.htm; ... ls7m25.jpg;");
aI("text=Be Removed from the Mailing List;url=http://www.ecoseeds.co.nz/removem5.htm; ... ls7m25.jpg;");
}
with(milonic=new menuname("Bits & Pieces")){
style=menuStyle;
aI("text=ecoseeds Latest Newsletter;url=http://www.ecoseeds.co.nz/news1m5.htm;o ... ls7m25.jpg;");
aI("text=Phases of the Moon;url=http://www.ecoseeds.co.nz/moonm5.htm;ov ... ls7m25.jpg;");
aI("text=Do You Grow Seeds?;url=http://www.ecoseeds.co.nz/growersm5.htm ... ls7m25.jpg;");
aI("text=FAQ;url=http://www.ecoseeds.co.nz/faq.htm;overb ... ls7m25.jpg;");
aI("text=Links to Other Green Places;url=http://www.ecoseeds.co.nz/linksm5.htm;o ... ls7m25.jpg;");
aI("text=Having Problems - Send an email;url=mailto:webmaster@ecoseeds.co.nz;overbgimage=/images/hills7m25.jpg;");
}
drawMenus();
Black background on image
Hi,
I moved this to the help and support section of the forum.
That is what is making the item black, it works to show the 'active' page. If you want both the overbgimage to work and the pagebgcolor, to show the page one is on, you could change that black to something else, maybe white like the top part of the overbgimage. If you don't want it to work, just remove the code totally from the style definition.
Ruth
I moved this to the help and support section of the forum.
Code: Select all
pagecolor="#000000";
pagebgcolor="#000000";
Ruth
-
- Beginner
- Posts: 3
- Joined: Sat Sep 25, 2004 8:52 am
Thanks
Thanks Ruth, that did the trick. I am impressed with the service.
Roy
Roy