Roller Coaster BBCode

Ordinary BBCode Database
BBCodes that need nothing else than installation through ACP
There is no support here! Only Read Access!
Locked
User avatar
BBCode Bot
BBCoder IV
BBCoder IV
Posts: 239
Joined: 04 Mar 2010, 15:04
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]
Locked