ho in un js esterno questa funzione di banner a rotazione
function choices()
{
this[0] = 3;
this[1] = "<a href=\"http://tod.altervista.org"><img src=\"images/todbann.gif\" width=450 height=73 border=1 alt=\"Tod Official Web Site - TOD Black Metal Band\"></a>";
this[2] = "<a href=\"http://cepi.altervista.org/todfc"><img src=\"images/todclub.gif\" width=377 height=46 border=1 alt=\"Tod Club - The Official TOD's Fan CLub\"></a>";
this[3] = "<a href=\"http://cepi.altervista.org"><img src=\"images/cepi.gif\" width=468 height=60 border=1 alt=\"Cepi - My WebRing\"></a>";
}
function popUpBanner(list)
{
var today = new Date();
var choiceInstance = new choices();
var Banner = choiceInstance[(today.getSeconds() % choiceInstance[0]) + 1];
}
function grabBanner()
{
var today = new Date();
var choiceInstance = new choices();
var Banner = choiceInstance[(today.getSeconds() % choiceInstance[0]) + 1];
return Banner;
}
document.writeln(grabBanner());
ma mi da errore ,che cose?



Rispondi quotando
... San Antonio Spurs~ 2003/5 NBA champions)

