Solved

Using the Status Bar

Posted on 1998-02-12
6
219 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Two wordpress questions 3 60
Code Manager | Snippits 2 35
What is the optimum percentage to save images for webs. 4 19
Link failure 16 31
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
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…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

765 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