Solved

Using the Status Bar

Posted on 1998-02-12
6
204 Views
Last Modified: 2013-12-25
Here is what I need I have a string say "This is a test string".  I need this string to scroll in the status bar of the browser.  The following is a list of criteria that I must meet while making this work:

1) The text must scroll in the status bar
2) The code must be in VBScript
3) The code must work on at least IE3.0, preferable work on both IE3.0 and Netscape 3.0

0
Comment
Question by:Jagar
6 Comments
 
LVL 6

Expert Comment

by:tecbuilder
ID: 1857238
Curious, why does it have to be in VBScript, because of IE 3.x or other constraints?
0
 
LVL 1

Expert Comment

by:twexperts
ID: 1857239
As far as I can remember NS doesn't support VBscript (But I could be wrong). And why does it have to be in VBscript? Surely the result is what's desired, and not the means to get it. And also there is no problem mixing Scripting Languages within a page.
0
 
LVL 2

Author Comment

by:Jagar
ID: 1857240
Alright lets see it in Java, but I never used Java (YET), so it will have to fully written out.
And as far as mixing scripting languages I read it that you couldn't do it somewhere, but if you say you can then I'll try it.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 1

Accepted Solution

by:
bass5763 earned 70 total points
ID: 1857242
Here is a script that will do what you want:

<HTML>
<SCRIPT LANGUAGE="JavaScript">

var marquee            = 0;
var marqueeText     = "This is a test string";
var marqueeDelay   = 75;

var i = 0;
while (i ++ < 150)
    marqueeText = " " + marqueeText;

function Marquee()
{
    window.status = marqueeText.substring(marquee++,
                        marqueeText.length);
    if (marquee == marqueeText.length)
        marquee = 0;
    setTimeout("Marquee()", marqueeDelay);
}

Marquee();
//-->
</SCRIPT>
</HTML>

Tell me if it's what you wanted.

Thanks,
Matt Calhoun
0
 
LVL 2

Expert Comment

by:theTerabyte
ID: 1857243
i know bass5763's stuff is not in VBscript like you asked, but it's sure the onyl way I know of to do it...
0
 
LVL 2

Author Comment

by:Jagar
ID: 1857244
This works great.  Thank you for all your help.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Form submit issue 11 55
Basic Membership Section (Wordpress) 2 53
Select2 jquery help 9 46
advertisement module in core php 4 92
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now