Solved

Using the Status Bar

Posted on 1998-02-12
6
230 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
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

749 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