Submenus Position Problem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
dylanmacak
Beginner
Beginner
Posts: 3
Joined: Wed Mar 28, 2007 7:43 pm

Submenus Position Problem

Post by dylanmacak »

Hi, I just build a menu that has submenus. My question is: Is there a way to force submenus to open on the right side of menu items? I have some issues with smaller resolution monitors - the script works fine on 1024x768 but anything lower than that and my submenus do not position correctly.

So I was thinking if there's a way to force my submenus to appear on the right, that would solve my issue.

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

Post by Ruth »

Hi,

Without your page to test, I'll make a guess that you try openstyle="rtl"; in all your submenus.

Ruth
dylanmacak
Beginner
Beginner
Posts: 3
Joined: Wed Mar 28, 2007 7:43 pm

Post by dylanmacak »

Well, that did not work. What I want is to always open my submenus on the right side of my menu items.

This is what I found on your page but I guess I need an exact opposite of this - is there a LTR option?. I need to FORCE my submenus to appear on the right regardless of browser size/resolution.

Sorry, I can't send the URL since the site is not live yet and the client would not appreciate this :)

'an openstyle of "rtl" will force the menu to display in a right to left fassion, useful for use on web sites in Hebrew for example.'
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Well, you can put in ignoreCollisions=true; at the top section of the data file. However, note that the menu will open at the right and ignore the edge of the browser so it will go beyond the right hand browser edge if it's wider than the 800 width smaller resolution. Not sure just how much of it would go over there and if the menu would then be reachable to use at that resolution.

Ruth
dylanmacak
Beginner
Beginner
Posts: 3
Joined: Wed Mar 28, 2007 7:43 pm

Thank you Ruth!!!!

Post by dylanmacak »

Ruth, you are a genius!!! That's what I've been looking for exactly!

I positioned my menus so the edge of the browser is not an issue so this will do it. I did have plenty of room on the right hand side but my submenus were still showing up to the left for some reason - so it is solved!

Thank you sooooooo much!!
Post Reply