Hi,
Sure
First, you need to make a new image, a blank.gif that is the same size as the rounded_bottom.gif image.
I made a new style since I put everything into the css file that is a css thing, and I didn't know if the style that you were using was also used in submenus or something. So, the new style for that main menu is
Code: Select all
with(menuStyleVerticalSub_main=new mm_style()){
offclass="mButtonOff";
onclass="mButtonOver";
image="blank.gif";
overimage="rounded_bottom.gif";
imageposition="bottom";
pagebgcolor="transparent";
pagecolor="black";
separatorsize=1;
separatorimage="separator_image.gif";
subimagepadding=0;
}
Then the css stuff for mButton classes
Code: Select all
.mButtonOff{
background-color: transparent;
color:#5A5A5A;
font-style:normal;
font-family:arial,tahoma,serif;
font-size:11px;
border:0px solid #fff2e1;
margin:0px;
padding:3px 2px 3px 12px;
text-decoration:none;
}
.mButtonOver{
background: transparent url(rounded_top.gif) top left; background-repeat: no-repeat;
color:#FFFFFF;
font-style:normal;
font-family:arial,tahoma,serif;
font-size:11px;
border:0px solid #fff2e1;
margin:0px; padding:3px 2px 3px 12px;
text-decoration:none;
}
And this is the menu, itself
Code: Select all
<script language=javascript type=text/javascript>
<!--
with(milonic=new menuname("SideMenu")){
style=menuStyleVerticalSub_main;
alwaysvisible=1;
menuwidth="180px";
orientation="vertical";
position="relative";
aI("text=AGC Districts;showmenu=AboutAGCSubVertical;");
aI("text=Find A Member;status=Link 2;showmenu=AboutAGCSubVertical;");
aI("text=How to Join;status=Link 3;showmenu=AboutAGCSubVertical;");
aI("text=Buy A Product;status=Link 4;showmenu=AboutAGCSubVertical;");
aI("text=Search Jobs;status=Link 5;showmenu=AboutAGCSubVertical;");
aI("text=Get Involved;status=Link 6;showmenu=AboutAGCSubVertical;");
}
drawMenus();
-->
</script>
The rounded_top is now the overbgimage and you don't need a matching bgimage because with the css class it's not necessary. As I said, you cannot use the subimage right now because you must use the imageposition="bottom"; in the style to get that rounded_bottom.gif to appear at the bottom of the left side, but to offset that is the advantage that you can now make your rounded_top.gif image longer, say 150px in length, and when someone who needs larger fonts for accessibility issues, you will still have a complete 'tab' look since the css is set for no repeat for the bgimage, and if you make it that long, it works up to 500% font size increase and still looks like a tab. Hope this helps.
Ruth