I have a simple website which just basically produces boxes of different content repeatedly in the page.
Eg.
<span id="aBox">Some content 1</span>
<span id="aBox">Some content 2</span>
<span id="aBox">Some content 3</span>
At the moment the page is pure html. I was wondering if anyone could think of a way, perhaps using php, to randomise the layout each time the page is loaded. So one time it would be as above then you hit F5 and it would be...
<span id="aBox">Some content 1</span>
<span id="aBox">Some content 3</span>
<span id="aBox">Some content 2</span>
etc.
Any ideas?
Eg.
<span id="aBox">Some content 1</span>
<span id="aBox">Some content 2</span>
<span id="aBox">Some content 3</span>
At the moment the page is pure html. I was wondering if anyone could think of a way, perhaps using php, to randomise the layout each time the page is loaded. So one time it would be as above then you hit F5 and it would be...
<span id="aBox">Some content 1</span>
<span id="aBox">Some content 3</span>
<span id="aBox">Some content 2</span>
etc.
Any ideas?