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

Submenu offset problem


Poster: bfreeman
Dated: Wednesday July 12 2006 - 16:48:53 BST

Hey folks

My submenus are not showing where I need them to in IE (or Opera, for that matter), but look fine in Firefox and Mozilla. The place I need the menu is within several levels of <div's, so I'm sure that's what's causing this. I tried moving the sub-menu definitions into a separate .js file, but that didn't help. Is there any way I can get the menu placement to override the <div's? Any help would be appreciated.

The site is internal, so I've attached two snapshots. The first is the working one on Firefox, second is on IE.

Image
Image


Poster: Ruth
Dated: Wednesday July 12 2006 - 19:35:26 BST

Hi,

I understand about internal sites and many don't want to post them, but what we need is a page.

If you can create a page without the content but with your layout and with the downloaded menu on it in the same place as you have yours we can figure the problem.

Without an html page, with it's css and the menu on it, there's not much we can do to figure out how to fix your issue.

Ruth


Poster: bfreeman
Dated: Wednesday July 12 2006 - 20:39:37 BST

Here's a static version of the page's HTML with everything but the gif's, milonic_src.js, and mmenudom.js

http://www.oopack.com/~brian/view.html

Thanks for your help!


Poster: Ruth
Dated: Thursday July 13 2006 - 9:19:28 BST

Hi,

I am not able to find a problem, but then again I had to create the submenus since I can't find them any place. I downloaded the page, but I had to find the menu_data file and the other js files and download them separately, but none of them had submenus in them. The data file only has style in it.

Using the subs I created they open the same in FF and in IE. Is there some way I can get your submenus so I can see if there's something in them that is causing that?

Ruth


Poster: bfreeman
Dated: Thursday July 13 2006 - 16:29:26 BST

Hi Ruth

Sorry about that. I had some file permissions wrong. Try it now and you'll see what I'm seeing.


Poster: Ruth
Dated: Thursday July 13 2006 - 17:45:13 BST

Hi,

OK, I take it that it's the twikiguest which is the submenu file. There is no drawMenus(); at the end of those submenus, when I put that in the file, then the submenus showed correctly in IE.

When you place a main menu in a table cell it needs a drawMenus(); with it as you have done on the page, but you also need to keep the drawMenus(); with the submenu files. Each needs its own drawMenus(); since each file is read separately :)

Ruth


Poster: bfreeman
Dated: Thursday July 13 2006 - 18:49:10 BST

Wow, thanks! That took care of the problem

:D