Results 1 to 4 of 4

Thread: Status Bar

  1. #1

    Thread Starter
    Hyperactive Member parkes's Avatar
    Join Date
    Jan 1999
    Location
    Unitied Kingdom
    Posts
    303

    Question Status Bar

    Does anyone know how to set the status bar text using ASP. Want I want is while the page is creating its output table from the information in a database, I want the Status bar to read something like

    Processing Record: 1, 2, 3, etc
    Thanks in advance for any help provided.

    VB 6 Enterprise Edition SP4
    ADO, SQL 7/2000, ASP and some JavaScript


    >> Life goes on, but for how long? <<
    If you can smile when things go wrong, you have someone in mind to blame

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    I believe it's window.status = "Whatever" in client-side javascript.
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

  3. #3

    Thread Starter
    Hyperactive Member parkes's Avatar
    Join Date
    Jan 1999
    Location
    Unitied Kingdom
    Posts
    303
    Right, I know the code to change the window status, but how do I do it through ASP code.

    I've tried response.write, but this doesn't work. Or in other words how do you call Javascript through ASP
    Thanks in advance for any help provided.

    VB 6 Enterprise Edition SP4
    ADO, SQL 7/2000, ASP and some JavaScript


    >> Life goes on, but for how long? <<
    If you can smile when things go wrong, you have someone in mind to blame

  4. #4

    Thread Starter
    Hyperactive Member parkes's Avatar
    Join Date
    Jan 1999
    Location
    Unitied Kingdom
    Posts
    303
    Sort it now and if anyone was interested this is hows its done, dead simple really

    Response.write ("<SCRIPT LANGUAGE=""JavaScript"" TYPE=""text/javascript"">window.status='Processing Record: " & iCnt & "'</SCRIPT>")

    When the loop has finished do

    Response.write ("<SCRIPT LANGUAGE=""JavaScript"" TYPE=""text/javascript"">window.status=''</SCRIPT>")
    Thanks in advance for any help provided.

    VB 6 Enterprise Edition SP4
    ADO, SQL 7/2000, ASP and some JavaScript


    >> Life goes on, but for how long? <<
    If you can smile when things go wrong, you have someone in mind to blame

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width