Rainbow 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

Rainbow BBCode

Post by BBCode Bot »

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, 08:07
Location: Moscow
Contact:

Re: Rainbow BBCode

Post by mau »

And so it is possible to write?

Code: Select all

[rainbow]{INTTEXT}[/rainbow]
Люди, которые и впрямь любят животных, всегда спрашивают их имена
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Rainbow BBCode

Post by cisco007 »

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, 06:18
Contact:

Re: Rainbow BBCode

Post by sunne »

thank you Rainbow BBCode :D :D
User avatar
Berk
BBCoder II
BBCoder II
Posts: 5
Joined: 01 May 2010, 23:00
Location: Kiev, Ukraine
Contact:

Re: Rainbow BBCode

Post by Berk »

working with TEXT1 only... why?
Image
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Rainbow BBCode

Post by cisco007 »

maybe because of the same reason that I posted above!
farukh_khan_2050
BBCoder II
BBCoder II
Posts: 8
Joined: 06 Jun 2010, 07:22

Re: Rainbow BBCode

Post by farukh_khan_2050 »

Thanks I will try it..
Mark1200
BBCoder II
BBCoder II
Posts: 12
Joined: 25 Jul 2010, 17:15

Re: Rainbow BBCode

Post by Mark1200 »

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


-POSTS SPLIT-
*knip*
Locked