so before this piece of crap gets finalized as boy scout troop 360's official web page I need to do something. It was origionaly written with a WYSIWYG... all internal CSS... cream/puke colored background. No background image transparencies, and no layout whatsoever.... so after witnessing this fiasco I want to throw something together. My problem is that frames suck. But I want the functionality. Hence PHP include/require something. However I would realy like it to be JS or something along those lines because of server-side support/lack-thereof and because I can demo it offline. Is there a JS method that would acomplish what I need? looking for a quick response. im almost done with the sketchup before I start working. thanks
Have a look at server side includes if you dont want to use php. JS is a bit of a clumsy way of doing it. http://httpd.apache.org/docs/1.3/howto/ssi.html
I suppose you could use <script src="anotherfile.js" type="text/javascript"></script> and use document.write() in anotherfile.js to output the content, but that's a nightmare for accessibility and search engine visibility, so please do not do it
Well you've rejected everything so far apart from use of JS to document.write out <script> tags, so looks like that is your only bet
We'll I'll warn you now. What you want to do with JS is awful webpractice and will prob cause you more problems in the long run.