I posted a previous problem I was experiencing under the thread "horizontal submenu offset problem (bug ?)" and seem to have located the problem.
I've read here somewhere that there is an anticollision mechanism built into this menu to prevent menus from falling off the screen.
The menu detects this and adjusts when neccessary.
The problem is that I have a menu that is always centered and can't fall off the screen, however the menu seems to think otherwise and adjusts itself.
If there would be a way to disable this collision detection, my problems would have been solved.
Is there anybody who knows how to disable this feature ?
thanks,
Peter.
How to disable anticollision ?
Re: How to disable anticollision ?
Hi,
Do you have a URL for us to look at?
Cheers
Andy
Do you have a URL for us to look at?
Cheers
Andy
-
- Beginner
- Posts: 7
- Joined: Sun May 19, 2002 7:49 pm
Re: How to disable anticollision ?
Sure,
http://213.193.146.35/pis/index.asp
if I align the menu left, it works perfectly, but when centered, it works
only on the first rollover, the second and subsequent rollovers all aply
this screen width fall-off mechanism...I think...
Regards,
Peter.
ps : I just uploaded mmenu.js 3.40 beta, but it behaves in the same way.
http://213.193.146.35/pis/index.asp
if I align the menu left, it works perfectly, but when centered, it works
only on the first rollover, the second and subsequent rollovers all aply
this screen width fall-off mechanism...I think...
Regards,
Peter.
ps : I just uploaded mmenu.js 3.40 beta, but it behaves in the same way.
Re: How to disable anticollision ?
The menu has never been used in the way that you specify. However, I consider the problem to be a very slight bug and I'm sending you a copy of the beta code along with an updated array file.
You can now specify center as the Screen Position and this over-rides all other properties.
Cheers
Andy
You can now specify center as the Screen Position and this over-rides all other properties.
Cheers
Andy
-
- Beginner
- Posts: 7
- Joined: Sun May 19, 2002 7:49 pm
Re: How to disable anticollision ?
Hi Andy,
This is fantastic ! It works !
However, this seemed to have introduced a new problem.
Now it's the first rollover that displays an offset (this time all submenus shift to the right of the screen) and the second and following rollovers display the menus perfectly.
Is there a way to emulate a fake-first-rollover on pageload...
I'm being annoying, sorry for that, it's just that I'd love to use this menu as it's the best menu I've ever seen.
Thanks,
Peter.
This is fantastic ! It works !
However, this seemed to have introduced a new problem.
Now it's the first rollover that displays an offset (this time all submenus shift to the right of the screen) and the second and following rollovers display the menus perfectly.
Is there a way to emulate a fake-first-rollover on pageload...
I'm being annoying, sorry for that, it's just that I'd love to use this menu as it's the best menu I've ever seen.
Thanks,
Peter.
-
- Beginner
- Posts: 7
- Joined: Sun May 19, 2002 7:49 pm
Re: How to disable anticollision ?
Here's an update :
The menus work fine after the first sequence of rollovers : i.e. you need to pass at least once over each menuitem before the submenus display as they should.
I just found out that when I resize my browser so that the submenus, which are shifted to the right on pageload and should fall off the screen, get re-located at their correct position.
Again, this happens only on the first-time rollover and not on the following rollovers.
Because I (and the users) have big screens or high resolutions, the submenus don't fall off the screen, so the first-and wrong location of the submenus is very apparant.
I suspect that a first-time rollover gets treated different than the following rollovers (over each item).
I've tried to search the mmenu.js but can't understand anything in there...
I'll post this in the beta forum too.
Thanks,
Peter
The menus work fine after the first sequence of rollovers : i.e. you need to pass at least once over each menuitem before the submenus display as they should.
I just found out that when I resize my browser so that the submenus, which are shifted to the right on pageload and should fall off the screen, get re-located at their correct position.
Again, this happens only on the first-time rollover and not on the following rollovers.
Because I (and the users) have big screens or high resolutions, the submenus don't fall off the screen, so the first-and wrong location of the submenus is very apparant.
I suspect that a first-time rollover gets treated different than the following rollovers (over each item).
I've tried to search the mmenu.js but can't understand anything in there...
I'll post this in the beta forum too.
Thanks,
Peter