/    Sign up×
Community /Pin to ProfileBookmark

Bring a menu inside a table cell over top the entire table?

Hi all.

So I’m currently looking at a table. In the top table header row are sorting arrows. These arrows, when you click on them, opens a menu that allows the user to decide what direction they want to sort in. (this is what design wants, if it were up to me I’d scrap the menu altogether)

I have the html and css and js together to make the icon appear, and for the menu to open when you click the arrow, that was all fine.

But then the part about making the menu open over top the rest of the table.

I have position relative set on the icon button that the user clicks on, so I can then position the window that opens based on where this icon is. The opened window is position absolute. But z-index on this window does not work. If I understand correctly, it will stack correctly within all the contents inside the position relative parent, but that parent is inside the table…

Anyone have any ideas on how i can get this thing to display over top of everything else in the page? Thanks!!!

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@mityaNov 12.2009 — Sounds fishy to me. If your window (by which I assume you mean pop-up menu) is position absolute, its z-index should work. Post us a link.
×

Success!

Help @peachskittle 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.18,
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,
)...