Small problem with subimage

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Small problem with subimage

Post by rudy »

Still can't resolve this problem - need some expert help. please.
The problem explained below, shows up in IE version 6.0 and maybe other browsers as well. Shows up on both of my home computers and I have also tried it on about a dozen computers at my local library and it does the same thing. I am using Milonic version 5.40.

I have a separate image for the main items (the Milonic menu you see as the page opens and before you mouse over it) and a different image for the submenus. If you go to the link I provided below, and mouse over the first item on the menu (left side - named OSI Model) the submenus will open up. You will also see a black arrow image and next to it a small amount of background that shou NOT be there. If you mouse over another main item menu and then go back the the first main item, the extra background space is no longer there and the arrow is positioned all the way to the right at it should be. This only happens the very first time the page is opened. Kind of a hard thing to explain, hope you can understand what is happening here :D

Your suggestions will be appreciated!

Here is a link so you can check it out: http://www.networkdriven.com/qp/579bb62.html

Here is the code I'm using to get the image on the main item bar and the code for the subimage as the menu drops down.

Code: Select all

with(windows98style=new mm_style()){
onbgcolor="#000000";
oncolor="#FFFFFF";
offbgcolor="#FFAD73";
offcolor="#000000";
bordercolor="#BFBFBF";
borderstyle="raised";
borderwidth=2;
subimage="/qp/black_round.gif";
subimagepadding="2";
overfilter="Fade (duration=0.2);Alpha (opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
separatorsize="2";
padding=4;
fontsize="75%";
fontfamily="tahoma, verdana";
headercolor="#FFAD73";
headerbgcolor="#000000";
high3dcolor="#eeeeee";
low3dcolor="#7F7F7F";
swap3d="1";
}



with(substyle=new mm_style()){
onbgcolor="#000000";
oncolor="#FFFFFF";
offbgcolor="#FFAD73";
offcolor="#000000";
bordercolor="#BFBFBF";
borderstyle="raised";
borderwidth=2;
subimage="/qp/black_7x7.gif";
subimagepadding="0";
overfilter="Fade (duration=0.2);Alpha (opacity=90);Shadow(color=#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
separatorsize="2";
padding=4;
fontsize="75%";
fontfamily="tahoma, verdana";
headercolor="#FFAD73";
headerbgcolor="#000000";
high3dcolor="#eeeeee";
low3dcolor="#7F7F7F";
swap3d="1";
}
Last edited by rudy on Tue Aug 10, 2004 8:31 pm, edited 1 time in total.
Rudy
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'm not sure, is it 3D and swap?

Also you should be using paths starting with a slash from the root instead of .../

maz
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Post by rudy »

Good thought on the ../ path thing. I will remove the ..s

The image is a simple 2D and a single image.


Maz wrote:I'm not sure, is it 3D and swap?

Also you should be using paths starting with a slash from the root instead of .../

maz
Rudy
Post Reply