Buona sera,
sto andando al manicomio,![]()
ho inserito la classe 'sortable' all'interno di una tabella html,
ma non riesco poi ad ottenere il risultato voluto.
In altre occasioni sono riuscito ad utilizzare 'sorttable.js' con PHP, ma adesso, a distanza di tempo mi sfugge qualcosa che non resco ad individuare.
Vi posto il codice sorgente del risultato che non mi consente di ordinare la tabella.
Se qualcuno verifica dove sbaglio gliene sarò molto grato.
Grazie in anticipo!!Codice PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Ranking Coppie</title>
<style type="text/css">
<link href="simple_new.css" rel="stylesheet" type="text/css" />
</style>
<script type="text/javascript" src="sorttable.js"></script>
<!--
<table align='center'>
<td align='center' bgcolor='red'><p><b>Gare per Danze e Classe</b></p></td>
</table>
-->
</head>
<body>
<!--
<link href="simplecustomer.css" rel="stylesheet" type="text/css" />
-->
<link href="simple_new.css" rel="stylesheet" type="text/css" />
<div class="headercontainer">
<div class="header">
<h1>Statistiche Danze Standard e Latine</h1>
<div align='center'><img src='logo.jpg'></div>
<hr>
<div align='center'>
<a href="index.php" class="menubuttons ">Eventi</a>
<a href="a_ranking.php" class="menubuttons ">Ranking</a>
<!--
<a href="tipo_gara.php" class="menubuttons ">Tipo gare</a>
<a href="elenco_gare.php" class="menubuttons ">Elenco gare</a>
<a href="elenco_danze.php" class="menubuttons ">Elenco danze</a>
<a href="p_ranking.php" class="menubuttons ">Ranking società</a>
-->
<a href="c_ranking.php" class="menubuttons menubuttonsactive">Ranking coppie</a>
<a href="t_ranking.php" class="menubuttons ">Ranking totale</a>
<a href="eventi_dg.php" class="menubuttons ">Direttore gare</a>
</div>
</div>
</div>
<br>
<div class="container">
<div class="leftcolumn">
<hr>
<p>
<table class='nuova' border='1' align="center">
<thead>
<h2 align='center'>RANKING COPPIE ANNO 2012 - Danze Latine - 08/11 anni Classe D </>
<h3 align='center'>(I punti sono calcolati:numero coppie in gara per turni passati per 10)</>
</thead>
</table>
<table class='sortable' id='t1' border='1' align='center'><tr></tr><thead><th align='center'><b>POS.</b></th><th align='center'><b>COPPIA</b></th><th align='center'><b>GARE</b></th><th align='center'><b>MEDIA</b></th><th align='center'><b>PUNTI</b></th></tr></thead><td align='center'><strong>1</strong></td><td><a href="d_ranking.php?id=FEDERICO SEBASTIANELLI / GIORGIA RUSSO.2012">FEDERICO SEBASTIANELLI & GIORGIA RUSSO</a></td><td align='center'>1</td><td align='center'>44</td><td align='center'>44</td><tr></tr><td align='center'><strong>2</strong></td><td><a href="d_ranking.php?id=NICHOLAS BANGRAZI / GIORGIA RENZI.2012">NICHOLAS BANGRAZI & GIORGIA RENZI</a></td><td align='center'>1</td><td align='center'>33</td><td align='center'>33</td><tr></tr><td align='center'><strong>3</strong></td><td><a href="d_ranking.php?id=EMANUELE D'INTINO / JESSICA PROIETTI.2012">EMANUELE D'INTINO & JESSICA PROIETTI</a></td><td align='center'>1</td><td align='center'>22</td><td align='center'>22</td><tr></tr><td align='center'><strong>4</strong></td><td><a href="d_ranking.php?id=NICOLO' VITI / REBECCA VITI.2012">NICOLO' VITI & REBECCA VITI</a></td><td align='center'>1</td><td align='center'>11</td><td align='center'>11</td><tr></tr></table>
</div>
</div>
</boby>
</html>