Ciao a tutti io ho una lista di categorie che riempio dinamicamente.
Ora ogni categoria ha la sua descrizione e vorrei farla comparire in un layer sull'OnmuoseOver della categoria.
Ecco cosa ho fatto ma non funziona.

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<%
set rs=server.CreateObject("adodb.recordset")
strsql="Select * From Categorie"
rs.open strsql, conn
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento senza titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript"><!--
function mostradiv(id, desc) {
document.getElementById(id, desc).stile.display="block";
}
//--></script>
</head>

<body>
<table width="664" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="664" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="432"></td>
<td width="232"></td>
</tr>
<tr>
<td valign="top" bgcolor="#E9E9E9" style="overflow: auto;">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="2">
<tr valign="top">
<td width="23%" class="testo02"><div align="left">Categorie</div></td>
</tr>
<%do until rs.eof%>
<tr onClick="location.href='dettaglio_categoria.asp?id _categoria=<%=rs("id_categoria")%>'" style="cursor:hand">
<td height="30" class="testo01"><div align="left">","<%=rs("descrizione")%>");"><%=rs("titolo")% > </div></td>
</tr>
<%
rs.movenext
loop
rs.close
%>
</table></td>
<td width="225" height="176" align="left" valign="top"><div id="<%=id%>" style="position:absolute; display:none width:230px; height:173px; z-index:1; left: 500px; top: 34px;"><%=desc%></div></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>

Mi potete aiutare, devo consegnare il lavoro per domani e non so come fare grazie a tutti ciaoo