DHTML Menu not appearing in Firefox

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
robertca
Beginner
Beginner
Posts: 5
Joined: Mon Jul 04, 2005 7:45 pm

DHTML Menu not appearing in Firefox

Post by robertca »

I know this has come up recently, but software upgrades did not solve my issue.

I have upgrdaded the menuing to version 5.766 and am using Firefox 2.0.0.1, but while the menus appear fine in IE, they don't appear at all in Firefox.

The one file I did not upgrade was menu_data.js, but I don't think that should be an issue.

I am using nav buttons I created in photshop with rollovers created in imageready. In firefox, the rollover images display, but not the drop down menus.

It seems to me that I had this issue a couple of years ago with the very same menu setup, and somehow got it working with Firefox. I've sifted through that code but cannot find what makes it work.

Any help would be greatly appreciated!

Added Note:

Since posting this I did a bit more poking around and found that firefox reports the following error when mousing over a nav button with a menu attached to it:

k_ has no properties
mmenudom.js

Robert
Thanks.

Robert
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

We have to have a url to see what's going on.

Ruth
robertca
Beginner
Beginner
Posts: 5
Joined: Mon Jul 04, 2005 7:45 pm

Url to test with

Post by robertca »

I finally have a url that this can be tested at.

http://www.key-netix.com/if/header_nav.php

In Firefox I get such errors as 'k_ has no properties' and document.layers has no properties'.

Any help would is greatly appreciated.
Thanks.

Robert
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

You need to declare id's for the popup menu parents.

For example, with this code popup('content_filter_settings','settings',0,0); you are requesting that the popup function set its position based on the settings object. You have declared a name with name=settings but you also need to declare an id, with id=settings

Like this:

Code: Select all

    <TD rowSpan=2><A 
      onmouseup="changeImages('settings', 'images/settings-over.gif'); return true;" 
      onmousedown="changeImages('settings', 'images/settings-over.gif'); return true;" 
      onmouseover="changeImages('settings', 'images/settings-over.gif'), popup('content_filter_settings','settings',0,0); return true;" 
      onmouseout="changeImages('settings', 'images/settings.gif'),popdown(); return true;" 
      href="http://websites.milonic.com/key-netix.com/if/header_nav.php#"><IMG height=16 alt="" 
      src="iface_files/settings.gif" width=165 border=0 name=settings id=settings></A></TD>
Hope this helps,
Andy
robertca
Beginner
Beginner
Posts: 5
Joined: Mon Jul 04, 2005 7:45 pm

Post by robertca »

Thanks very much Andy - that did the trick! :D
Thanks.

Robert
Post Reply