SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: Loading message
-
Feb 22, 2002, 17:27 #1
- Join Date
- Jan 2002
- Location
- Pittsburgh, PA, USA
- Posts
- 77
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Loading message
I would like to display a simple loading message.
Scenery: Say my web page has two frames, one for navigation, one for content. Clicking on an item in the navigation part triggers a request to be sent to the server. The result set would then be sent back and displayed within the content frame.
[U]My problem:[/] Processing the request takes time to the server. Thus, I want a loading message to be displayed in the meantime within the content frame.
Has anyone a hint?
-
Feb 23, 2002, 07:45 #2
This has come up before, the best way to do this is in javascript
SeanHarry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
-
Feb 25, 2002, 22:36 #3
- Join Date
- Dec 2001
- Location
- Oregon, USA
- Posts
- 88
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Javascript or Flash.... depending on what you want to do.
-
Feb 27, 2002, 05:14 #4
- Join Date
- Jan 2002
- Location
- Pittsburgh, PA, USA
- Posts
- 77
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Well. Thanks for your great help.
I figured I needed two messages:
one that was displayed once the request is sent to the server - this is done by displaying another layer;
and another one, when the response is being generated by the server (since some headers come out first with the rest of the page being generated, you need a layer that disappears when the page is fully loaded by the browser.)
Should you be interested by a piece of code, just whistle.
Bookmarks