Author: Stoker
Description: The Roller Coaster BBCode will allow You to put some rolling text in the topics.
Only one line allowed and speciel chars breaks the script.
BBCode:
Code: Select all
[rc]{SIMPLETEXT}[/rc]
Code: Select all
<div>
<script type="text/javascript">
/*
Roller Coaster Script-
By JavaScript Kit
Over 200+ free scripts here!
*/
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--
}
}
//Change below text to your won
rollertext("{SIMPLETEXT}")
</script>
</div>
Code: Select all
Rolling Coaster: [rc]Text here[/rc]
Code: Select all
[rc]What should we do with a drunken beggers[/rc]
[rc]What should we do with a drunken beggers[/rc]