Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7776493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:53:55+00:00 2026-06-01T17:53:55+00:00

I have some normal content. Then i made another div that is going to

  • 0

I have some normal content. Then i made another div that is going to be over everything, triggered with a button.

This div is with position absolute, background color: rgba, so it can be transparent.

When the div is displayed, the user shouldn’t be able to click anything underneath it, ONLY one button (the one just mentioned).

I can’t manage to achieve that, if I use pointer-events, it gives click access to everything under it.

I just want the button in the bottom div to be clickable when the div is on.

Thanks a lot.!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:53:57+00:00Added an answer on June 1, 2026 at 5:53 pm

    If you only want one button to be clickable with the overlay active, why not just make that button the only thing above the overlay?

    You could then you jquery to modify the css of the given objects. If the overlay is active z-index the button to the top. If it is inactive, return the button to its normal state and hide the overlay. If you really want the button to look like it is under the overlay, you could even set a style to make it look faded (either via CSS opacity, or an alternative image)

    http://jsfiddle.net/ckaufman/b6gza/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some text/images that I only want to display in the normal state
I have a normal asp.net page containing some code that I want to measure
I have some hidden inputs like this <input name=exam.normals[1].blahblah ..../> I would like somehow
I have some UI in VB 2005 that looks great in XP Style, but
We have some input data that sometimes appears with &nbsp characters on the end.
I have some classes layed out like this class A { public virtual void
I have some code like this in a winforms app I was writing to
have a problem with my ajax code. I have some links and a content
I have some html content stored in a database field. I would like trusted
i have api that let you get one or more files content in one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.