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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T08:10:08+00:00 2026-05-28T08:10:08+00:00

I am creating a modal window using jquery. I am having an issue with

  • 0

I am creating a modal window using jquery. I am having an issue with the page height when creating a overlay.

To set the overlay height I am using $(document).height() and this is working fine.
But if the page height increases as per the records the memory usage is doubled.

For Example if my page has 10 records and when I click on a link to open modal window the memory usage is changed from 68,000k to 75,000k.

If my page has 100 records, when I open modal window memory usage is 135,000k.

This is explicitly because of document height.

This is found in IE8.

Please help me out on how to get the document height without effecting the memory.

  • 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-28T08:10:08+00:00Added an answer on May 28, 2026 at 8:10 am

    Rather than creating an overlay that covers the entire page, why not position the overlay using a fixed position relative to the viewport?

    You could try the following CSS to achieve this:

    #overlay {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
    }
    

    This would avoid the requirement of continually increasing the height of the overlay and would cover the entirety of the viewport.

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

Sidebar

Related Questions

I am creating a dialog like in this page: http://jqueryui.com/demos/dialog/#modal-confirmation (click view source) on
I am creating modal popup canvas window in a parent page. When I close
Anyone have any experience creating a modal dialog box using AJAX and ASP.NET MVC?
I am using modalbox for a modal window to submit forms that I learned
I 'm creating a Line chart using WPFToolKit. The chart comes up fine but
When I am writing this piece of code it works fine using System; using
I'm creating a project in asp.net and I looking for Modal Window (like ajax
I have a jQuery Model windows which contains a form. On creating of the
I am creating a small modal form that is used in Winforms application. It
I am creating a model binder to use with asp.net mvc. This is what

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.