Website to CD/DVD

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AndesHelp
    New Member
    • Jan 2008
    • 9

    Website to CD/DVD

    I apologize if the answer is already posted. I did do a search but did not see it.

    I have developed a website for publications using CSS and HTML. I now need to be able to publish this website to either a CD or DVD for distribution. However, I am unable to remember how to make the CD/DVD able to find the webpages through the hyper-links on the CD/DVD. IE and Firefox keep looking for the specific drive letter of the CD/DVD drive as part of the path for the web page.

    I have the web page hot link specified as <a href= "../1123.htm">Bookl ets</a>
    and the browser keeps looking for the specific address: file:///G:/1123.htm, which does not exist.

    What have I forgotten?
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    Try <a href="file://c:\rest\of\path .html">

    I don't use Windows but I think that's the way it works. You need to give the full pathname. If not, add another forward slash in file:///. It's possible, but not likely, the slashes are to go the other way, file:\\\ for Win.

    Comment

    • AndesHelp
      New Member
      • Jan 2008
      • 9

      #3
      Originally posted by drhowarddrfine
      Try <a href="file://c:\rest\of\path .html">

      I don't use Windows but I think that's the way it works. You need to give the full pathname. If not, add another forward slash in file:///. It's possible, but not likely, the slashes are to go the other way, file:\\\ for Win.
      Thanks for the response.

      Since I will not know what the actual drive letter, or even what browser will be used, for the CD/DVD drive the user will have I can not put a specific drive letter into the "href" script. I know there is a generic entry for the root, no matter what the actual drive letter is. Guess I'll have to dig out some of my old Windows "How Tos" and look there.

      Comment

      • AndesHelp
        New Member
        • Jan 2008
        • 9

        #4
        I found my answer. I just needed to fine tune the file paths to "absolute" paths. Usind a "../" for a lower folder/directory and just "/" for file in the root folder/directory.

        Then just copy the website to be burned onto a CD. Now all I have to do is set it up to "auto start" when inserted.

        Comment

        Working...