Rainbow BBCode

Ordinary BBCode Database
BBCodes that need nothing else than installation through ACP
There is no support here! Only Read Access!
User avatar
BBCode Bot
BBCoder IV
BBCoder IV
Posts: 239
Joined: 04 Mar 2010, 13:04
Location: bbcode table

Rainbow BBCode

Post by BBCode Bot » 06 Mar 2010, 10:03

Rainbow BBCode

Author:
Description: Formats the text in different colours.
You cant use BBBCodes inside the tag and You cant use characters as ' and linebreak.

BBCode:

Code: Select all

[rainbow]{SIMPLETEXT}[/rainbow]
HTML:

Code: Select all

<script type="text/javascript">
    function colorize(str){

        var strArray=str.split("");
     
        for (var i=0;i<strArray.length;i++)
    strArray[i]="<span style='color:rgb("+
    Math.floor(Math.random()*255)+","+
    Math.floor(Math.random()*255)+","+
    Math.floor(Math.random()*255)+")'>"+strArray[i]+"</span>";
     
        return strArray.join("");
    }
</script>
<script language="javascript" type="text/javascript">
    document.write(colorize("{SIMPLETEXT}"));
</script>
Helpline:

Code: Select all

Rainbow: [rainbow]Text here[/rainbow]
Example:

Code: Select all

[b][rainbow]t is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.[/rainbow][/b]
Demo:
[rainbow]t is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.[/rainbow]


User avatar
mau
BBCoder II
BBCoder II
Posts: 5
Joined: 14 Mar 2010, 06:07
Location: Moscow

Re: Rainbow BBCode

Post by mau » 30 Apr 2010, 17:41

And so it is possible to write?

Code: Select all

[rainbow]{INTTEXT}[/rainbow]
Люди, которые и впрямь любят животных, всегда спрашивают их имена

cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 16:14
Location: Don't really know!

Re: Rainbow BBCode

Post by cisco007 » 30 Apr 2010, 18:03

you can try it with INTEXT but some characters won't work when you use it, you can give it a go, but it should work anyways!

sunne
BBCoder I
BBCoder I
Posts: 1
Joined: 02 May 2010, 04:18

Re: Rainbow BBCode

Post by sunne » 02 May 2010, 04:20

thank you Rainbow BBCode :D :D

User avatar
Berk
BBCoder II
BBCoder II
Posts: 5
Joined: 01 May 2010, 21:00
Location: Kiev, Ukraine

Re: Rainbow BBCode

Post by Berk » 03 May 2010, 16:35

working with TEXT1 only... why?
Image


cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 16:14
Location: Don't really know!

Re: Rainbow BBCode

Post by cisco007 » 03 May 2010, 16:40

maybe because of the same reason that I posted above!

farukh_khan_2050
BBCoder II
BBCoder II
Posts: 8
Joined: 06 Jun 2010, 05:22

Re: Rainbow BBCode

Post by farukh_khan_2050 » 06 Jun 2010, 05:54

Thanks I will try it..

Mark1200
BBCoder II
BBCoder II
Posts: 12
Joined: 25 Jul 2010, 15:15

Re: Rainbow BBCode

Post by Mark1200 » 25 Jul 2010, 17:20

cisco007 » 25 Jul 2010, 19:19 wrote:mark1200 you were doing so good, testarea would have been better!


-POSTS SPLIT-
*knip*