Minor bug w/ v.5.60 w/ Mozilla & Mac OS X

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
UEBen
Super Advanced
Super Advanced
Posts: 34
Joined: Thu Mar 27, 2003 8:26 pm
Location: Evansville, IN
Contact:

Minor bug w/ v.5.60 w/ Mozilla & Mac OS X

Post by UEBen »

If you have a Mozilla browser running on Mac OS X, take a look:

http://www.evansville.edu/test/test.html

Try to access any of the sub-menus.
8 times out of 10 the sub-menu doesn't show or stay upon mouseOver.

I'm using v.5.60 for this test page, the rest of the site is using v.5.51 and this problem doesn't occur.

Thanks.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Sorry, don't have Mozilla on mine. One of the other folks will have to take a look.
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Which version of Mozilla is this problem occuring with and is it only related to Apple Macs?

-- Andy
UEBen
Super Advanced
Super Advanced
Posts: 34
Joined: Thu Mar 27, 2003 8:26 pm
Location: Evansville, IN
Contact:

Post by UEBen »

Andy,

I've noticed this problem using FireFox v.1.0 and Netscape v.7.1 on my iBook running Mac OS 10.3.6.

However, I just downloaded Netscape v.7.2 and this problem no longer occurs. So, it seems to be exclusive to FireFox 1.0 on my iBook. But I don't have access to any other Mac's to test this.

Thanks.

-Ben
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I just loaded Firefox 1.0 on a G4 desktop and I see the problem there.

Also, I see a few things I'm not sure about...

Missing drawMenus(); after the sideMenu code.

The bulk of the menu code is after the </body>.
John
UEBen
Super Advanced
Super Advanced
Posts: 34
Joined: Thu Mar 27, 2003 8:26 pm
Location: Evansville, IN
Contact:

Post by UEBen »

John wrote:
Missing drawMenus(); after the sideMenu code.

The bulk of the menu code is after the </body>.
John,

Is there a performance/load difference if I include a drawMenus() with the sideMenu? I didn't notice any improvment in load times when I had it there originally, so I just left it out.

Also, since our main menu is so large (even without the side menu), I found that (especially with IE) it was better to have the menu load last. This is why I have it at the end of my HTML. The browser loads the HTML layout before it loads the menu - thus appearing to load faster. I'm open to any suggestions you may have about this to help improve the load time.

Thanks,

Ben
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Hi Ben -

I just put your code up on one of my servers (http://www.west.asu.edu/sa/testsite/). The only two things I added were drawMenus(); after the side code and in the menustyles.js file.

The main menu now loads instantly, before anything else on the page. The rest all comes up together, no more than one second later (or less).

Forgot - I also moved all the menu code inside the body.

Have some other ideas I want to try, but I'm off tomorrow.

See what you think.
John
UEBen
Super Advanced
Super Advanced
Posts: 34
Joined: Thu Mar 27, 2003 8:26 pm
Location: Evansville, IN
Contact:

Post by UEBen »

Thanks John.

I added the extra drawMenus() and moved the menu data into the body of the HTML. There is a very apparent difference now with IE: the text for the main top menu displays almost instantly, before anything else on the page loads. With Mozilla browsers, I don't notice any real change, however I'm sure the code runs more efficiently now. ;)

Thanks again.

Ben
Post Reply