Forum Moderators: mack
<div id=cat1>[content 1 goes here]</div>
<div id=cat2>[content 2 goes here]</div>
<div id=cat3>[content 3 goes here]</div>
<div id=cat4>[content 4 goes here]</div>
<div id=cat5>[content 5 goes here]</div>
<div id=cat6>[content 6 goes here]</div>
<script type=text/javascript>
for (counter=1; counter<=6; counter++) {
content[counter] = document.getElementById('cat'+counter).innerHTML;
}
catsToPickFrom = [0,1,2,3,4,5,6];
for (counter =1; counter<=6; counter++) {
pickedCat = Math.floor(Math.random()*(catsToPickFrom.length-1))+1;
document.getElementById('cat'+counter).innerHTML = content[catsToPickFrom[pickedCat]];
catsToPickFrom.splice(pickedCat,1);
}
</script>
JS shouldn't be used because not everyone has it,
feed the the search engine with content it different order each time