PDA

View Full Version : AnyLink Vertical Menu



WebGuy
11-09-2005, 05:11 AM
Yes Hello. I need some help with the flyout menu. When the menu flys out, it is covering some of the orgnial text on the vertical menu.

So I want to know if the FlyOut Box can fly out more over to the right of the sceen.

Example from the demo:
Dynamic Drive
JavaScript Kit
CSS Drive
Coding Forums

When i hover on the Dynamic Drive option, the sub menu that flys out cover some of the text such as JavaScript Kit, CSS Drive and so on

jscheuer1
11-09-2005, 06:28 AM
Different question, same answer (see this thread):

http://www.dynamicdrive.com/forums/showthread.php?p=20486#post20486

The line you are looking for is:


dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+"px"

Either change it to a set left offset for all:


dropmenuobj.style.left="200px"

or add an adjustment, pushing all menus over an additional amount:


dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+obj.offsetWidth+horizontaloffset+50+"px"

Numbers in red are just suggested values, try it out and see if other numbers might be better.

WebGuy
11-09-2005, 05:01 PM
Thanks Alot men, it worked perfectly. I used 143 value instead of to make it aligned exactly how i wanted... Thanks one more time and have a good day

Alex aka WebGuy