FireFox Followscroll Sub Menu Issues

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
MastahX
Beginner
Beginner
Posts: 2
Joined: Wed Oct 12, 2005 4:24 pm

FireFox Followscroll Sub Menu Issues

Post by MastahX »

Hello-

I have two issues I would appreciate any help on. I've searched the mboards for answers but can't seem to find what I need. I'm using the latest codebase (5.732).

Problem #1: The sub-menus for a vertical (followscroll=1) menu do not show up next to the menu if you scroll down the page in FF. The sub menu's are left behind half way up the page when I scroll.

Here is my code for the main menu
alwaysvisible=1;
left=5;
screenposition="bottom";
followscroll = "1,0,1";
position="absolute";
orientation="horizontal";

Problem #2: In IE 6 the menu flickers a lot when i mouseover the main nav. It was a bigger problem earlier but when I set position=absolute it seemed to fix the jumping problems.

Any help would be much appreciated!
Ray
Beginner
Beginner
Posts: 9
Joined: Wed Oct 19, 2005 10:38 am
Contact:

Post by Ray »

G'day all,

I am building a horizontal menu and have exactly the same problem with my sub/sub menus not scrolling with the rest of the menu. I use Firefox version 1.5 Beta.

http://www.gdaywa.com

Under the Heading 'Wildflowers' is a Item called 'Perth Hills' with sub menus under that called Winter and Spring.

The Winter and Spring submenus will not scroll with the rest of the menu.

I have the latest version of Milonic. Version 5.732

Everything works fine in IE.

Can anyone steer us in the right direction? Or do you need more information?

Cheers

Ray
Last edited by Ray on Fri Mar 10, 2006 2:26 pm, edited 1 time in total.
Ray
Beginner
Beginner
Posts: 9
Joined: Wed Oct 19, 2005 10:38 am
Contact:

Post by Ray »

I found the solution.

Top line of the menu_data.js

Toggled true to false. Like the comment said.

fixMozillaZIndex=false; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps.

Cheers

Ray
cornernote
Advanced
Advanced
Posts: 10
Joined: Mon Sep 04, 2006 8:21 am

Post by cornernote »

I am using listmenus.js and when I toggle this to false it causes my menus to not become scrollable when they overflow.

I have hacked the listmenus.js a little to force the overflow:

FIND:
_y6+="with(milonic=new menuname('"+_mN+"')){"

REPLACE WITH:
_y6+="with(milonic=new menuname('"+_mN+"')){ overflow=\"scroll\";"

This just makes the overflow=scroll in all submenus. However when fixMozillaZIndex=false this does not work.
cornernote
Advanced
Advanced
Posts: 10
Joined: Mon Sep 04, 2006 8:21 am

Post by cornernote »

UPDATE

The scroll bars do show up - but only when your at the very top of the page. If you scroll down a little bit they dont show up.
cornernote
Advanced
Advanced
Posts: 10
Joined: Mon Sep 04, 2006 8:21 am

Post by cornernote »

If i set the menu to followscroll=1 it seems to work correctly. However this is not what I want. I want the menu to stick to the top of the page so I use position=fixed. When I set this instead of followscroll, thats when I start getting problems.
Post Reply