Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:35

Menu Background Color issue


Poster: dsel_va
Dated: Friday May 4 2007 - 5:56:38 BST

Hello I am having an issue with the bgcolors.
The menu is not displayed when "load image" feature is switched off in Browser.

The following codes I am using
with(menuStyle=new mm_style()){
onbgcolor="#53a7cb";
oncolor="#3A4F9E";
offbgcolor="#53a7cb";
pagebgcolor="#53a7cb";
offcolor="#3A4F9E";
bordercolor="#6699CC";
borderstyle="solid";
borderwidth=1;
separatorcolor="#6699CC";
separatorsize="1";
padding=4;
fontsize="10px";
fontstyle="normal";
fontfamily="verdana";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="../../images/common/icon_pulldownarrow.gif";
subimagepadding="2";
}

horizontalStyle= new copyOf(menuStyle)
horizontalStyle.offbgcolor="#53a7cb"
horizontalStyle.onbgcolor="#53a7cb"
horizontalStyle.pagebgcolor="#53a7cb";
horizontalStyle.offcolor="#FFFFFF"
horizontalStyle.oncolor="#FFFFFF"
horizontalStyle.separatorimage="../../images/layout/default/menu_div.jpg";
horizontalStyle.separatorsize="2";
horizontalStyle.itemheight="26";
horizontalStyle.bgimage="../../images/layout/default/menu_off.jpg";
horizontalStyle.overbgimage="../../images/layout/default/menu_on.jpg";
horizontalStyle.borderwidth=0;
horizontalStyle.padding=4;
horizontalStyle.fontweight="bold";
horizontalStyle.fontsize="10px";
horizontalStyle.subimage="";


Menu Display Code:
<div class="Menuleft" >
<script type="text/javascript">
with(milonic=new menuname("Main Menu"))
{alwaysvisible=1;
orientation="horizontal";
style=horizontalStyle;
position="relative";
aI("text=  Corporate  ;bgimage=../../images/layout/default/menu_off.jpg;overbgimage=../../images/layout/default/menu_on.jpg;showmenu=Corp;url=#");
}
drawMenus()
</script>
</div>


Please Help me.....

Thanks in Advance,
Selvakumar.D[/img]


Poster: Ruth
Dated: Friday May 4 2007 - 7:25:05 BST

Hi,

We'd be glad to help but having the page would be much easier since we don't have any of the images to set up a page.

Ruth