/    Sign up×
Community /Pin to ProfileBookmark

Drop down menu :: Alignment Problem

[url]http://fergs.chuckdingo.com/[/url]

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>[/CODE]

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@bajanboostauthorMay 19.2006 — help? Please?

http://fergs.chuckdingo.com/

You can see the error at the link above
×

Success!

Help @bajanboost spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.11,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...