Status Bar

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
 
R

Ryan Ternier

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
 
K

Kevin Spencer

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,150
Latest member
MakersCBDReviews
Top