Log In · Register

 
i'm ConFuSed, BANnEr on top of entire page
AnDiWaSLyKe...Wh...
post Jan 19 2004, 06:09 PM
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*
 
 
Start new topic
Replies
*krnxswat*
post Jan 19 2004, 06:40 PM
Post #2





Guest






Ohhhhhhhhhhh. Haha biggrin.gif
I'm so silly.
Anyways, let me steal the code from here.

To have the title on the line where the "x" button is..

CODE
<!-- begin code provided by createblog.com -->
<script language="JavaScript">
document.title ="WRITE THE TITLE HERE"
</script>

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


And for the changing messages on the bottom of the browser....

CODE
<!-- 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 -->



You can add more, or delete them.
 

Posts in this topic


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