Codice HTML:
<html>
<head>
<!-- js -->
<script type="text/javascript" src="jquery.js></script>
<script type="text/javascript" src="supersized.js"></script>
<script type="text/javascript">
$(function(){
$.fn.supersized.options = {
startwidth: 1024,
startheight: 768,
minsize: .5,
slideshow: 1,
slideinterval: 5000,
transition: 1
};
$('#supersize').supersized();
});
</script>
<!-- css -->
<style type="text/css">
body { overflow:hidden }
#supersize img, #supersize a{
height:100%;
width:100%;
display:none;
}
#supersize .activeslide, #supersize .activeslide img{
display:inline;
}
</style>
</head>
<body>
<div id="supersize">
<img src="http://amoreconcetta.altervista.org/1.jpg"/>
<a href="#"><img src="http://amoreconcetta.altervista.org/2.jpg" alt="" /></a>
</div>
</body>
</html>
Perchč questo codice Javascript per creare la pagina principale di un sito non vā???
L'ho preso da questa guida: http://blog.simonedamico.com/2009/10...ith-slideshow/
Grazie del supporto :)