DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2003

    Unhappy A real brain twister

    ok, tighten your shorts, pilgrim and sing like the Duke.

    I'm creating a Christmas CD that runs from the user's web browser without having to connect to the net. So all the html's, images, music, etc. are all contained on the CD, 'k?

    SOOO, I want to use the Icalendar (an advent calendar located on this web site) as the front end to access all the goodies.

    Now, the target link in the code is defined as a URL "http://what.ever.com" and so forth. I can use the code "file:///c:/files/stuff.zip", which is fine, but the trick is that you never know what the user's CD-ROM drive letter will be.

    The problem is that I can't just reference the file based on the directory pointer defined within the browser, based on the last file accessed. That is, I can't just say "file:///stuff.zip", which theoretically would eliminate the problem. (I CAN use it if the CD is run within Netscape, but not IE, but I don't know what browser the user has as the default).

    Any ideas how I can get around this? I've contacted Mr. Gustavsson (the author of Icalendar) about this, but he doesn't have any ideas, and hasn't upgraded his applet.


  2. #2
    Join Date
    Mar 2003
    Why not just use relative links?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.