Solved

Using the Status Bar

Posted on 1998-02-12
6
238 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

726 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