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 8567331
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T17:51:33+00:00 2026-06-11T17:51:33+00:00

I have a fixed DIV (footer banner) with several DIV’s within it. On the

  • 0

I have a fixed DIV (footer banner) with several DIV’s within it.

enter image description here

On the right hand side there is a HIDE DIV (part of the footer banner) and when clicked it hides the other parts of the DIV and sets the overall z-index (of footer banner) to -1 so the website underneath this banner is clickable/accessible.

Once Hide is clicked it looks like this – just hide DIV remains on the right (this will be renamed to ‘show’ later once minimized like this:

enter image description here

I’m doing it like this so the width of this DIV is maintained – it will re-size if user zooms in/out of the page and depending on the users screen size.

The issue I have is I want to be able to click on this remaining Hide DIV, capture a click event and re-show all aspects of this fixed footer DIV, however because of the z-index -1 on the parent I can’t capture the click event.

I tried mousein/mouseout and this doesn’t work.

I tried increases the z-index on this remaining hide DIV but that doesn’t seem to overwrite the fact that its parent DIV has a negative z-index.

Is there a way I can capture a click event on this DIV?

thx

  • 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-11T17:51:34+00:00Added an answer on June 11, 2026 at 5:51 pm

    Instead of setting the parent’s z-index to -1, select those exact divs to hide with jQuery and call hide/show when button is clicked: $('.divs').hide() and to reappear: $('.divs').show().

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

Sidebar

Related Questions

I have a centred fixed width content div , and if there isnt enough
I have a div of fixed length. there is anorher div of variable length.
I just fixed one problem with the footer div I have, and made another
I have a footer div which is a simple div it has a fixed
I have a problem with IE. I have a fixed div like this: #fixed
I have a website with a centered fixed width div (the div is centered
If you have a parent div that wraps a fixed height div and a
Consider that we have a DIV with fixed height. Without a defined width ,
I have a div with a fixed size of 100px. scrollWidth and scrollHeight works
I have a div element with fixed height and width and overflow:hidden, and I

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.