Page 1 of 1

Rotating Text BBcode

Posted: 05 Mar 2010, 08:07
by BBCode Bot
Rotating Text BBcode

Author: Evan Holloway
Description: Prints a random text string (like a quote). This is often used in signatures. The number of strings goes in the tag option as an integer. The strings are seperated by underscore "_" in between the tags.

BBCode:

Code: Select all

[rtxt={NUMBER}]{SIMPLETEXT}[/rtxt]
HTML:

Code: Select all

<script type="text/javascript">
var qttxta = "{SIMPLETEXT}";
var qtxtsel = qttxta.split("_");
var qtnums = Math.floor(Math.random()*{NUMBER});
document.write(qtxtsel[qtnums]);
</script>
Helpline:

Code: Select all

Random string rotator: [rtxt=number_of_strings]strings_seperated_by_bars[/rtxt]
Example:

Code: Select all

[rtxt=8]Quote 1_Quote 2_Quote 3_Quote 4_Quote 5_Quote 6_Quote 7_Quote 8[/rtxt]
Demo:
[rtxt=8]Quote 1_Quote 2_Quote 3_Quote 4_Quote 5_Quote 6_Quote 7_Quote 8[/rtxt]

Re: Rotating Text BBcode

Posted: 01 May 2010, 11:14
by neptune
can i use pictures instead of text in this bbcode?

Re: Rotating Text BBcode

Posted: 01 May 2010, 12:13
by Stoker
Dont think so.

Re: Rotating Text BBcode

Posted: 01 May 2010, 12:20
by neptune
is there a bbcode with rotating pictures, i dont find such a bbcode?

Re: Rotating Text BBcode

Posted: 26 Jun 2010, 17:56
by KukY13
neptune » 01 May 2010, 12:20 wrote:is there a bbcode with rotating pictures, i dont find such a bbcode?
I think it is possible, if you place HTML <img> tags instead of text while writing the BBCode.

Re: Rotating Text BBcode

Posted: 08 Jul 2010, 11:20
by goodprice
This is BBcode ?

Re: Rotating Text BBcode

Posted: 08 Jul 2010, 16:26
by cisco007
yes it's a bbcode!

Second post of yours deleted, not need to double post when you had nothing to say!

Re: Rotating Text BBcode

Posted: 09 Jul 2010, 07:27
by neuropass
the author link is not right...

Re: Rotating Text BBcode

Posted: 09 Jul 2010, 11:32
by KukY13
neuropass » 09 Jul 2010, 07:27 wrote:the author link is not right...
http://www.evinext.com/