Ciao a tutti.
Ho un problema con una pagina asp.
Lo so, lo so che non è il forum giusto, ma chredo che il problema dipenda da un'impostazione html.
vorrei rendere l'intestazione della tabella fissa ed il resto scrollabile.
Grazie in anticipo.
![]()
![]()
![]()
Vi posto il codice:
<%@LANGUAGE="VBSCRIPT"%>
<%
Dim dbConn
set DbConn=Server.CreateObject("AdoDb.Connection")
set Rs=Server.CreateObject("AdoDb.Recordset")
set RsMacroFamiglie=Server.CreateObject("AdoDb.Records et")
DbConn.Open MM_Materiali_STRING
StrConn="SELECT * FROM dbo.MacroFamiglie WHERE Codice <> '00000' ORDER BY Descrizione ASC"
RsMacroFamiglie.open StrConn, DbConn
%>
<head>
<title>Tabifier - Step 3</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="tabber.js"></script>
<link rel="stylesheet" href="example.css" type="text/css" media="screen"></link>
<link href="../Stili/Elenco.css" rel="stylesheet" type="text/css" />
<script type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='esempio_step3.asp?xParametro ="+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
//-->
</script>
<link href="../Stili/Testo.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Stile1 {
color: #FF0000;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: x-small;
}
-->
</style>
<link href="../Stili/Titolo.css" rel="stylesheet" type="text/css">
<link href="../Stili/TitoloElenco.css" rel="stylesheet" type="text/css">
<link href="../Stili/Contenitore.css" rel="stylesheet" type="text/css">
</head>
<body>
<h1 class="TItolo">Analisi della dotazione per Categorie </h1>
<form name="form1">
<select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
<option selected="selected" value="">Selezionare un anno</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
</select>
</form>
<p class="Stile1">Selezione attiva anno: <%= Request.QueryString("xParametro") %></p>
<div class="tabber">
<%do until RsMacroFamiglie.eof%>
<div class="tabbertab">
<h2><%=(RsMacroFamiglie.Fields.Item("Descrizione") .Value)%></h2>
<%
if Trim(Request.QueryString("xParametro"))<>"" then
StrConn="Select * From dbo.QryDotazionePerMateriale Where IDCat='" & RsMacroFamiglie("Codice") _
& "' and Annofornitura='" & Request.QueryString("xParametro") & "'"
Rs.open StrConn, DbConn%>
<table border="0" cellspacing="0">
<tr class="TitoloElenco">
<td width="5%" align="center">
Seriale</p></td>
<td width="5%" align="center">
Anno</p></td>
<td width="5%" align="center">
ODA</p></td>
<td width="65%">
Materiale</p></td>
<td width="20%">
Stato</p></td>
</tr><%
Do until Rs.Eof%>
<tr class="Elenco">
<td width="5%" align="center">
<%=Rs("IDDot")%></p></td>
<td width="5%" align="center">
<%=Rs("Annofornitura")%></p></td>
<td width="5%" align="center">
<%=Rs("Oda")%></p></td>
<td width="65%">
<%=Rs("DesMat")%></p></td>
<td width="20%">
<%=Rs("Stato")%></p></td>
</tr>
<%Rs.MoveNext
Loop
%></table><%
Rs.Close
end if
RsMacroFamiglie.MoveNext%>
</div>
<%Loop%>
</div>
</body>
</html>
<%
RsMacroFamiglie.Close()
Set RsMacroFamiglie = Nothing
%>