Du tilføjer blot en onclick-procedure, således: -------------------------------------------------- onclick="window.location='index.php'" -------------------------------------------------- Og i din kode: -------------------------------------------------- <tr> <td height="20" bgcolor=#E0E0F5 colspan="2" onmouseover="this.style.background='#CCCCFF'" onmouseout="this.style.background='#E0E0F5'" style="border-bottom : 1pt solid Silver;" onclick="window.location='index.php'"><div align="left">Chokolade</td> </tr> -------------------------------------------------- I ovenstående kode bliver cursoren dog ikke ændret, når den føres over cellen. Det gøres sådan her: -------------------------------------------------- <tr> <td height="20" bgcolor=#E0E0F5 colspan="2" style="cursor:pointer" onmouseover="this.style.background='#CCCCFF';" onmouseout="this.style.background='#E0E0F5'" style="border-bottom : 1pt solid Silver;" onclick="window.location='index.php'"><div align="left">Chokolade</td> </tr> -------------------------------------------------- Så vidt jeg ved, er dette the only way to do it.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.