Roller Coaster BBCode

Ordinary BBCode Database
BBCodes that need nothing else than installation through ACP
User avatar
BBCode Bot Online
Supporter
Supporter
Posts: 239
Joined: 04 Mar 2010, 13:04
Local time: Saturday 20:49
Last active: Online now
Location: bbcode table

Roller Coaster BBCode

Post by BBCode Bot »

Roller Coaster BBCode

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]
HTML:

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>
Helpline:

Code: Select all

Rolling Coaster: [rc]Text here[/rc]
Example:

Code: Select all

[rc]What should we do with a drunken beggers[/rc]
Demo:
[rc]What should we do with a drunken beggers[/rc]