alfonso
Posts: 121
|
| Posted: 03/10/2011, 11:29 PM |
|
I need to put data into:
<style>
#style1 {width:30px;height:20px;}
</style>
change to:
<style>
#{valueofstyle} {width:30px;height:20px;}
</style>
but this in in the head section so I don't know if it is possible
|
 |
 |
datadoit
|
| Posted: 03/11/2011, 5:55 AM |
|
Set a template variable (or tag) in the Page's BeforeShow. There is an
action called Set Tag, so you'll set:
Tag Name: valueofstyle
Expression: "style1"
If you need to dynamically set the tag value based on a condition, you
could:
Tag Name: valueofstyle
Expression: CCGetGroupID() > 1 ? "style1" : "style2"
|
|
|
 |
alfonso
Posts: 121
|
| Posted: 03/12/2011, 2:10 AM |
|
Thanks. I'll try
|
 |
 |
|