473,387 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Status bar text script

Hi,

I am jst writing to ask if anyone could help with this?
I have a simple script to change the status bar text. This works fine
in Internet Explorer.., but I can't get it to work for Firefox.

I've pasted the script below, i'd really aprechiate it if anyone could
help me out.

Kind Regards,
Mikey

***********************************************
message = " testtesttesttesttesttest " +
"testtesttesttesttest " +
" testtesttest "
scrollSpeed = 5
lineDelay = 1000

txt = ""

function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}

scrollText(0)

************************************************** ****

Jul 25 '05 #1
4 1502
Mickey wrote:
Hi,

I am jst writing to ask if anyone could help with this?
I have a simple script to change the status bar text. This works fine
in Internet Explorer.., but I can't get it to work for Firefox.

I've pasted the script below, i'd really aprechiate it if anyone could
help me out.

Kind Regards,
Mikey

***********************************************
message = " testtesttesttesttesttest " +
"testtesttesttesttest " +
" testtesttest "
scrollSpeed = 5
lineDelay = 1000

txt = ""

function scrollText(pos) {
if (message.charAt(pos) != '^') {
txt = txt + message.charAt(pos)
status = txt
pauze = scrollSpeed
}
else {
pauze = lineDelay
txt = ""
if (pos == message.length-1) pos = -1
}
pos++
setTimeout("scrollText('"+pos+"')",pauze)
}

scrollText(0)

************************************************** ****

in firefox goto tools>options>web features>where it says enable
javascript click advanced>make sure allow scripts to: change status bar
text is checked [it is disabled as many users find this behaviour annoying]
Jul 25 '05 #2
Hi,
Thanks for the reply.

I had previously thought that could be the problem, however I have
enabled that feature and this still won't run on Firefox.

Thanks anyway for the suggestion.
Mikey

Jul 25 '05 #3
Mickey <mi************@gmail.com> wrote in message news:11*********************@g44g2000cwa.googlegro ups.com...
Hi,

I am jst writing to ask if anyone could help with this?
I have a simple script to change the status bar text. This works fine
in Internet Explorer.., but I can't get it to work for Firefox.

I've pasted the script below, i'd really aprechiate it if anyone could
help me out.
status = txt


Mozilla seems to think you're creating a global variable. Use: window.status=txt;

--
S.C.
Jul 25 '05 #4
Hi,

Just an update.
Mozilla seems to think you're creating a global variable. Use: window.status=txt;

I just tried this and it worked perfect, thanks so much.

Thanks again,
Mikey

Jul 25 '05 #5

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

Similar topics

9
by: Ian Shere | last post by:
I have a disclaimer page prior to a visitor going to my FAQ page. I want to hide the link which normally appears in the status bar from visitors seeing it. I am using the following code which...
1
by: Richard A. DeVenezia | last post by:
A page has a long running computation loop. While in the loop I want to update a status object so I know how things are going in the computation. This is what I have, but it doesn't seem to...
2
by: Charles Mendell | last post by:
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)...
17
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'...
42
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...
11
by: The Numerator | last post by:
How do you modify the status bar? (The status bar is the bar on the bottom in IE. It should read "Done" now.) I'm pretty sure, this requires JavaScript. Thanks.
3
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - I have window.status="Moomin"; why doesn't the statusbar change?...
3
by: daveyand | last post by:
hey, I know in the new browsers you're not able to change the value of the status bar. Which is fair enough, i understand why and agree. Although, i cant seem to get the value of the status...
2
by: NielsM | last post by:
Hello All, Found a bit of Javascript on this forum that shows the title-text of a link in the statusbar, so you don't have to type onmouseover="window.status='bla di bla'" in every link. ...
3
by: Odd Bjørn Andersen | last post by:
Is there a way to check the return status from a stored procedure when called from a OS (Windows) script? I have a stored procedure that does some checking in the database, and the return status...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.