Categories > TinyButStrong general >

Count down

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Matthias
Date: 2007-01-04
Time: 02:31

Count down

Hi,

the following code makes this output:

<p>1</p>
<p>2</p>
<p>3</p>
<p>4</p>

Code:
$TBS->MergeBlock('b2','num',array('min'=>1,'max'=>4));



Html:
[b2;block=begin]<p>[b2.#]</p>[b2;block=end]



But how can I turn this for a count down?

<p>4</p>
<p>3</p>
<p>2</p>
<p>1</p>

Thanks for help!
By: Skrol29
Date: 2007-01-04
Time: 19:01

Re: Count down

Hi,

It is in the manual: 'step'=>-1
By: Matthias
Date: 2007-01-04
Time: 19:09

Re: Count down

Ok, sometimes solutions can be so close that you can't see them...
Thank you very much!