Forums / Setup & design / How to changing the look of a link when we print his content ?

How to changing the look of a link when we print his content ?

Author Message

laurent le cadet

Tuesday 30 September 2003 5:17:19 am

Hi,

I have a list of links in a menu :

{let article_list=fetch( content, list, hash( parent_node_id, 224, limit, 2,sort_by, array( array( priority )) ) )}

<table class="leftmenu" width="100%" border="0" cellpadding="0" cellspacing="0"><br />
{section name=Article loop=$article_list}
<tr>
<td class="menuitem">
<a class="small" href={concat( "/content/view/full/", $Article:item.node_id,"/" )|ezurl}>
{$Article:item.name|wash}
<img src={"pixel.gif"|ezimage} height="14" width="6" border="0" /><img src={"indic.gif"|ezimage} height="7" width="6" border="0" /></a></td>
</tr>
{/section}
</table>

When I click on one of the links which are shown, it print the right object but I want this link to turn in a different colour (for exemple) when the page is print.

Any ideas ?

Laurent

James Packham

Tuesday 30 September 2003 5:23:33 am

I think this documentation page tells you how to do this and provides an example. That is if I understood you correctly...

http://www.ez.no/content/view/full/24384

laurent le cadet

Tuesday 30 September 2003 5:44:39 am

Sorry but maybe my explanation is a bit confused and my english approximative.

I want to show a list of links with the method above but with a different appearance (colour, font, etc...) for the link corresponding to the object currently print.

laurent.