Forum Moderators: phranque
The final solution for us was to embed a server on the CD. So many problems just go away with that approach, and you can have not only javascript, but Perl, PHP and MySQL as needed. It's really easy once the server is configured -- just make sure the config is exactly what you need (done once) and then copy the website files into htdocs folder, or replace them whenever an update us done.
As you've noted, any absolute links that point to an online domain will need to be changed for the CD to function in a self-contained manner -- a relatively easy job for any application that does extended search and replace over multiple folders, as long as you are embedding a server on the CD.
Without the embedded server, the url conversion would require more detailed attention, because you can't just begin a URL with a forward slash and have it work. So you need to change over to relative urls by changing the absolute urls in one subdirectory at a time.