Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:38
Submenus Position Problem
Poster: dylanmacak
Dated: Wednesday March 28 2007 - 20:20:30 BST
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?
Poster: Ruth
Dated: Thursday March 29 2007 - 1:06:27 BST
Hi,
Without your page to test, I'll make a guess that you try openstyle="rtl"; in all your submenus.
Ruth
Poster: dylanmacak
Dated: Thursday March 29 2007 - 17:11:39 BST
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.'
Poster: Ruth
Dated: Friday March 30 2007 - 5:06:38 BST
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
Thank you Ruth!!!!
Poster: dylanmacak
Dated: Friday March 30 2007 - 14:52:07 BST
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!!