By: okurietz
Date: 2004-06-02
Time: 08:32
|
Conditional and <div...>
Hi,
here is my problem. I want different divs in my html depending on variable. But it happens that TBS quotes that div! And resulting HTML have quoted div!
[var.test; if [val]=1;then '<div class="navbar">';else '<div class="navbar2">']
bla bla bla
</div>
|
By: Skrol29
Date: 2004-06-02
Time: 10:02
|
Re: Conditional and <div...>
Hi,
by default, values are converted into Html chars. Or you have to put htmlconv=no.
But the best is to put condition on the class attribute instead of the div tag.
Example:
<div class="[var.test; if [val]=1;then 'navbar';else 'navbar2']">bla bla bla</div>
|
By: okurietz
Date: 2004-06-02
Time: 10:27
|
Re: Conditional and <div...>
Thanks!
|
|
Posting in progress.
Please wait...
|