css question
css question
Out of context: Reply #2
- Started
- Last post
- 4 Responses
- sklassen0
got some code from a coworker if anyone is interested:
var cssUrlArray = [];
cssUrlArray[cssUrlArray.length] = '1.css';
cssUrlArray[cssUrlArray.length] = '2.css';
cssUrlArray[cssUrlArray.length] = 'dontmatter.css';function writeRandomCSS() {
var rnd = Math.round(Math.random() * cssUrlArray.length);
document.writeln('');
}writeRandomCSS();