i'm ConFuSed, BANnEr on top of entire page |
i'm ConFuSed, BANnEr on top of entire page |
![]()
Post
#1
|
|
Member ![]() ![]() Group: Member Posts: 29 Joined: Jan 2004 Member No: 798 ![]() |
hey errione....okai i don't know if i'm making sense but maih friends have xangas that have words that move on the line that has the "x" button for exit and i wanted to know....how do you do that? thanx........
*jeL* |
|
|
![]() |
![]()
Post
#2
|
|
Member ![]() ![]() Group: Member Posts: 29 Joined: Jan 2004 Member No: 798 ![]() |
<!-- begin code provided by createblog.com -->
<script language="JavaScript"> var current = 0 var x = 0 var speed = 50 var speed2 = 700 function initArray(n) { this.length = n; for (var i =1; i <= n; i++) { this[i] = ' ' } } typ = new initArray(200) typ[0]=" Message 1 " typ[1]=" Message 2 " typ[2]=" Message 3 " typ[3]=" Message 4 " typ[4]=" Message 5 " typ[5]=" Message 6 " typ[6]=" Message 7 " typ[7]=" Message 8 " typ[8]=" Message 9 " typ[9]=" Message 10" 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></script> <!-- end code provided by createblog.com --> uh yeah this codes works but after my last message it stoops how do you make it repeat? thankx |
|
|
![]() ![]() |