codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>test</title>
<script src='prototype.js' type="text/javascript"></script>
<script src='effects.js' type="text/javascript"></script>
<script src='fader.js' type="text/javascript"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="menu_verticali.css" rel="stylesheet" type="text/css" />
<%
Dim sc1, cn1, rs3, contatore1
sc1 = ""
sc1 = sc1 & "driver={Microsoft Access Driver (*.mdb)};dbq="
sc1 = sc1 & Server.MapPath("/mdb/2006.mdb")
Set cn1 = Server.CreateObject("ADODB.Connection")
Set rs3 = Server.CreateObject("ADODB.Recordset")
cn1.Open sc1
%>
<script type="text/javascript">
var demoTabs;
Event.observe(window, "load", function() {
//Immagini
var images = [
<%
contatore1 = 1
rs3.Open "SELECT * FROM superiore ORDER BY Rnd((ID+Timer())*-1)", cn1, 1
While rs3.EOF = False
immagini=Rs3("nomefile")
If contatore = 1 Then
contatore = 0
Response.Write "(& = '&', < = '<', > = '>', " = quotation mark)"
End If
%>"<%=Rs3("nomefile")%>",
<%
rs3.MoveNext
contatore1 = contatore1 + 1
Wend
rs3.Close
%>
];
new Widget.Fader("defaultDemo", images);
});
</script>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
#MainMenu
{
height:36px;
background:#FFF;
border:0;
margin:0;
}
#tab
{
top:0;
height:0;
background:repeat-x top;
margin:0;
}
#tab ul
{
overflow:hidden;
height:36px;
list-style:none;
float:left;
margin:0;
padding:0;
}
#tab li
{
display:inline;
float:left;
margin:0;
padding:0;
}
#tab div span
{
background:url(images/bleft_082.gif) no-repeat left top;
font-family:Georgia, Times New Roman, Times, serif;
font-size:11px;
color:#060;
font-weight:700;
display:block;
line-height:36px;
padding:0 15px 0 13px;
}
#tab div
{
cursor:pointer;
border:0;
background:#000 url(images/bright_082.gif) no-repeat right top;
}
#tab a
{
background:#000 url(images/bright_082.gif) no-repeat right top;
text-decoration:none;
border:0;
display:block;
float:left;
margin:0;
padding:0;
}
#tab a span
{
display:block;
background:url(images/bleft_082.gif) no-repeat left top;
font-family:Georgia, Times New Roman, Times, serif;
font-size:11px;
color:#060;
font-weight:700;
line-height:36px;
padding:0 15px 0 13px;
}
#tab a:hover,#tab li.item_active a
{
background-position:right bottom;
}
#tab a:hover span,#tab li.item_active a span
{
background-position:left bottom;
color:#060;
font-weight:700;
font-style:normal;
text-decoration:none;
}
.dropmenudiv
{
position:absolute;
top:0;
float:left;
display:block;
visibility:hidden;
border:0;
background:#FFF;
color:#060;
z-index:100;
text-decoration:none;
padding:0;
}
.dropmenudiv ul
{
list-style:none;
margin:0;
padding:0;
}
.dropmenudiv li
{
display:inline;
margin:0;
padding:0;
}
.dropmenudiv a:link,.dropmenudiv a:visited
{
width:180px;
display:block;
border:0;
color:#060;
background:url(images/bleft_082.gif) no-repeat left top;
font-weight:700;
font-style:normal;
text-decoration:none;
margin:0;
padding:0;
}
.dropmenudiv a span
{
display:block;
line-height:36px;
background:url(images/bright_082.gif) no-repeat right top;
font-family:Georgia, Times New Roman, Times, serif;
font-size:11px;
color:#060;
float:none;
padding:0 15px 0 13px;
}
.dropmenudiv a:hover
{
border:0;
background-position:left bottom;
font-weight:700;
font-style:normal;
text-decoration:none;
color:#060;
}
.dropmenudiv a:hover span
{
background-position:right bottom;
color:#060;
font-weight:700;
}
body {
margin-left: 0px;
margin-top: 0px;
}
</style>
<link href="template/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.Stile1 {color: #FFFFFF}
tr {
text-align: center;
}
-->
</style>
</head>
<body bgcolor="#ffffff">
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="6">[img]images/index_r1_c1.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td>[img]images/index_r2_c1.jpg[/img]</td>
<td>[img]images/index_r2_c2.jpg[/img]</td>
<td>[img]images/index_r2_c3.jpg[/img]</td>
<td>[img]images/index_r2_c4.jpg[/img]</td>
<td>[img]images/index_r2_c5.jpg[/img]</td>
<td>[img]images/index_r2_c6.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="6">[img]images/index_r3_c1.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="6" valign="top"><table width="100%" border="0">
<tr>
<td width="100" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="3">[img]images/menu_r1_c1.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td>[img]images/menu_r2_c1.jpg[/img]</td>
<td valign="top">
<ul class="menu1">
[*]Home
[*]Chi siamo
[*]Eventi
[*]Legislazione
[*]LEADER 2007-2013[*]LEADER+ 2000-2006[*][*]Contatti[/list]
</td>
<td>[img]images/menu_r2_c3.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="3">[img]images/menu_r3_c1.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
</table></td>
<td width="600"><table border="0" cellpadding="0" cellspacing="0" width="465">
<tr>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="3">[img]images/Untitled-1_r1_c1.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td>[img]images/Untitled-1_r2_c1.jpg[/img]</td>
<td>[img]<%=immagini%>[/img]</td>
<td>[img]images/Untitled-1_r2_c3.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="3">[img]images/Untitled-1_r3_c1.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
</table>
<table width="100%" border="0">
<tr>
<td width="34%"></td>
<td width="29%"></td>
<td width="37%"></td>
</tr>
</table>
<script type="text/javascript">
var iframesrc="subnews.asp"
document.write('<iframe id="datamain" src="'+iframesrc+'" width="100%" height="150px" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe>')
</script>
</p></td>
<td width="100" valign="top"><table border="0" cellpadding="0" cellspacing="0" width="150">
<tr>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="3">[img]images/menu_r1_c1.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td>[img]images/menu_r2_c1.jpg[/img]</td>
<td valign="top"><ul class="menu1">[*]Bandi e Avvisi[*]Pubblicazioni[*]Newsletter[*]Link[*]Albi[*]Forum[*][/list]</td>
<td>[img]images/menu_r2_c3.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="3">[img]images/menu_r3_c1.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
</table></td>
</tr>
</table></td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="6">[img]images/index_r5_c1.jpg[/img]</td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
<tr>
<td colspan="6">
<span class="tellafriend"><span class="tuttenews"></p></td>
<td>[img]images/spacer.gif[/img]</td>
</tr>
</table>
</body>
</html>