This topic is locked

Replace child link with icon

1/25/2011 3:28:13 PM
PHPRunner General questions
C
cis2131 author

I would like to replace the link to child tables with an icon.. Preferrable recreate it with custom code in another field (to avoid messing up the html code, and loosing it on reset).
I have made a link to the table, like this:

$value.="<a href=\"http://domain.com/admin/traffic_graphs_list.php?mastertable=loactions&masterkey1=".$data["ID"]."\"; target=\"_blank\"><img src=\"icons/chart_curve.png\" hspace=5 alt=\"Trafik Grafer\" border=\"0\"></a>";
And that gives me the page, but i would like to preserve the Ajax popup, and the numbers of records in the table (i thought i could place the number in the alt= ).
Is that possible?..

C
cis2131 author 1/28/2011



I would like to replace the link to child tables with an icon.. Preferrable recreate it with custom code in another field (to avoid messing up the html code, and loosing it on reset).
I have made a link to the table, like this:

$value.="<a href=\"http://domain.com/admin/traffic_graphs_list.php?mastertable=loactions&masterkey1=".$data["ID"]."\"; target=\"_blank\"><img src=\"icons/chart_curve.png\" hspace=5 alt=\"Trafik Grafer\" border=\"0\"></a>";
And that gives me the page, but i would like to preserve the Ajax popup, and the numbers of records in the table (i thought i could place the number in the alt= ).
Is that possible?..


Bump...
Annyone???