Submenu offset problem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bfreeman
Beginner
Beginner
Posts: 4
Joined: Wed Jul 12, 2006 4:20 pm

Submenu offset problem

Post by bfreeman »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
bfreeman
Beginner
Beginner
Posts: 4
Joined: Wed Jul 12, 2006 4:20 pm

Post by bfreeman »

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!
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
bfreeman
Beginner
Beginner
Posts: 4
Joined: Wed Jul 12, 2006 4:20 pm

Post by bfreeman »

Hi Ruth

Sorry about that. I had some file permissions wrong. Try it now and you'll see what I'm seeing.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
bfreeman
Beginner
Beginner
Posts: 4
Joined: Wed Jul 12, 2006 4:20 pm

Post by bfreeman »

Wow, thanks! That took care of the problem

:D
Post Reply