473,320 Members | 1,988 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Freezing the web page when Ajax is called ?

296 100+
Hi,

I want to freeze a web page when Ajax is called and after the completion of Ajax operation defreeze the web page .

How to do this ?
Dec 31 '07 #1
4 2072
dmjpro
2,476 2GB
Hi,

I want to freeze a web page when Ajax is called and after the completion of Ajax operation defreeze the web page .

How to do this ?
Have you tried with some Code??

Debasis Jana
Dec 31 '07 #2
pankajit09
296 100+
Have you tried with some Code??

Debasis Jana
I did this in JS -->


Expand|Select|Wrap|Line Numbers
  1. if(https.readyState != 4)
  2.         {
  3.             var outerPane = document.getElementById('FreezePane');
  4.             outerPane.className = 'FreezePaneOn';        
  5.         }

In CSS -->


Expand|Select|Wrap|Line Numbers
  1. FreezePaneOff
  2.     {
  3.       visibility: hidden;
  4.       display: none;
  5.       position: absolute;
  6.       /*top: -100px;
  7.       left: -100px;*/
  8.     }
  9.  
  10. FreezePaneOn
  11.     {
  12.       position: absolute;
  13.       /*top: 0px;
  14.       left: 0px;*/
  15.       visibility: visible;
  16.       display: block;
  17.       width: 100%;
  18.       height: 100%;
  19.       background-color: #666;
  20.       z-index: 999;
  21.       filter:alpha(opacity=85);
  22.       -moz-opacity:0.85;
  23.       padding-top: 20%;
  24.     }
Dec 31 '07 #3
dmjpro
2,476 2GB
I did this in JS -->


Expand|Select|Wrap|Line Numbers
  1. if(https.readyState != 4)
  2.         {
  3.             var outerPane = document.getElementById('FreezePane');
  4.             outerPane.className = 'FreezePaneOn';        
  5.         }

In CSS -->


Expand|Select|Wrap|Line Numbers
  1. FreezePaneOff
  2.     {
  3.       visibility: hidden;
  4.       display: none;
  5.       position: absolute;
  6.       /*top: -100px;
  7.       left: -100px;*/
  8.     }
  9.  
  10. FreezePaneOn
  11.     {
  12.       position: absolute;
  13.       /*top: 0px;
  14.       left: 0px;*/
  15.       visibility: visible;
  16.       display: block;
  17.       width: 100%;
  18.       height: 100%;
  19.       background-color: #666;
  20.       z-index: 999;
  21.       filter:alpha(opacity=85);
  22.       -moz-opacity:0.85;
  23.       padding-top: 20%;
  24.     }

Post your whole ajax related code.
Then tell what happens?

Debasis Jana
Dec 31 '07 #4
acoder
16,027 Expert Mod 8TB
I want to freeze a web page when Ajax is called and after the completion of Ajax operation defreeze the web page
Make a synchronous call instead of an asynchronous one - in the open method, the third parameter should be false.
Dec 31 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Vincent A. | last post by:
Hello, I'm developping an asp.net application which used master page on which i add several web control. One of the them is a menu control which as several button in order to develop each sub...
13
by: Marvin Zhang | last post by:
Hi, I'm not familiar with web programming, but I have a problem here. I have a page. When a user click one button on it, I will use AJAX to request a PHP script which will do a bunch of tasks,...
1
by: farghal | last post by:
Hello as many people I'm new to ajax but trying my best to understand. At this point I got a problem I'm not able to solve. I've looked on several forums and googled internet but I can't find a...
1
by: mbruyns | last post by:
i have been trying (and sometimes succeeding) to use the modalpopupextender to show various panels of controls on my asp pages. the strange problem that i keep on running into is that sometimes it...
2
by: Microsoft Newsserver | last post by:
Hi, we have a progress bar which is revealsed before the postback occurs. basically, we add an onclick attribute to the submit button which reveals the progress.gif. This has the effect of...
1
by: Giles | last post by:
My web site HTML comes from a database via querystring e.g. page.asp?pid=55 I have a separate asp search page, search.asp. Its output is retrieved by an ajax call from page.asp and its HTML is then...
7
by: Microsoft Newsserver | last post by:
Hi Folks. I have an issue I need some help with if thats OK. I am running Framework 2.0 using Windows Integrated Security. For most of the application we manage session timeouts without the...
7
by: vjayis | last post by:
hi i hav a front page from which an ajax page is called and an text field is written in the front page using this ajax page. I need to validate the user access for this page: 1.the ajax page...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.