Random Content Order script issue on IE
1) Script Title:
Random Content Order script
2) Script URL (on DD):
3) Describe problem:
I would like to randomly change the order in which two table rows in my home page are displayed each time the page loads. The thing is that, between these two rows I have another row which I would like to remain unchanged. The same for a fourth row at the bottom of the table.
The script works fine in Firefox, but in IE all rows get scrambled, even those without the shared CSS class attribute.
Can anybody help me please?
This script should only be used to randomize fully self encapsulating DIV elements. If you're wrapping table cells (ie: TR tags) with DIV tags, that will naturally break things in some browsers, as you're shifting around HTML that are part of something bigger.
To randomize the display of table cells, I recommend trying to find another script on the web that does this, one that physically alters the position of the table rows/cells via the DOM.