SnoringFrog
05-05-2008, 08:35 PM
I currently am using Javascript to load different CSS files to apply to a page depending on whether or not someone is using Firefox. But what I would like to do is have the script instead load entirely different html onto the page based on this same condition without having to make a document.write for every line of code. Is that possible?
I've played with it a tad, but I'm still not too well versed in JS, and so I haven't found anything that seems to me like it'd work aside from having a crapload of document.write 's.
I've played with it a tad, but I'm still not too well versed in JS, and so I haven't found anything that seems to me like it'd work aside from having a crapload of document.write 's.