<head>

<title>Effetto "tendina" su div - Esempio JavaScript scaricato da HTML.it</title>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Language" content="it" />
<meta name="Robots" content="All" />
<meta name="Description" content="HTML.it - il sito italiano sul Web publishing" />
<meta name="Keywords" content="Lo script, grazie ad Ajax, permette di aprire un DIV con effetto tendina." />
<meta name="Owner" content="HTML.it srl" />
<meta name="Author" content="HTML.it srl" />
<meta name="Copyright" content="HTML.it srl" />

<script type="text/javascript" src="prototype.lite.js"></script>
<script type="text/javascript" src="moo.fx.js"></script>
<script type="text/javascript" src="moo.fx.pack.js"></script>

<script type="text/javascript">
window.onload = function() {
myHeight = new fx.Height('container', {duration: 400});

}
</script>

<style>
#container{
margin: 10px;
background: #555;
color: #fff;
width: 400px;
height:0px;
font-size: 1.1em;
}
</style>

</head>
<body >



<div align="center">


Clicca


<DIV id="container">[img]C:\Programmi\EasyPHP 2.0b1\www\images\sanmarino\faronotte.jpg[/img]
</DIV>



</body>
</html>