What's new

Roller Coaster Text

  • Thread starter Zacasourus
  • Start date
  • Views 699
Zacasourus

Mr Potato Head

Member
Forum Addict Donator
Messages
3,720
Reaction score
688
Points
475
Sin$
0
Hey guys i figured out how to make roller coaster text. Not on se7ensins but i think it works on sites like TTG and other sites that do not use the bb-code for text and such.
Code:
<script>



var fs=1
var direction="right"
function rollertext(whichone){
var thetext=whichone
for (i=0;i<thetext.length;i++){
document.write(thetext.charAt(i).fontsize(fs))

if (fs<7&&direction=="right")
fs++
else if (fs==7){
direction="left"
fs--
}
else if (fs==1){
direction="right"
fs++
}
else if (fs>1&&direction=="left")
fs--

}
}
rollertext("Se7ensins is a rickety road to awesomeness! ")
</script>

<p align="center"><font face="arial" size="-2">This free script provided by</font><br>
<font face="arial, helvetica" size="-2"><a href="http://www.se7ensins.com"></a></font></p>
Enjoy! I did learn this tutorial and have been working on this code for a while i know it's not much but it's something!
 
BSAP

BSAP

Enthusiast
Messages
324
Reaction score
29
Points
85
Sin$
0
YEAH BOOST REP YEAH!!!!!!

Anyway I'm going to got check this out.....
 
Top Bottom
Login
Register