/    Sign up×
Community /Pin to ProfileBookmark

javascript menus and select boxes

I was hoping someone else had run across this but found nothing in my search.

I use javascript menus in most of my web applications but have problems with the menu drop down has to lay over a select box in a form. The menu will not overlay the select box so it is partially hidden.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@spadgosFeb 09.2005 — form elements, especially select boxes, are funny when it comes to z-ordering (determining which of two overlapping objects gets rendered "on top").

This page has some code, not exactly like yours, but manages to make divs and iframes render above form elements.

http://www.mattkruse.com/javascript/dragiframe/
×

Success!

Help @Debra 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 6.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...