Bonjour à tous,

j'ai un script de tableau avec tri de colonne qui fonctionne bien
mais je voudrais à la place de mes colonnes contenant des formes comme
<-- Nom --> pour faire le tri ASC ou DESC en cliquant sur la flèche,
mettre une image fleche_haut.png et fleche_Bas.png
je ne trouve pas comment faire pour incorporer les irones de tri

Merci de votre aide
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
<tr>
<h5>
<th><a href="?tri=id_adh ASC">&lt;</a>--ID--<a href="?tri=id_adh DESC">&gt;</a></th>
<th><a href="?tri=numero_adh ASC">&lt;</a>--Adh--<a href="?tri=numero_adh DESC">&gt;</a></th>
<th><a href="?tri=nom_adh ASC"></a>&lt;</a>-- NOM-- <a href="?tri=nom_adh DESC">&gt;</a></th>
<th><a href="?tri=prenom_adh ASC">&lt;</a>--Prénom--<a href="?tri=prenom_adh DESC">&gt;</a></th>