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

Submenues on top of each other??


Poster: Davidk
Dated: Friday April 30 2004 - 7:50:52 BST

Hi,

Can anyone tell me why two of my submenues does like this?

Image

As you can see, two submenuitems ("books" and "journals") are highlighted at the same time, and the smaller "journal" submenu opens up on top of the "books" submenu. It seems that the "books" submenu doesn't go away. Puzzling.

I updated to the latest version of the menu yesterday, but it was apparently not that, because it still does it.

Any ideas?

David


Poster: Maz
Dated: Friday April 30 2004 - 15:02:37 BST

I can't see the url, bit too small for me. 8O

maz


Poster: fredlongworthhighschool
Dated: Friday April 30 2004 - 15:14:23 BST

looks like

http://www.rwi.lu.se/index.shtml

to me. But it took some magnifying and filtering to get it!


Poster: fredlongworthhighschool
Dated: Friday April 30 2004 - 15:24:56 BST

I deleted and re-wrote your "Books" and "Journals" bits of the menu and that seemed to cure it.


Poster: jnewton
Dated: Friday April 30 2004 - 15:34:08 BST

I'm having a similar problem. It seem that if the menu tab on the main menu bar is too close to the window edge, when you select a submenu for the main menu it wraps back to the right side. That in and of itself is not bad. Where the problem lays is with it being seperated from the meun calling it and in some cases overlapping with another submenu from the same group, like the one displayed.

I've played around with the "itemwidth" as well as the "right" properties and they don't ssem to have much effect on the over all problem. Noting elses seems to make much differenace.

I wish I could provide you a link, but the system is on our intranet and is pretty well firewalled. I can proved the code from the page as well as the menu_data.js.

Thanks,

John

URL


Poster: Davidk
Dated: Saturday May 1 2004 - 14:16:02 BST

Oops, sorry that I forgot the url, just as you figured out it is:

http://www.rwi.lu.se/index.shtml

I will try to rewrite the code again, but it would be interesting to know what the actual problem is.

All the best,

David


Poster: Ruth
Dated: Saturday May 1 2004 - 19:28:35 BST

I am getting a javascript error message when I mouseover books or journals, it says invalid argument, but I'm only getting it in ie5.5, not in netscape, opera, or firebird [fox]. I have no idea what it is.

Ruth


Poster: jnewton
Dated: Monday May 3 2004 - 14:21:17 BST

I'm running ie6 under XP and I didn't get any errors. I did notice that you get the exact same problem that I get wioth the menus floating way off to the left side of the screen and being detached from the menu that called them.


Poster: stephen702
Dated: Monday May 3 2004 - 16:35:39 BST

For what it's worth, in I.E. 6.0.28 in XP, the problem occurs for me when the screen width is narrowed by my "Favorites" window on the left. The narrower screen width creates the menu-overlap problem for me when bringing up the "Publications" submenus.

When I close the "Favorites" window, however, the screen refreshes, and the "Publications" submenus display OK. However, the width of at least one of these submenu choices (International Journal of Minority and Group Rights) is so long that it almost goes off the screen to the right. Perhaps if this title were allowed to wrap?

Is there a war going on here between the menu display text and the menu/item width?


Poster: Davidk
Dated: Tuesday May 4 2004 - 6:40:52 BST

Thanks everybody for the input. I'll try to shorten the submenu titles and see what happens. I'm currently travelling, but I'll do it as soon as I return and I will let you know how it turns out. If anyone else would have any ideas they would of course be welcomed.

Take care,

David


Poster: John
Dated: Tuesday May 4 2004 - 15:16:50 BST

Ruth, I'm getting the same JS error in IE6. Haven't been able to find it so far.


Poster: John
Dated: Tuesday May 4 2004 - 16:37:29 BST

OK, here's the JS error problem in Books and Journals.

Stephen actually hit on it. The overall width of the window is the stinker, and if the Books or Journals menu is going to butt up against the edge it pops the JS error. I have added a number ("lot") of <br> in those two menus to cut down on their width. They are still a bit wide, but not as much as before. Widen your window and you will not get the error. Narrow it down so you know it will bump the menu and you will get zapped.

See http://www.west.asu.edu/sa/testsite/.

I'm not sure this is proper operation, and I've asked Andy to take a look.

There is a slightly later version of the menu available than what you are running (it's still v5.15), but I don't think that's the problem.


Poster: jnewton
Dated: Tuesday May 4 2004 - 17:30:55 BST

John,

That is exactly the problem I'm having as well and unfortunatly, the window size varies with the monitor and user. I have already tried to narrow down the menus, but if it bumped up against the the right edge of the window, I'd get the sub menu folder over to the center of the screen. I hope that Andy has a solution. Version 5.15. still has the same problem. I tried it yesterday.

John
USCG, MLCA(ts-1)


Poster: John
Dated: Tuesday May 4 2004 - 17:42:23 BST

Something else is going on here. I just narrowed the window on one of my sites and popped some wide menus with no JS errors, even though they went off the right side of the screen.


Poster: John
Dated: Tuesday May 4 2004 - 17:56:33 BST

OK, success.

Items that have numeric parameters do not need ""; e.g., subimagepadding="2"; should be subimagepadding=2;, etc. I removed all "" that were not needed, and now if the sub-menu is going to bump into the right wall it drops off the left side of the parent instead of the right side.

Should have seen that earlier.

My link above is still active.


Poster: Davidk
Dated: Thursday May 6 2004 - 14:37:49 BST

Thanks John!

I'm still travelling, but I'll try this as soon as I'm back home, but from the test site, I already see the difference, excellent!

Thanks!

David


Poster: John
Dated: Thursday May 6 2004 - 15:30:26 BST

You're welcome.

Feel free to pull the _data file directly from there if you like, but please let me know when you're done with the test site.


Poster: jnewton
Dated: Friday May 7 2004 - 14:45:07 BST

John,

I recall reading in the doc that you are not suppoe to use giote arounf numbers. I noticed in the files I received that there were several quoted numeric values in the style. I never changed tham as I thought tht this was the way it was suppose to be. Well, after reading your previous two post, I went in and removed all guotes from around numeric values and my problem(s) cleared up. Amazing how things work sometimes.

Thanks

John Newton
U.S. Coast Guard


Poster: John
Dated: Friday May 7 2004 - 22:56:37 BST

Unfortunately some of the files contain relics of the beta age and never got updated. As you found out, however, if it's numeric don't try to force it to be a string!

Glad it's working.


Poster: Davidk
Dated: Monday May 10 2004 - 9:31:12 BST

It worked! Thanks a lot John, excellent! You can take the test site down now!

David


Poster: John
Dated: Monday May 10 2004 - 19:33:25 BST

Great! That's one-in-a-row today! :D

Thanks for letting me know about the test site.