Categories > TinyButStrong general >

another conditional question...

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: lauren
Date: 2014-03-05
Time: 23:54

another conditional question...

i can't seem to find anything that explains how to hide an html element based upon a php variable not being a certain value, for example:

<div id='[onshow;xxx]'>blah blah blah</div>

the xxx is the expression i can't figure out to hide the div if the value of $myvar != "A"

if that makes any sense?

thanks again
:)
By: Skrol29
Date: 2014-03-06
Time: 00:23

Re: another conditional question...

Hi,

<div id='some-id'>[onshow.myvar;magnet=div;ope=mok:A]blah blah blah</div>
By: lauren
Date: 2014-03-06
Time: 00:25

Re: another conditional question...

sheesh! thanks :)