Quote:
|
Originally Posted by Culland
As for reading in the files, how big are they? Could you instead just put the code at the top of the page in a javascript variable and write each one as you need it?
|
Been there, done that, didn't like the T-Shirt!!
The reson I'm not doing it again is so I can easily update the individual files, and so that you don't have a great big load of data to load when you arrive at the site - that's just silly!
Using PHP would not help in the slightest:
a) PHP code doesn't get to the browser.
b) PHP code can only be executed on the server.
Think of it like an IFRAME it should look and feel the same when browsing the site. But will be different behind the scenes.