/    Sign up×
Community /Pin to ProfileBookmark

coordinates problem

Hi, i have tried to write the code for a drop-down menu with css, javascript and html. In a “normal” occasion i would make it with divs and apply absolute coordinates to all.

[url]http://www.sangazul.com/test/popup-menu2.htm[/url]

The problem is that all the menu-options come from the back-office and there’s no fixed width, somehow i never know the x-position of each submenu.

The only solution that i’ved found was this, give “absolute” coordinates to the dd tags that are inside each dl so they could align with each dt.

It works perfectly in MS Internet Explorer but in Mozilla the dd appear on the right place but the mouseOver/mouseOut and the links dont work. Some one knows how to solve this problem?

Obrigado,
Patrick Medina

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @patrickmedina 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.19,
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,
)...