Forum Moderators: open
I don't think that this is possible, as this is part of the browser application. Also, there is no way you can control this as your page has not been loaded by the browser yet. This status is to indicate that the browser is making contact with your site and beginning to download the contents of your page.
The normal window.status is a client side script command, and need the browsers to have loaded the page to work.
HTH
As I wrote I have 3 or 4 very, very short flashes with my solution but I want better. Another thing: I think (not sure) that the flashes are not so often on a faster computer.
Are you testing your scripts from your local machine? If so, you are not seeing the delay that users will experience when surfing from their location to your site. A delay dictated to by connection speed, internet traffic etc.
The delay is the fact that the browser is making a series of HTTP requests to the server for the information contained on your page. As it does this, the browser flags to you that it is searching for the page (DNS resolution), and then Opening (requesting and receiving the files on your page via HTTP). AFAIK, there is no way of ever getting rid of this by any client-side or server-side language.
You could, as korkus says, open a window without the status bar on eveything other than your main page.
Do you mind if I ask why you want to get rid of this? It's a good way for the user to know that something is happening - that your page is opening - rather than have them sitting there wondering if they will ever see your site!
I don't have a solution, but maybe understanding that will help you improve it... i.e. you could try play with the delays in the loop. Personally, I agree with BlobFisk that it is not good practice to remove this info.
Shawn
Here is the story:
I have an ftp space with the corresponding address: www.something.com. On this ftp space there is no support for ASP so I have to use another ftp space. www.else.com/something. I have to use asp on the first page because I have a news display program taken from a database.
The policy of the company is to put all the asp pages on other ftp space so when we lose a client he gets only the html part of the site together with the database.
My boss wants to hide somehow this thing.
A first step was to hide the URL in the Address Bar. I managed to do that working with frames(one frame is not visible). By the way: If you have another solution about changing the URL of the page when loading please let me know.
The second step was to hide the info in the status bar.
That's the story folks(at least the short version one). I'm not proud of it, but what a poor employer can do?
About the other stuff:
For ShawnR: You are right about it. And yes, I noticed too that playing with the delay changes something. I will continue with some other values but I thought someone has a more elegant solution.
Ps: I checked the pages online and offline. There is a difference but the flashes still appear.
I think you ae confusing several issues here.
If your main concern is access to certain areas, make those areas password protected, or set a session variable if a "Non-allowed" person tried to access the page.
Messing with the status bar is NOT a good idea.
>>>>>What does FTP have to do with ASP?
On one ftp space I am not allowed to use ASP scripts and on the other I am alowed.
>>>>>And what does all this have to do with the status bar?
I use a frame solution to display info from both sites. On the first ftp space I have the .html page that has a frame content and on the second ftp I have the .asp page.
When I load the page on the status bar I get "Connecting to..., Downloading from..., etc". I do not want those messages.
Hope now it is clear.
Plus browsers like Opera use a secondary status bar that pops up while the page is loading and shows 'Connecting..', 'Loading..' etc.
If you have another solution about changing the URL of the page when loading please let me know
You could just use redirects (or mod_rewrite). I am sure someone here can fill you in on how to set them up. Depends what servers you are running though. (Apache? IIS?)
When I said ftp space I meant the remote serber on witch I upload the pages(html,asp,etc)
>>>>Plus browsers like Opera use a secondary status bar that pops up while the page is loading and shows 'Connecting..', 'Loading..' etc.
I know about that but the importnt hing is to work in Explorer. I know it's not professional but this is what I was asked.
>>>>You could just use redirects (or mod_rewrite). I am sure someone here can fill you in on how to set them up. Depends what servers you are running though. (Apache? IIS?)
I do not know how to do this but I guess I got to have access to the webserver. The server is in another contry.
Unfortuantely I have access only to the ftp space on witch I put my pages.