Ciao a tutti, sto cercando uno script che mi permetta di far ruorare nella mia homepage una serie di banner!
Ne ho trovati una miriade in rete... ma nessuno che faccia al caso mio.

La mia necessita infatti è di ruotare 10 banner 100x200px in altro a destra e un altra serie i formato diverso(300x90) in basso!

Su questo sito ho trovato uno script che sembrava buono, ma non so adattarlo alle mie esigenze, il codice del js è questo:
Codice PHP:
<script type="text/javascript" language="JavaScript">
<!--
function 
loadpage() {
browverparseInt(navigator.appVersion);
browtype navigator.appName;
browsertype "old";
if (
browtype == "Netscape" && !(browver 3)) {
browsertype "new";
}
if (
browtype == "Microsoft Internet Explorer" && !(browver 4)) {
browsertype "new";
}
if (
browsertype == "new") {
thetimer setTimeout("changeimage()"3000);
banneradcode 0;
listofimages = new Array(3);
listofimages[0] = new Image(468,60)
listofimages[0].src "banner-0.gif"
listofimages[1] = new Image(468,60)
listofimages[1].src "banner-1.gif"
listofimages[2] = new Image(468,60)
listofimages[2].src "banner-2.gif"
}
}

function 
changeimage(){
if (
browsertype == "new") {
banneradcode banneradcode 1
if (banneradcode == "3") {
banneradcode 0
}
imagesource "banner-" banneradcode ".gif"
window.document.bannerad.src imagesource
thetimer 
setTimeout("changeimage()"5000);
}
else if (
browsertype == "old") {
}
}

function 
changepage() {
if (
browsertype == "new") {
if (
banneradcode == 0) {
newlocation "http://www.html.it"
}
else if (
banneradcode == 1) {
newlocation "http://www.html.it"
}
else if (
banneradcode == 2) {
newlocation "http://www.html.it"
}
location newlocation
}
else if (
browsertype == "old") {
location "http://www.html.it"
}
}

//-->
</script> 
e poi chiaramente...

<body onload="loadpage()">
<div align="center">
[img]banner-0.gif[/img]
</div>

Ragazzi mi date una mano, sono davvero a digiuno di javascript e non ho idea di come si modifichi questo script!