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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:34:10+00:00 2026-05-14T16:34:10+00:00

I have a classic ASP page which is loading an ASP.net page through an

  • 0

I have a classic ASP page which is loading an ASP.net page through an iframe inside the ASP page. This is working great except for the fact that it takes a while to load the ASP.net page. The user is left here with unfavorable experience because all they say is an empty blank page until the page is finish loading.

What I would like to do is load an initial “loading” ASP.net page so at least the user is shown something and then when the ASP.net page is ready load the correct ASP.net page into the iframe.

Is this possible? I’m thinking perhaps with a bit of javascript but not 100% sure.

  • 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-14T16:34:10+00:00Added an answer on May 14, 2026 at 4:34 pm

    There is no “ASP page” once it hits the browser, there is only the resulting HTML.

    You have a few problems here:

    1) If you put something in the Iframe, it will be over-written as soon as the new page loads. So, you cannot use what’s in the Iframe to display your message.

    2) How to tell when the Iframe had loaded

    You need to determine the location and size of the Iframe on your page. You need to position an element over it with your message. Modify the style of an absolutely-positioned element to cover the Iframe using JavaScript. Most people would use a framework, such as jQuery, to make it a lot easier.

    You then need to detect when the Iframe has loaded and hide this element.

    You can use this code to determine that the Iframe has loaded:

    function checkIframeLoading() {
       // Get a handle to the iframe element
       var iframe = document.getElementById('testIframe');
    
       // Check if loading is complete
       if ( iframe.document.readyState == 'complete' ) {
          // The loading is complete, call the function we want executed once the iframe is loaded
          functionToCallAfterLoading();
          return;
       }
    
       // If we are here, it is not loaded. Set things up so we check   the status again in 100 milliseconds
       window.setTimeout('checkIframeLoading();', 100);      
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a select box on a classic ASP page which looks like this:
I have this classic ASP site which has been working fine until we updated
I have a classic asp page which has, encapsulated within it in an iframe,
NET and VB.net code behind. I have a classic ASP page that connects to
I have a 3rd party server which has a classic ASP page which takes
I am writing a small application in Classic ASP. I have a page which
I have a classic asp page which generates a PDF serves it to the
I need to create an ASP page (classic, not ASP.NET) which runs remote shell
I have a classic asp page from which I open a popup page in
We have a classic VBScript default.asp page in the root of our site. (This

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.