NEWBIE: Fat separator bars & odd behavior on first mouse
-
- Advanced
- Posts: 11
- Joined: Sat Jan 31, 2004 9:13 am
NEWBIE: Fat separator bars & odd behavior on first mouse
I am working with Milonic Menus for the first time and am having some odd problems (see http://www.anacys.com/sa/ ).
Despite having separatorsize=1 my separator bars in vertical menus all come out 5px thick.
Also. when I first mouseover items in the main horizontal menu, the corresponding vertical menu appears at the far left margin -- but in the proper place on the second and subsequent mouseovers. I am using the default menu that came with my download with minimal tweaks.
I am also using it on a Xoops CMS/Portal site if that matters.
HELP!!
dh
Despite having separatorsize=1 my separator bars in vertical menus all come out 5px thick.
Also. when I first mouseover items in the main horizontal menu, the corresponding vertical menu appears at the far left margin -- but in the proper place on the second and subsequent mouseovers. I am using the default menu that came with my download with minimal tweaks.
I am also using it on a Xoops CMS/Portal site if that matters.
HELP!!
dh
-
- Advanced
- Posts: 11
- Joined: Sat Jan 31, 2004 9:13 am
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
-
- Advanced
- Posts: 11
- Joined: Sat Jan 31, 2004 9:13 am
-
- Advanced
- Posts: 11
- Joined: Sat Jan 31, 2004 9:13 am
Right, here's the score
ALL of the problems are associated with CSS, most of the problems we can deal with but there may be some we have no control over.
Hope this helps
Andy

- Upgrading to RC49 will fix the separator problem. We've fixed padding to 0px, so shouldn't be a problem now.
Remove 100% from the TABLE reference in style.css - Unless of course you need this parameter and then you'll need to specify menu widths.
Change the menuwidth= declarations in your menu_data.js file to itemwidth=
ALL of the problems are associated with CSS, most of the problems we can deal with but there may be some we have no control over.
Hope this helps
Andy
-
- Advanced
- Posts: 11
- Joined: Sat Jan 31, 2004 9:13 am
drhansenjr, you go to the main page/home page, click the milonic icon at the top of this one, click get version 5 and go from there. It really is a great menu, I love it, was able to configure it with a little / lot/ of help because I wanted something so different, but boy you can make it do so many things, look so 'personal'. I love it.
Ruth
Ruth
-
- Advanced
- Posts: 11
- Joined: Sat Jan 31, 2004 9:13 am
OK... Upgrading to RC49 took care of the fat separators, but I still had the behavior where on the first mouseover the dropdown menu appears at the far left side of the page, but comes up in the right place in subsequent mouseovers.
I replaced all the "menuwidth"s with "itemwidth"s -- and now the menus span the entire width of the page!! What goeth on?
I replaced all the "menuwidth"s with "itemwidth"s -- and now the menus span the entire width of the page!! What goeth on?
-
- Advanced
- Posts: 11
- Joined: Sat Jan 31, 2004 9:13 am
-
- Advanced
- Posts: 11
- Joined: Sat Jan 31, 2004 9:13 am
I'm doing the same as Ruth, but she has a head start on me!
Meanwhile, just to stay 'clean' (this isn't the cause of the problem), you have...
...in your main menu items, which is correct. However, you did not continue the format in your other menus...
Note the missing ; after ParishAdmin. Should be...
...for all menu items.
Go fer it, Ruth!
Meanwhile, just to stay 'clean' (this isn't the cause of the problem), you have...
Code: Select all
aI("text=Home;itemwidth=75;url=/sa/;status=Back To Home Page;");
Code: Select all
aI("text=Parish Administration;showmenu=ParishAdmin");
Code: Select all
aI("text=Parish Administration;showmenu=ParishAdmin;");
Go fer it, Ruth!
John
The conflict is from the style.css file. This line
if you remove that VERTICAL-align:top the problem desists. I'm not sure there is a way to override it in the menu_data file. I tried subimageposition="right;middle"; but that didn't work. Also, the menuheight is being governed from the style.css the
The margin, padding are adding to the menu. I fixed that by removing the padding=1; from the top of the menu_data.js file and moving the margin=0; down to the menu itself.
I don't know what to do about the arrow...nothing I tried works except removing that Vertical-align: top; from the style.css file.
Ruth
Code: Select all
TD {
BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; MARGIN: 0px; PADDING-BOTTOM: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px; VERTICAL-ALIGN: top
}
Code: Select all
DIV {
LINE-HEIGHT: 14px; MARGIN: 2px; PADDING-BOTTOM: 2px; PADDING-LEFT: 2px; PADDING-RIGHT: 2px; PADDING-TOP: 2px
}
Code: Select all
with(milonic=new menuname("Main Menu")){
margin="0";
style=menuStyle;
separatorsize="1";
top=100;
menualign="left";
alwaysvisible=1;
orientation="horizontal";
overflow="scroll";
aI("text=Home;itemwidth=75;url=/sa/;status=Back To Home Page;");
aI("text=The Parish;itemwidth=100;showmenu=Parish;");
aI("text=The School;itemwidth=100;showmenu=School;");
aI("text=For Current Students & Parents;itemwidth=250;showmenu=Students;");
}
Ruth
-
- Advanced
- Posts: 11
- Joined: Sat Jan 31, 2004 9:13 am
Wow! Thanks for all the help, Ruth! Big improvement!
Just a few follow-ups:
1) How do I get my menu to move hard against the left margin of the page and get rid of that annoying little 2-3px gap at the left? Is this also a css issue?
2) Any idea why the arrow gifs are padded back a ways in the main menu and not in the others (I'd like them all the same).
3) Is there an easy way to add a "dummy" rectangle/item to the right of the last main menu item so it spans the page -- or do I need to code that into the page itself and position the menu on top of it?
Dan
Just a few follow-ups:
1) How do I get my menu to move hard against the left margin of the page and get rid of that annoying little 2-3px gap at the left? Is this also a css issue?
2) Any idea why the arrow gifs are padded back a ways in the main menu and not in the others (I'd like them all the same).
3) Is there an easy way to add a "dummy" rectangle/item to the right of the last main menu item so it spans the page -- or do I need to code that into the page itself and position the menu on top of it?
Dan
-
- Advanced
- Posts: 11
- Joined: Sat Jan 31, 2004 9:13 am
Ok, but one thing I noticed the arrows in the main horizontal menu point to the right instead of down. There is a down arrow someplace you could use, you would put that as the subimage in the main section where you have arrow now, then you will have to code each of the vertical menu items that has a showmenu with the following. For example:
or whatever padding you want. Then just make sure you have both the arrowdn.gif and arrow.gif uploaded so it shows.
Or you could find another image, like say a tiny star or something to indicate a submenu and just use that for all of the subimage
Ruth
Code: Select all
aI("text=Parish Administration;showmenu=ParishAdmin;subimage=arrow.gif;subimagepadding=2;");
Or you could find another image, like say a tiny star or something to indicate a submenu and just use that for all of the subimage
Ruth