This topic is locked

Changing Titles to gifs

5/22/2008 4:22:51 AM
PHPRunner General questions
S
swanside author

Hello all,
On my project I have a job list which is linked to a material table and a labour table.
On the list page it displays the words Material as a hyperlink to the material table and Labour as a hyperlink to the labour table.
What I want to do is change the words materials and Labour to show a gif picture, so Material would show a spanner and labour would show a person,.
Any help on how to tell the links to show pics please?
Cheers

Paul.

J
Jane 5/22/2008

Paul,
edit your details links on the Visual Editor tab in HTML mode.

Here is a sample:

<A id=master_material{$row.1recno} href="material_list.php?{$row.1material_masterkeys}" {if $useAJAX} onmouseover="RollDetailsLink.showPopup(this,'material_detailspreview.php'+this.href.substr(this.href.indexOf('?')));" onmouseout="RollDetailsLink.hidePopup();" {/if}><img src="images/your_image.gif" border=0></A>