Thursday, September 22, 2011

Run html inside a folder Burned into a CD?

I want to know how to run/launch my html inside multiple sub folders burned into a CD, because the file links for instance my hyperlinks will be invalid, because it will look into ';file:///C:/blah/blah///'; something like that and we know that it should change the file directory link..zzzRun html inside a folder Burned into a CD?
Wouldn't it be simpler to change the links first?



But are you meaning that you only want the first webpage to be launched or that you want them all to have links being launched correctly? If you want them all to launch correctly, the only option is to change the links.Run html inside a folder Burned into a CD?
Establish a base directory, change all links accordingly excluding all parent directories.



Say you have a website with two pages in C:\website\. Page one would be index.htm and page two would be contact.htm and you add a folder named downloads and a downloadable file.



In index.htm, you would create a link linking to contact.htm as just contact.htm. you could then make another link for the download as just downloads/file.ext. That should work on any medium you chose to use, even if you upload it to the internet.



Cheers.

No comments:

Post a Comment