473,770 Members | 3,398 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

status bar text problem

1. When I go to http://www.w3schools.com/js/default.asp and choose:
2. JS HTML DOM and then choose:
3. the Window object and then choose:
4. Write some text in the windows status bar ( a link)
5. Before I write the script, the IE shows current time in status bar
6. After I write the script, which writes a message on the status bar:
<script text="text/javascript>
function load()
{
window.status= "Show this text in the status bar"
}
</script>
<body onload="load()" >
7. The script seems to work properly. quickly displaying the text in the
status bar
then the text disappears to be replaced by the current time again. I
cannot get the
text to appear long enough for anybody to read it. This is my problem.
I do not want
the current time to show. I just want the text that I write to show.
It's as if the
current time is hardcoded into IE. How can I get rid of the current
time and only
show the text that I want? I've done some searching for a tool that
would let me
change the options on the status bar but I have not found one. If there
is a way to change
those status bar options, please let me know.
8. When I view the W3school link (written in .ASP) the status bar shows
the text properly
and the current time does not show. This is what I want. I cannot check
myself if it
does not work to begin with...How can I get it to work?
9. Thanks for your time and patience.

Chuck
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 23 '05 #1
2 4752
Charles Mendell wrote:
1. When I go to http://www.w3schools.com/js/default.asp and choose:
2. JS HTML DOM and then choose:
3. the Window object and then choose:
4. Write some text in the windows status bar ( a link)
5. Before I write the script, the IE shows current time in status bar
6. After I write the script, which writes a message on the status bar:
<script text="text/javascript>
<script type="text/javascript">

Note its type, not text. You are also missing the closing "
function load()
{
window.status= "Show this text in the status bar"
return true;

Consulting the group FAQ, specifically section 4.35 would have answered
this for you.
}
</script>
<body onload="load()" >
7. The script seems to work properly.
Considering the notes above that I made, thats incredible that it even
does anything at all. But then again, IE is not the most respectable
browser to test scripts in. It does nothing, and can never do anything,
in Mozilla because I have the statusbar blocked from being changed. Its
there for more reasons than trying to change it.

quickly displaying the text in the status bar then the text disappears
to be replaced by the current time again. I cannot get the text to appear
long enough for anybody to read it. This is my problem. I do not want the
current time to show. I just want the text that I write to show. It's as
if the current time is hardcoded into IE.
No, its not hard-coded. In fact, my IE doesn't display the time in the
status bar at all.
How can I get rid of the current time and only show the text that I want?
First, ask yourself why you want to attempt to change the basic
functionality of the "status" bar. Its there to show load progress, and
other "status" things in the browser.
I've done some searching for a tool that would let me change the options
on the status bar but I have not found one. If there is a way to change
those status bar options, please let me know.
8. When I view the W3school link (written in .ASP) the status bar shows
the text properly and the current time does not show. This is what I want.
I cannot check myself if it does not work to begin with...How can I get it to work?
Why can't you check it yourself?
9. Thanks for your time and patience.


Thank you in the future for not trying to change my status bar.

Also, you may want to look into some other mode of posting to news. The
format you are using is horrendous.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq
Jul 23 '05 #2
Charles Mendell wrote:
[snip]
8. When I view the W3school link (written in .ASP)
This should be irrelevant - what has ASP got to do with it? Other than
infer that W3Schools may be Microsoft-centric (which they are, but
they are quite open about what works in IE only).
the status bar shows
the text properly
and the current time does not show. This is what I want. I cannot check
myself if it
does not work to begin with...How can I get it to work?
9. Thanks for your time and patience.

[snip]

I use IE on Windows XP (occasionally), it never shows the time in the
status bar. I have no idea where it is configured from - certainly
nowhere I can find. There are a number of scripts around that put a
clock in the status bar, but none persist once you leave the site.

Are you sure you haven't loaded some IE extension or ActiveX do-dad
that is putting the clock there?

Rob.
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
4374
by: Christopher Nelson | last post by:
I have a menu tree made up of anchors inside list items in a multi-level list that includes HTML like: <ul id='xx'> <li><a href='conf.cgi' class='menu' target='main' title='Configure stuff' onclick='remember("conf.cgi")' onmouseover='handleOver("Configure stuff")'>Settings</a></li> </ul> with the JavaScript:
6
2994
by: Ada | last post by:
i have a little bit of issue getting the status bar to work properly. this is what happens now. when the program loaded, the status is "READY..." the code is inside the FORM LOAD. i also added the same code in another CLICK METHOD. everytime i click, the status got updated but the old "READY..." got moved up one line above. so, if i click 10 times, i got a stack of 10 rows of status bar.
0
3940
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. The program I'm trying to develop needs to be able to do the following: - Select remote server - Select from two specific services - Check the status of the server
42
34242
by: Greg | last post by:
Hi, I've designed a bookmark in Ajax / PHP that I will put soon on sourceforge.net. But I've got an very tricky bug. I try it on some computers with Internet Explorer/Windows, Firefox 1.07/Linux, Firefox 1.5/Linux, Firefox 1.5/Windows and Firefox 1.5/Mac, Safari/Mac. It works perfectly on a lot of configurations but, on some PC with Firefox 1.5/Windows (not all), the Javascript code with XmlHttpRequest
3
4222
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - I have window.status="Moomin"; why doesn't the statusbar change? ----------------------------------------------------------------------- When changing the status in an event (e.g. onmouseover) you should return true from the event. Also a number of browsers require a short delay before setting the status to overcome their default behaviour with the...
5
2983
by: Yash | last post by:
Hi friends, I am using AJAx to call a method on the server which sends a mail to the user. my code if(status == 200) is evaluating to false yet the mail is delivered. But because of the above status I am un able to display the message to the user. Do any one hava an idea how to access responseText or ResposeXML without status=200
4
5841
by: howa | last post by:
a traditional javascript usage such as <a href="javascript:void(0)" onclick="xxx".... or <a href="javascript:doSomething()" will both show the javascript link on the browser status bar...of course you can use onmouseover to set the status bar text...but you
1
5803
by: K Viltersten | last post by:
> bar.PerformStep (); I noticed that there's a property for the bar stating what time it should take for the animation to move the fill to the requested spot. I'm guessing that's the time i should delay my text updating by. Correct? When you mentioned a delay - is there an other way to do it than threads? I've found this solution.
9
4122
by: tshad | last post by:
I have a Windows App that is doing some work and then writing a "Now Processing..." line to the status line of the window as well as the Textbox on the form. But the problem is that the work is in another class from the main class. So it couldn't access the Status Line or textbox. So what we did was set them up as properties: string IStatusDisplay.Status
0
9591
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10002
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8883
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6676
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5312
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3575
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2816
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.