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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:38:37+00:00 2026-05-27T04:38:37+00:00

Here’s my script: <form action=” method=” onsubmit=’refreshpage();’> <input name=’refresh’ type=image SRC=images/Next-Page-Button.gif HEIGHT=60 WIDTH=173 BORDER=0

  • 0

Here’s my script:

<form action='' method='' onsubmit='refreshpage();'>
<input name='refresh' type="image" SRC="images/Next-Page-Button.gif" HEIGHT="60" WIDTH="173" BORDER="0" value='Refresh'>
</form>

I want it when the user clicks the “next page” button a loading or please wait will pop up because it takes over 30 sec for the next page and I want the members to know the site is working, but also make the popup go away after the page is loaded.

Also if you want to see the button in action my site is http://www.socialmedianetworkexchange.com and it’s when you click the “earn facebook likes” button.

  • 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-27T04:38:38+00:00Added an answer on May 27, 2026 at 4:38 am

    You could show an element over the page when they click it, and then it will go away by itself upon navigating to the other page.

    JavaScript:

    function showLoading() {
        document.getElementById('loadingmsg').style.display = 'block';
        document.getElementById('loadingover').style.display = 'block';
    }
    

    HTML/CSS:

    <style type="text/css">
          #loadingmsg {
          color: black;
          background: #fff; 
          padding: 10px;
          position: fixed;
          top: 50%;
          left: 50%;
          z-index: 100;
          margin-right: -25%;
          margin-bottom: -25%;
          }
          #loadingover {
          background: black;
          z-index: 99;
          width: 100%;
          height: 100%;
          position: fixed;
          top: 0;
          left: 0;
          -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
          filter: alpha(opacity=80);
          -moz-opacity: 0.8;
          -khtml-opacity: 0.8;
          opacity: 0.8;
        }
    </style>
    
    <div id='loadingmsg' style='display: none;'>Redirecting, please wait...</div>
    <div id='loadingover' style='display: none;'></div>
    <form action='' method='post' onsubmit='refreshpage();showLoading();'> 
       <input name='refresh' type="image" src="images/Next-Page-Button.gif" height="60" width="173" border="0" value='Refresh'> 
    </form>
    

    You can change the loading message to whatever you wish for it to say, of course.


    Edit:

    Just add the onclick event to the <li> like:

    <li onclick="showLoading()">
       <a href="facebook.php">
          <img src="images/logos/facebooklikeicon.png" height="25" border="0" /> Earn Coins Facebook 
       </a>
    </li>
    

    Make sure you have the other HTML, CSS and JavaScript above this for the function to work.

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

Sidebar

Related Questions

Here's a problem I ran into recently. I have attributes strings of the form
Here is my code, which takes two version identifiers in the form 1, 5,
Here is my problem : I have a post controller with the action create.
Here is a snippet of my xaml: <ComboBox x:Name=cbo1 Width=100 SelectedValue=200> <ComboBoxItem Name=n1>100</ComboBoxItem> <ComboBoxItem
Here is the field declaration in a form: max_number = forms.ChoiceField(widget = forms.Select(), choices
Here is binding: <Image Width=16 Height=16 Source={Binding SwitchForImage, Converter={StaticResource stringToImage}} HorizontalAlignment=Left> </Image> and here
here is the scenario 1: user starts to type some word, autocomplete engine shows
Here's what I'm trying to accomplish with this program: a recursive method that checks
here is my configuration: http://domain.com (obviously fictitious name...) hosted on a server running Apache
Here's a basic regex technique that I've never managed to remember. Let's say I'm

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.