no more need for an add rotator, the new ads will now do that automatically. so this simplifies the setup considerably
Now PHP included files can be smaller than every, which means better overall page load time improvements too
This JavaScript is what I was using to generate randomized ads so that I can tempt visitors
Code: Select all
// Fisher-Yates shuffle model
function shuffle(array) {
var m = array.length, t, i;
while (m) { // While there remain elements to shuffle ...
i = Math.floor(Math.random() * m--); // Pick a remaining element ...
t = array[m]; // And swap it with the current element...
array[m] = array[i];
array[i] = t;
}
return array;
}