Hi there, I have a status bar scroller on my website at the moment, which works fine. It uses the ie5/6 status bar and I am happy with that. However, I cannot find anywhere how to change the text colour on that status bar. The scroller is written in java, and the code is attached. Could somebody tell me please how to change the boring black text to a different colour.
<script language="JavaScript1.2" type="text/javascript">
<!--if (parent.location.href!=window.location.href)parent.location.href=window.location.href;-->
function scrollit(seed) {
var m1 = "SCROLLER - - - - - ";
var msg=m1;
var out = " ";
var c = 1;
if (seed > 100) {
seed--;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(100)",75);
}
}
}
// End -->
</script>
CSUKNIC
Nic Brown
<script language="JavaScript1.2" type="text/javascript">
<!--if (parent.location.href!=window.location.href)parent.location.href=window.location.href;-->
function scrollit(seed) {
var m1 = "SCROLLER - - - - - ";
var msg=m1;
var out = " ";
var c = 1;
if (seed > 100) {
seed--;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
window.status=out;
cmd="scrollit("+seed+")";
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit(100)",75);
}
}
}
// End -->
</script>
CSUKNIC
Nic Brown