Solved

How do lock the website while a page loads ?

Posted on 2007-03-20
12
1,610 Views
Last Modified: 2008-03-15
Hi all,

I'm looking for a tool which would lock my web page while it's loading.

For example, let's say I have a left menu with some links. Whenever I click on one of them, a div (or anything else like an image and some text saying "loading...") pops up in the middle of the screen and the rest the page becomes unclickable with a soft gray background over the whole website.

In case you don't get what I mean, here's an example: http://www.swsoft.com/en/products/plesk/demo/
The Plesk Control Panel does exactly what I want. Does anybody have an idea how it's done please ?

Thanks in advance !
0
Comment
Question by:beatboxradio
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 
LVL 3

Expert Comment

by:sacabonos2k6
ID: 18759858
0
 
LVL 5

Author Comment

by:beatboxradio
ID: 18763656
Sorry but that doesn't seem to be what I want. Any other suggestion ?

The best would be one similar to Plesk's lock & load system.

Thanks !
0
 
LVL 63

Accepted Solution

by:
Zvonko earned 500 total points
ID: 18765398
They lock the page by an overly of iframe loaderSubLayer and a table loaderContainer.

You can see that by using PageSpy: http:/M_1344026.html

0
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
LVL 63

Expert Comment

by:Zvonko
ID: 21119655
The question was answered. Now it request delete without any feedback?
0
 
LVL 5

Author Comment

by:beatboxradio
ID: 21119862
You might want to take a look at the link I've been given please ?
If you bothered reading it you'd notice it's really not what I was looking for.

I'm sorry but no points will be given since I found the solution on my own.
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 21120042
There is nothing to discuss and nothing to solve. The question was: "Does anybody have an idea how it's done please ?"
My answer is: "They lock the page by an overly of iframe loaderSubLayer and a table loaderContainer."

You want to say I do not have an idea how it's done please???

0
 
LVL 5

Author Comment

by:beatboxradio
ID: 21126058
Well, sacabonos2k6's solution really  did not help as it is explained how to display a progress bar (which is totally not what I need) on a page using ActiveXObject or .NET. I am developping in PHP and I don't use any of the technologies mentionned in that website.

As for Zvonko's solution, I am not using iFrames for my application so it didn't help me either. Moreover, his link pointed to his profil page where I was supposed to download and install a software to understand a possible solution I didn't need in the first place.

That sumarizes why none of the solution I've been given helped me.

As for how I did it, it's pretty simple:
I used javascript to display a 100% width by 100% height div with 80% opacity when my AJAX computation starts, and then hide it when it's done.
0
 
LVL 1

Expert Comment

by:Vee_Mod
ID: 21133501
Force accepted.
Vee_Mod
Community Support Moderator
0
 
LVL 63

Expert Comment

by:Zvonko
ID: 21134133
Thanks bol, in the future I will take care to give more credit to Expert devic and his really great PageSpy.
Take you for your care and your great housekeeping work.
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question