PDA

View Full Version : Moving Box to the Right?



Raw Dog
09-16-2009, 11:59 PM
1) Script Title: Any Link Dropdown Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem: On my website, I'm trying to move the drop-down menu so it aligns with that tiny blue line.

http://i25.tinypic.com/r88cgk.png

I looked into the CSS and anylinkmenu.js files, but could not find it. Does anyone know where it's located in? Thanks! :)

ddadmin
09-17-2009, 06:20 PM
You can manually increase or decrease the horizontal offset of the drop down menu by editing the line in red below inside anylinkmenu.js:


var posx=menu.anchorobj._offsets.left + (menu.orientation=="lr"? this.dimensions.anchorw-5 : 0) //base x pos

The extra "-5" in this case causes the menu to move left 5 pixels.