ertz
|
Posted: 12/02/2004, 10:43 AM |
|
Is there a way to dynamically change the style class? For example:
<td class="ThemeAltDataTD">{Alt_some_data}</td>
In some circumstances, we need to be able to change the class of certain elements. To, for example:
<td class="ThemeMarkAltDataTD">{Alt_somedata}</td>
We would do this in "Custom Code".
We are using CCS and perl.
Thanks!
--paul
|
|
 |
crake
|
Posted: 12/22/2004, 1:58 PM |
|
>Is there a way to dynamically change the style class?
Can you refresh page?
I mean it is easy to do if you reload perl script and change varibale value.
For example:
# use if to determine which one you want to use
$specialClass = "ThemeAltDataTD";
$specialClass = "ThemeMarkAltDataTD";
Print "<td class=\"$specialClass\">{Alt_some_data}</td>";
|
|
 |
Last Hero
|
Posted: 12/23/2004, 7:20 AM |
|
Add label ClassLabel:
<td class="{ClassLabel}">{Alt_some_data}</td>
and in before show link or before show row call $Form->ClassLabel->SetValue("ClassName")
|
|
 |
test
|
Posted: 05/12/2005, 11:03 PM |
|
 
|
|
 |