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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:14:58+00:00 2026-05-23T18:14:58+00:00

I am working on a modal box to float over the rest of a

  • 0

I am working on a modal “box” to float over the rest of a page and to gray out the rest of the page.

I ran into IE bug with z-order by have resolved that issue.

The DIV, named overlay, uses a CSS class, also named overlay, which is as follows:

border: 4px double black;
padding: 6px;
visibility: hidden;
z-index: 3000;
position: fixed;
display: block;
font-family: Arial,Helvetica,sans-serif;
background-color: #3366ff;
color: white;
overflow: auto;
text-align: left;
max-width: 50%;
max-height: 90%;

There is a div named grayout which is used to, well, grayout the rest of the page.

I’m generating the div’s with some writeln statements in order to try and handle IE6 correctly. Regardless, there is no problem with the generated code, you can look at it with IE8 Developer Tools or Firefox with Firebug and it is just fine, as for as syntax.

I’m going to hard code the div’s, in a test page on my system, to make sure the dynamic creation is not causing this problem. I will post back here if it is.

The problem I’ve run into is that IE8 displays a vertical scroll bar, if I make the browser window small enough, but it does not work – clicking on the scroll bar does nothing.

It works fine with Firefox 3.6.17

You can test the page at http://www.bobnovell.com/test/modalemailtext.html

When you load the page, the “box” will be visible. Click either the Email button or the Close Window button (in the upper right corner) and the box will close.

Reload the page to get the box visible again.

When the box is visible, resize the browser window such that the entire box is not visible. Both IE8 and Firefox 3.6.17 automatically show the vertical scroll bar when you resize the window but the scroll bar does not work with IE8. It works just fine with Firefox. You can also try reloading the page after you reduce the size of the window – it does not change the symptoms.

What am I overlooking?

I made a test page with nothing on it but a div with same CSS class and put in some text. When I reduce the size of the window to get the scroll bar, the scroll bar works in both IE8 and Firefox – so the problem lies with some other part of the page, something which, perhaps, is independent of the overlay div definition.

Bear in mind that this is a “work in progress” and as such I’ve not really cleaned up other things on the page, yet. Also this is sort of a test of ideas.

  • 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-05-23T18:14:58+00:00Added an answer on May 23, 2026 at 6:14 pm

    To fix it: in modalbox.js remove the filter: alpha(opacity=100) and all other filter related stuff on #overlay.

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

Sidebar

Related Questions

I have blinking text modal dialog box and slideshow with jquery. They working just
I'm trying to display a modal box with another page inside, but I just
I am currently working on a modal login box which submits and processes the
i have this link which when clicked a modal dialog box will appear. <a
I have a modal window, simulation JavaScript confirm box. Depending on button click i.e.,
I am trying to build a modal dialog box in JavaScript. I have it
I have a function to open a page in a dialog box instead of
I ran into an interesting issue with jQueryUI autocomplete in a dialog box. My
I am using modal box in my page. when i click text-field where datapicker
I'm working on modal windows. When I click on a hyperlink in the main

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.