[url]http://fergs.chuckdingo.com/
I did this drop down menu for a friend of mine, problem is, it is perfectly aligned when viewing 1280×760.
However, when I view @ 800×600, the drop down menus do not align under their corresponding menu, they align to the right too much.
I can adjust the exact alignment within the javascript code, but is there a way to set it by resolution or do a percentage or something?
[CODE]<SCRIPT language=javascript>
<!–
var yPosition = 240;
//new ypSlideOutMenu(“number menu”, “slide position”, left, top, width, height)
new ypSlideOutMenu(“menu1”, “right”, 405, yPosition, 146, 230)
new ypSlideOutMenu(“menu11”, “right”, 550, yPosition + 81, 146, 160)
new ypSlideOutMenu(“menu12”, “right”, 550, yPosition + 181, 146, 160)
new ypSlideOutMenu(“menu2”, “right”, 555, yPosition, 146, 130)
new ypSlideOutMenu(“menu21”, “right”, 700, yPosition + 50, 146, 80)
new ypSlideOutMenu(“menu3”, “right”, 705, yPosition, 146, 120)
new ypSlideOutMenu(“menu4”, “right”, 855, yPosition, 146, 205)
//–>
</SCRIPT>