Log In · Register

 
im having trouble :(, status bars
neato625
post Jan 15 2004, 09:10 PM
Post #1


Member
**

Group: Member
Posts: 22
Joined: Jan 2004
Member No: 205



i am trying to put one of those scroller status bar thingers on my xanga but it wont work. im not sure if i have too much stuff on my xanga?, but i didnt think i have as much as some other people have.. cause it is either that or my code is wrong, but im pretty sure that it is right. so im really confused and if someone could unconfuse me that would be great!

CODE
<!-- begin code provided by createblog.com -->
<script language="JavaScript"><!--
var current = 0
var x = 0
var speed = 100
var speed2 = 100
function initArray(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}
typ = new initArray(4)
typ[0]="[[ Imperfect cry, and scream in ecstasy"
typ[1]="[[ So what befalls the flawless?"
typ[2]="[[ Look what I've built, it shines so beautifully"
typ[3]="[[ Now watch as it destroys me"
function typewrite() {
var m = typ[current]
window.status = m.substring(0, x++) + " ]]"
if (x == m.length + 1) {
x = 0
current++
if (current > typ.length - 1) {
current = 0
}
setTimeout("typewrite()", speed2)
}
else {
setTimeout("typewrite()", speed)
}
}
typewrite()
// -->
</SCRIPT>

<!-- end code provided by createblog.com -->


another thing is if anyone knows the code to replace the links with something else.. can you replace the user name link? if you can, can someone tell me the link name that you would put in the code! thank again!
 

Posts in this topic
neato625   im having trouble :(   Jan 15 2004, 09:10 PM
aznhybriddragon   CODE<!-- begin code provided by createblog...   Jan 15 2004, 09:24 PM
neato625   thanks!! your code worked! i was soo ...   Jan 15 2004, 09:28 PM
aznhybriddragon   hehe, no problem   Jan 15 2004, 11:34 PM


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