putting a text on the status bar..., how was that? |
![]() ![]() |
putting a text on the status bar..., how was that? |
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.. |
|
|
|
Dec 21 2004, 05:13 AM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,137 Joined: Nov 2004 Member No: 62,193 |
I use this one.. |
|
|
|
Dec 21 2004, 06:01 AM
Post
#3
|
|
![]() yskulmate ![]() ![]() ![]() ![]() Group: Member Posts: 187 Joined: Nov 2004 Member No: 64,014 |
but i want it to be changing.. for example if you see the first code i put on- the words ---> "The truth..." appears on the status bar, then it will disappear and change into another word on the effect of making a backspace as when you type a word on notepad or word-->"it is a beautiful and terrible thing..." then change into another ---> "and should therefore be handled with great caution."
hope u understand my explanation... |
|
|
|
Dec 21 2004, 06:08 AM
Post
#4
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,137 Joined: Nov 2004 Member No: 62,193 |
yeah I understand.. I think.. haha.. but yeah anyway I think that no longer works on xanga
did it say this where you got your code: QUOTE PLEASE NOTE THIS SCRIPT NO LONGER WORKS ON XANGA DUE TO THE SETTIMEOUT FUNCTION
|
|
|
|
Dec 21 2004, 07:00 AM
Post
#5
|
|
![]() yskulmate ![]() ![]() ![]() ![]() Group: Member Posts: 187 Joined: Nov 2004 Member No: 64,014 |
oh. thanks.. anyways for the previous code youve given me..
|
|
|
|
Dec 21 2004, 07:09 AM
Post
#6
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 2,137 Joined: Nov 2004 Member No: 62,193 |
your welcome
|
|
|
|
![]() ![]() |