Status Bar

  • Thread starter Thread starter Becker
  • Start date Start date
B

Becker

I have a need for a status bar or some indication about a query is being
run.

I have seen some ASPX pages where the whole page just temporarily becomes an
amimaged "query running..." graphic and then goes to the page with results.
Something as simple as an animated gif would work too.

I just need to know what is the logic for doing this?

Do I do a redirect? I've not been able to get this to work. Any ideas or
examples would be great.

Thanks,
Ben
 
You can also use <div> tags.
Absolute / relative position the div tag right overtop of where you want
your actual content to load, or you can write em as below.

Here's an example of what I do when I want something to display a loading
sign.

<div id="Loading" class="Loading">Loading....</div>
<div id="Content" class="Content>
blah blah blah....
</div>
<script>
document.getElementById('Loading').className = 'Hidden';
document.getElementById('Content').className = 'Visible';
</script>

That's the basic jist of it. Works great with <divs>


/RT
 
JavaScript has an object for writing to the status bar. Example:

window.status = "Query running...";

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top