codice:
<%
function disegna_grafico(descrizione,valore)
response.write("<tr>")
response.write("<td width=50>")
response.write("<center>"&descrizione&"</center>")
response.write("</td>")
response.write("<td width=""500"">")
response.write("<table width='"&valore&"%'><tr><td bgcolor='#red'></td></tr></table>")
response.write("</td>")
response.write("<td width=150>")
response.write("<center>"&valore&"%</center>")
response.write("</td>")
response.write("</tr>")
end function
%>
<html>
<head>
<title>Generazione Dinamica Grafici</title>
</head>
<body>
<table width="100%" height="100%">
<tr>
<td valign="middle">
<center>
<table border=1 bordercolor='black'>
<%
call disegna_grafico("riga1","20")
call disegna_grafico("riga2","40")
call disegna_grafico("riga3","60")
call disegna_grafico("riga4","80")
call disegna_grafico("riga5","100")
%>
</table>
Script offerto da : <font size="2">Tele-Com Service S.n.c.</fotn>
</center>
</td>
</tr>
</table>
</body>
</html>