Log In · Register

 
putting a text on the status bar..., how was that?
yskulmate
post Dec 21 2004, 04:59 AM
Post #1


yskulmate
****

Group: Member
Posts: 187
Joined: Nov 2004
Member No: 64,014



how do you put a text on the status bar? i used this code but it does not apply a change on mah xanguh...

[CODE]
</style>
<script language=Javascript>
<!--
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}
var text = new initArray ("The truth ...", "It is a beautiful and terrible thing ...", "and should therefore be treated with great caution.", "yskulmate");
var speed = 40;
var speed2 = 900;
var whereat = 0;
var whichone = 0;
function waveb() {
var befor = text[whichone].substring(0,whereat);
var wave = text[whichone].substring(whereat,whereat+1).toUpperCase();
window.status = befor + wave;
if (whereat == text[whichone].length) {
whereat = 0;
++whichone;
if (whichone == text.length) whichone = 0;
setTimeout("waveb()",speed2);
}
else {
whereat++;
setTimeout("waveb()",speed);
}
}
waveb();
//-->
</SCRIPT>
</head>




please help me..
 
 
Start new topic
Replies
kellyannie
post Dec 21 2004, 07:09 AM
Post #2


Senior Member
******

Group: Member
Posts: 2,137
Joined: Nov 2004
Member No: 62,193



your welcome wink.gif
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: