This topic is locked

Color of the link font

10/25/2008 11:38:00 AM
PHPRunner General questions
V
vytb author

We had an unfinished exchange about changing link font color depending on the value in a field:
http://www.asprunner.com/forums/index.php?...p;hl=link+color
I hope, my question is easier... How to make link change color if there is no child?

J
Jane 10/28/2008

Hi,
use List page: After record processed event on the Events tab to assign required style.

Here is a sample:

$row["customstyle"] = "class=customlink";



Also you should edit detail link in HTML mode on the Visual Editor tab

{BEGIN TableName_dtable_link}

<A {$TableName_dtablelink_attrs} {$customstyle}>TableName{BEGIN TableName_childcount}({$TableName_childnumber}) {END TableName_childcount}</A>

{END TableName_dtable_link}