Wondering if any javascript experts are out there and might have seen something that I'm looking for... Unfortunately I've never really used it. But what I want to do is have some javascript code generate a random number from 1 to 4 that I can use anywhere in a web page. What I want to accomplish, and I'd rather not use perl, is to have four web page templates, with logos and style sheets and I'll name all the related files 1.css, 1logo.gif, etc... Then whenever someone comes to the page, it randomly picks a template to use. I don't want to use any external files (except of course for my templates) and I'd like to keep the size small, have it be as cross-browser compatible as possible and ideally be able to hide it when viewing source. Anyone seen anything like that.
I'm looking at some banner rotators now, but guess I'm concerned about having to put my whole page into the document write stuff . I've looked around a bit at javascript.internet.com and haven't really seen anything like what I want.
I'm looking at some banner rotators now, but guess I'm concerned about having to put my whole page into the document write stuff . I've looked around a bit at javascript.internet.com and haven't really seen anything like what I want.