Categories > TinyButStrong general >

IF Escope

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Blackeye_Guy
Date: 2004-10-20
Time: 16:00

IF Escope

how can I do this with tbs ?

if(cond)
{
     ........
      if(cond)
      {
            ............
               if(cond)
               {
                  ...............
                }
       }
}

I've tried do [tbs_check;if[...];then=[tbs_check;if[...];then]]
but it seems doenst works

thanks
By: Skrol29
Date: 2004-10-20
Time: 16:08

Re: IF Escope

This should work:
(for TBS 2.x, use [onshow;block=div;when ...])

<div>
   [tbs_check;block=div;if ...]
   AAAAAA
   <div>
   [tbs_check;block=div;if ...]
      BBBBBB
      <div>
      [tbs_check;block=div;if ...]
      CCCCCC
      </div>
   </div>
</div>