Держи
CODE
<style type="text/css">
<!--
a:link {
font-family: Tahoma;
FONT-WEIGHT: bold;
font-size: 11px;
COLOR: #00557D; TEXT-DECORATION: none
}
a:visited {
font-family: Tahoma;
FONT-WEIGHT: bold;
font-size: 11px;
COLOR: #00557D; TEXT-DECORATION: none
}
a:hover {
font-family: Tahoma;
FONT-WEIGHT: bold;
font-size: 11px;
COLOR: #00557D; TEXT-DECORATION: underline
}
td { border: 1px solid #2c2c2c;
margin: 5px;
padding-left: 5px;
padding-right: 5px;
padding-top: 0;
padding-bottom: 0;
font-family:tahoma;
font-size:11px;
color:#6E6E6E;
line-height:12px;
}
-->
</style>
<script type="text/javascript">
function SIR() { //v3.0
var i,x,a=document.SIR_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function PI() { //v3.0
var d=document; if(d.images){ if(!d.PI_p) d.PI_p=new Array();
var i,j=d.PI_p.length,a=PI.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.PI_p[j]=new Image; d.PI_p[j++].src=a[i];}}
}
function FO(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=FO(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function SI() { //v3.0
var i,j=0,x,a=SI.arguments; document.SIR_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=FO(a[i]))!=null){document.SIR_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
var OldColors = new Array(15);
var OldColor;
function lightRow(cell)
{
for(i=0;i<cell.parentNode.cells.length;i++)
{
OldColors[i] = cell.parentNode.cells[i].style.backgroundColor;
cell.parentNode.cells[i].style.backgroundColor = '#CCC';
}
}
function darkRow(cell)
{
for(i=0;i<cell.parentNode.cells.length;i++)
{
cell.parentNode.cells[i].style.backgroundColor = OldColors[i];
}
}
function lightCell(cell)
{
OldColor = cell.style.backgroundColor;
cell.style.backgroundColor = '#ff9900';
// cell.parentNode.cells[0].style.backgroundColor = '#ff9900';
}
function darkCell(cell)
{
cell.style.backgroundColor = OldColor;
// cell.parentNode.cells[0].style.backgroundColor = OldColor;
}
function InvertDisplay(elem)
{
if (document.getElementById(elem.id + 'a').style.display == 'none' || document.getElementById(elem.id + 'a').style.display == '')
{
elem.style.backgroundImage = "url(u/bg_title_active.gif)";
document.getElementById(elem.id + 'a').style.display = 'block';
}
else
{
elem.style.backgroundImage = "url(u/bg_title_on.gif)";
document.getElementById(elem.id + 'a').style.display = 'none';
}
}
function QueryMouaseOver(elem)
{
if (elem.style.backgroundImage == '' || elem.style.backgroundImage == 'url(u/bg_title_off.gif)')
{
elem.style.backgroundImage = 'url(u/bg_title_on.gif)';
elem.style.color="#ff9900";
}
}
function QueryMouaseOut(elem)
{
if (elem.style.backgroundImage == '' || elem.style.backgroundImage == 'url(u/bg_title_on.gif)')
{
elem.style.backgroundImage = 'url(u/bg_title_off.gif)';
elem.style.color="#000000";
}
}
function CloseAll()
{
for (i = 1;i <= 40;i++)
{
document.getElementById('title_' + i + 'a').style.display = 'none';
document.getElementById('title_' + i).style.backgroundImage = 'url(u/bg_title_off.gif)';
}
}
function OpenAll()
{
for (i = 1;i <= 40;i++)
{
document.getElementById('title_' + i + 'a').style.display = 'block';
document.getElementById('title_' + i).style.backgroundImage = 'url(u/bg_title_active.gif)';
}
}
</script>
<table>
<tr>
<td width="200">Name</td>
<td width="100" align="center">#</td>
</tr>
<tr>
<!-- В <a href=".."> Вставить ссылку на мыло или профиль игрока ;)-->
<td width="200" onmouseover="lightRow(this);" onmouseout="darkRow(this);"><a>Noname</a></td>
<td width="100" align="center">1</td>
</tr>
<tr>
<td width="200" onmouseover="lightRow(this);" onmouseout="darkRow(this);"><a>Noname</a></td>
<td width="100" align="center">2</td>
</tr>
<tr>
<td width="200" onmouseover="lightRow(this);" onmouseout="darkRow(this);"><a>Noname</a></td>
<td width="100" align="center">3</td>
</tr>
<tr>
<td width="200" onmouseover="lightRow(this);" onmouseout="darkRow(this);"><a>Noname</a></td>
<td width="100" align="center">4</td>
</tr>
<tr>
<td width="200" onmouseover="lightRow(this);" onmouseout="darkRow(this);"><a>Noname</a></td>
<td width="100" align="center">5</td>
</tr>
</table>