PDA

View Full Version : Align Menu



VAmale
06-16-2005, 01:40 AM
I just put AnyLink Drop Down Menu on a page and have modified it to use graphic buttons instead of text links. It is working fne with the exception that the menu drops down over the buttons beneath. How can I line the menu with the right edge of the buttons?

jscheuer1
06-16-2005, 03:32 AM
ogvh:JVVb;

VAmale
06-16-2005, 05:25 PM
http://www.willoughbywebdesign.com/Rance/template6/template6.htm

jscheuer1
06-16-2005, 05:53 PM
See this thread:

http://www.dynamicdrive.com/forums/showthread.php?t=2466

VAmale
06-16-2005, 07:42 PM
That worked somewhat but the menu is still the same place horizontally and if you don't slide just exactly right it will disappear.

Does this line need to be changed maybe? And if so to what?
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"

jscheuer1
06-16-2005, 08:22 PM
Good idea, you want to raise it about 30 pixels so, try:
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight-30+"px"Also, I don't know how far to the right you moved it, exactly so, you might want to move it a little less to the right, about 2 or 3 pixels less.

VAmale
06-16-2005, 11:00 PM
Perfect! I moved it over to 140 instead of 150 like that post said. I tried 130 & 120 too but that didn't do it.

Thanks so much!